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.
- Credit quota — the number of requests your plan includes per window.
- Monthly plans reset on the 1st of each month at
00:00:00UTC.credit.resetAtalways tells you the exact next reset time. Some plans instead use a lifetime quota that does not reset (noresetAt). - 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.
Exact rate limits and monthly credit allowances depend on your plan. See the
pricing page for the figures that apply to you.
429 Too Many Requests
When a quota is exhausted the API returns 429 with a descriptive
errorMessage. The status code is always 429; the message reports how much of
the quota was used and, for monthly plans, when it resets:
429 body also carries the same metadata.credit block described above.
Richer detail with showError=true
Appending ?showError=true (supported across endpoints) adds a human-readable
errorDetail with next-step guidance:
errorDetail instead advises contacting support to
raise the limit.