Skip to content

Usage

Credits

The API is metered in credits against a daily budget shared by your whole account.

View as Markdown ↗

What a call costs

Call Credits Notes
Any successful request 1 A list page, one record, a lookup, the vocabularies: each is one credit.
A request that fails 0 A 400, 401, 404 or 429 is not charged.
GET /v1/usage 0 Reading your balance is free.
GET /v1/health 0 Open, and not metered.

A page of 200 versions costs the same credit as a page of one, so larger pages go further.

The daily budget

The budget is per account, not per key, and it resets at midnight UTC. A new account starts with 1,000 credits a day. GET /v1/usage reports the number that applies to yours.

Every key you hold draws on one pool. Creating more keys does not add credits.

The meter on every answer

X-Credits-Charged      what this request cost
X-Credits-Limit        the account's daily budget
X-Credits-Used         spent today, after this request
X-Credits-Remaining    what is left
X-Credits-Reset        when it resets, as an instant

When it runs out

Spend it all and requests are refused with 429 DAILY_BUDGET_EXHAUSTED until the reset:

429
{
  "error": "DAILY_BUDGET_EXHAUSTED",
  "detail": "Public site has spent its 1000 credits for 2026-10-02. The budget resets at 2026-10-03T00:00:00Z, in 44129s. It is shared by every key on the account.",
  "credits_used": 1000,
  "credits_per_day": 1000,
  "resets_at": "2026-10-03T00:00:00Z"
}

Retry-After gives the seconds until the reset, and resets_at gives the instant, so the next attempt can go in a schedule.

Reading your usage

GET/v1/usage

Free, and it answers while the budget is exhausted: a balance you had to pay to read would burn the thing it measures, and the one call that explains a refusal must not be hidden behind it.

Response
{
  "day": "2026-10-02",
  "credits_used": 8,
  "credits_remaining": 992,
  "credits_per_day": 1000,
  "requests": 9,
  "resets_at": "2026-10-03T00:00:00Z",
  "requests_per_minute": 100,
  "account": "Public site",
  "scope": "This budget is shared by every key on this account."
}
Field Type Description
day date The UTC day being counted.
credits_used integer Credits spent today.
credits_remaining integer What is left until the reset.
credits_per_day integer The account's daily budget.
requests integer Requests today, failed ones included. Beside the credits because the ratio is what shows a runaway job.
resets_at instant The next midnight UTC.
requests_per_minute integer The rate limit.
account string The account these figures belong to.

The same figures, with a 30 day history, are on the Usage page of the developer portal.