GET
/
v1
/
credits
curl --request GET \
  --url https://supertoneapi.com/v1/credits \
  --header 'x-sup-api-key: <x-sup-api-key>'
{
  "balance": 123
}

This API queries the available credit balance of the current account.
Since Supertone Play and API use the same credit system, credits charged in Play apply directly to the API as well.

Request Method

GET /v1/credits
x-sup-api-key: [YOUR_API_KEY]

Response Example

{
  "balance": 146
}

This means 146 credits are currently available.

Reference Information

  • Credits are charged on a per-second basis.
  • Credits are shared between Play and API.
  • Basic trial credits may be provided upon new registration.

Headers

x-sup-api-key
string
required

The API key to authenticate and authorize access to the service. This key is required for every request.

Response

200
application/json

Credit balance of the user.

The response is of type object.