Response envelope
All endpoints return the same envelope:metadata.credit
Treat
credit as optional. It is omitted for unauthenticated requests,
demo/playground responses, and briefly right after a monthly reset (a stale
snapshot is dropped rather than shown wrong — it returns on the next request).Two kinds of limit
Exceeding either limit returns429 Too Many Requests.
- Rate limit — a short-term cap on how fast you can call the API: 2 requests per second per API key, with short bursts of up to 4.
- Credit quota — the number of requests your plan includes per window.
- Every plan’s quota resets on the 1st of each month at
00:00:00UTC.credit.resetAtalways tells you the exact next reset time. - Only successful requests count. Requests that return an error —
4xx(including auth, validation, and rate-limit errors) and5xx— do not consume credit. - The quota is per account, shared across all API keys on that account.
Monthly credit allowances depend on your plan. See the
pricing page for the figures that apply to you.
429 Too Many Requests
When the monthly quota is exhausted the API returns 429 with a descriptive
errorMessage that reports how much of the quota was used and when it resets:
429 also carries the metadata.credit block described above.
When you exceed the rate limit, the 429 body has no credit block:
Error responses
Every error uses the same envelope, withstatus: false, and an errorMessage that says what went wrong. Errors never use credit.
Most point-in-time errors add an
errorCode to these bodies (not a 401, a key or plan 403, or a 429). See Point-in-Time History.