Skip to main content
Use this endpoint to check your remaining API credit balance and your recurring credit grant: how many credits you receive each cycle, how often, and when the next refresh lands. Poll it to monitor usage and confirm you have enough credits before a large batch of requests. You can also view credits and usage in your dashboard.
This endpoint is free — checking your balance does not consume any credits. For how credits are charged per endpoint, see Pricing.

Endpoint

It takes no query parameters or request body. Authenticate with your API key in the Authorization header and send the required x-api-version: 2025-11-01 header — requests without it return 400. Rate limited to 300 requests per minute.

Example request

Response fields

Credit wallets

Accounts with credit wallets enabled hold their balance in two wallets, and the response includes a wallets list breaking the balance down:
  • recurring — your plan’s cycle grant. Refreshes on next_refresh_date and is spent first.
  • topup — credits you purchase. They roll over month to month and expire on expires_at; every new purchase extends the expiry.
Response (wallets enabled)
Gate spending decisions on account.credits — it is the balance that controls API access. wallets is informational: during brief settlement windows the wallet rows may not sum exactly to account.credits. If your account does not have credit wallets, the wallets key is absent and the response is unchanged.

Top-up breakdown

Accounts with live top-ups also receive a credit_topups list — one entry per top-up still holding credits, sorted soonest expiry first. Use it to see how much of each top-up remains and when it expires.
Response excerpt (live top-ups)
Credits expiring soonest are always spent first, so the first entry shrinks before the others. credit_topups is informational like wallets — the key is absent when your account has no live top-ups, and the rest of the response is unchanged.

Errors

Per-call usage: the X-Credits-Used header

Every response from the data API endpoints — search, enrich, identify, autocomplete, web, and batch — includes an X-Credits-Used header reporting the exact credits that request deducted:
Request
Response headers
The value is an exact decimal (for example 3, 0.09). Endpoints that don’t consume credits report 0, and the header also appears on error responses, so you can log it on every call. When reconciling header values against your balance:
  • Balance deduction rounds a fractional cost up to the next whole credit, so header values summed across requests can be slightly less than your balance change.
  • Asynchronous work is billed when the job runs, not at submission: batch job submissions and background-job searches report 0.
  • Responses generated before a request reaches the API — for example a 429 from rate limiting — do not carry the header.

Auto top-up

Auto top-up automatically buys more credits when your balance runs low, so your requests keep working instead of failing at zero. You set it up in your dashboard.
Auto top-up is configured in your dashboard

Turn it on

1

Open the Credits page

Go to the Credits page in your dashboard.
2

Turn on Auto top-up

Under Auto top-up, click Turn on.
3

Add a card

Add a card and authorize automatic charges.
4

Set your amounts

Choose the balance threshold that triggers a top-up and the reload amount to add each time, then click Save.

Settings

  • Threshold: when your balance falls below this number of credits, a top-up runs.
  • Reload amount: how many credits to add each time. Set this comfortably above your threshold so one top-up gives you real runway before the next one.
  • Monthly limit (optional): the most credits Auto top-up can add in a calendar month. Once you reach it, top-ups pause until the next month.
  • Notification emails: the addresses that receive the Auto top-up notices.
Each top-up is charged to your saved card at your standard credit rate, including any volume discount. See Pricing for rates. The exact charge is shown before you save.

How you’re charged

Each top-up charges your saved card automatically and adds the credits as soon as the payment succeeds. You get an email receipt, and the invoice appears in your Invoices tab.

If a payment fails

If a charge is declined, we retry it. If it keeps failing, we turn off Auto top-up and email you so you can update your card.

Turn it off or change your card

Turn off Auto top-up any time from the Credits page. Use Replace card to change the card. Removing your card also turns off Auto top-up.

Per-key monthly limit

Account credits are shared, but a workspace admin can cap how many of them an individual API key spends each month. Set the cap on the API Keys page in your dashboard. It applies to that one key and resets on the 1st of each month (UTC), and your other keys keep drawing on the account balance as usual. Use it for a key you hand to a teammate, a customer, or an unattended job, so one key cannot spend the whole balance. The cap covers the endpoints that consume credits.

When the cap is reached

Calls made with that key return 402 until the cap resets or an admin raises it:
The status and error.type are the same as an account-level out-of-credits response, so a client that already handles 402 needs no new code. Only the message differs, which is how you tell the two apart in a log. The reset sentence appears when a reset date is known. Raising or removing the cap takes effect on the next call.

Stopping a key

Set a key’s monthly limit to 0 to block it from the next call onward. It stays blocked until an admin raises the limit — it does not start working again on the 1st of the month.

What to do next

  • Understand charges — see Pricing for per-endpoint credit costs.
  • Avoid 429s — review Rate limits when polling at scale.
  • Check API access — see Permissions for which endpoints and fields your account can use.