API Documentation

Introduction

  • All the API calls require a pair of API access & secret keys. Please fill out this form if you wish to get your API keys today. After your account is created, you can log in to the Partner Dashboard.

  • Currently, there is only one API endpoint which is [<https://api.reputex.io/v1>](<https://api.reputex.io/v1>) .

Making the API Calls

  • The API access keys and secret key must be included in all the requests, in the following manner:

{
    "X-API-Key": <Insert access key>,
    "X-API-Secret": <Insert secret key>
};
  • Sample CURL request

    curl -X 'GET'   '<https://api.reputex.io/v1/score/exists/0x6C2A780F93Ec560775133f3Ed2ae669744Fe0f49>' \\ 
    -H 'x-api-key: <insert access key>'
    -H 'x-api-secret : <insert secret key>'

Fetch the score for the address

This API endpoint returns the score for the address provided.

Request

GET /score/breakdown/:addressOrDomain

Query Parameters:

addressOrDomain: The address or the domain must be included as a route param.

Response

Create the score for the address

This API endpoint generates and stores the score for the address provided.

Request

POST /score/create/:addressOrDomain

Query Parameters:

addressOrDomain: The address or the domain must be included as a route param.

Response if the score doesn't exist

Response if the score exists

Update the score for the address

This API endpoint updates the score for the address provided.

Request

POST /score/update/:addressOrDomain

Parameters:

addressOrDomain: The address or the domain must be included as a route param.

Response

Response if the score does not exist

Fetch the HODL Score for the Address

This API endpoint fetches the HODL score for the address provided.

Request

GET /hodl/breakdown/:addressOrDomain

Parameters:

addressOrDomain: The address or the domain must be included as a route param.

Response if the score exists

Response if the score does not exist

Create or Update the HODL score for the address

This API endpoint creates or updates the HODL score for the address provided.

Request

POST /hodl/create/:addressOrDomain

Parameters:

addressOrDomain: The address or the domain must be included as a route param.

Response

Errors & Debugging

You are likely to receive the following error messages in case you haven’t set the API key or secret correctly in the header, please cross-check with the documentation provided.

Last updated