Skip to main content
Credits

Get credit balance

Read the credits available in the account connected to your Personal API Key or access token. You do not need an account, workspace, or collection ID. The token needs credits:read or account-wide admin scope.

remainingCredits combines your monthly credits and top-up credits. Monthly credits are used first. Amounts are decimal strings with up to nine decimal places.

The balance includes usage received so far; pending usage can reduce it later. Reading it does not reserve credits for another task. Completed top-ups appear after settlement; this endpoint does not make or settle a purchase.

Required permissions: credits:read

get/v1/credits/balance

Authorizations

X-API-Key or Authorizationstringheaderrequired

We recommend sending your Personal API Key in x-api-key. Datablist handles token renewal for you. Optionally, use an access token as Authorization: Bearer <token> if your application manages tokens itself. Send only one credential header.

Authentication options ↗

Response

Aggregate balance after reconciling received usage.

200 · application/json

Additional properties are not allowed.
remainingCreditsstringrequired

Monthly allocation plus top-up credits currently available.

pattern: "^[0-9]+(?:\\.[0-9]{1,9})?$"
monthlyBalanceRemainingCreditsstringrequired

Credits remaining in the active allocation, consumed first.

pattern: "^[0-9]+(?:\\.[0-9]{1,9})?$"
balanceRemainingCreditsstringrequired

Settled top-up credits remaining.

pattern: "^[0-9]+(?:\\.[0-9]{1,9})?$"