Skip to main content
Every authenticated response reports your current quota state, and requests are governed by two independent limits. This page explains both, plus the error bodies you should handle.

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 returns 429 Too Many Requests.
  1. 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.
  2. Credit quota — the number of requests your plan includes per window.
Key rules for the credit quota:
  • Every plan’s quota resets on the 1st of each month at 00:00:00 UTC. credit.resetAt always tells you the exact next reset time.
  • Only successful requests count. Requests that return an error — 4xx (including auth, validation, and rate-limit errors) and 5xx — 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:
This quota 429 also carries the metadata.credit block described above. When you exceed the rate limit, the 429 body has no credit block:
Wait a second and retry.
If your client parses error text: the 429 errorMessage wording changed. Match on the 429 status code, not on the message string.

Error responses

Every error uses the same envelope, with status: 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.