Skip to main content
GET
/
usage
/
credits
Get your current credit usage and remaining limit
curl --request GET \
  --url https://openapiv1.coinstats.app/usage/credits \
  --header 'X-API-KEY: <api-key>'
{
  "totalCredits": 100000,
  "usedCredits": 45000,
  "remainingCredits": 55000,
  "subscription": "PRO"
}
Check how many API credits you have remaining for the current billing period.
  • Total credits available for your subscription
  • Credits already used
  • Remaining credits
  • Your current subscription plan

Authorizations

X-API-KEY
string
header
required

API key needed to access the endpoints. Example: 'demo-api-key'

Response

Get current credit usage and remaining limit

totalCredits
number
required

Total credit limit for the current billing period

Example:

100000

usedCredits
number
required

Credits already used in the current billing period

Example:

45000

remainingCredits
number
required

Remaining credits available for the current billing period

Example:

55000

subscription
string
required

Current subscription plan name

Example:

"PRO"