latestOpenAPI 3.0.32026-08-23410223.0 KB

c93447ba6b9d

billing

Get credit balance and pricing

Fetches the authenticated account's remaining credits, the account email the credentials belong to, and current credit purchase pricing. Confirm the account email before purchasing credits, since credits are non-transferable between accounts.

get/v2/credits

Response

Credit balance, the account email, and credit purchase pricing

creditsRemaininginteger required
accountEmailstring required
pricePer1000CreditsUsdnumber required

Example response

{
  "creditsRemaining": 54688,
  "accountEmail": "user@example.com",
  "purchaseQuantityRange": {
    "min": 1000,
    "max": 10000
  },
  "pricePer1000CreditsUsd": 6
}