GET https://api.cryptohopper.com/v1/user/credits

Returns the user's credit balance as a decimal string.

OAuth scope: read user About scopes

Example request

curl "https://api.cryptohopper.com/v1/user/credits" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Response

Example response (illustrative values)

{
    "data": "125.50"
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.