Rate limits
Requests are rate limited per organization: every API key of an organization draws on the same budget, given by the X-RateLimit-Limit header. When you exceed it, the API responds with 429 and the RATE_LIMIT_EXCEEDED error code.
{ "code": "RATE_LIMIT_EXCEEDED", "message": "Too many requests for this organization. Retry after the number of seconds given in the Retry-After header.", "request_id": "b3f1c8d2-2b9e-4c5e-8a1f-2c7d6a9e4b1a"}Windows
Section titled “Windows”Windows are fixed and follow the clock: each one starts at a known instant and the budget starts afresh at its end, whatever your traffic. A client that stays under the budget is never refused, however long it keeps sending.
Every authenticated request counts, including a retry that replays an Idempotency-Key. A request refused for a missing or invalid API key does not count.
Rate-limit headers
Section titled “Rate-limit headers”Every response carries the state of your organization’s budget:
| Header | Value |
|---|---|
X-RateLimit-Limit | Requests your organization may send in one window, all keys combined. |
X-RateLimit-Remaining | Requests left in the current window. |
X-RateLimit-Reset | Unix time, in seconds, at which the current window ends. |
A 429 also carries Retry-After: the number of seconds until the window ends. The headers are readable from a browser.
Handling 429
Section titled “Handling 429”A 429 is safe to retry. Back off and try again:
- Wait at least the
Retry-Afterdelay, then use exponential back-off with jitter, as shown in errors and retries. - Pair any retried
POSTwith anIdempotency-Keyso the eventual success is not applied twice. - Smooth out large batches (for example a nightly sales-event export) instead of sending them in one burst.
Designing for the limit
Section titled “Designing for the limit”Because limits are per organization, concurrent workers and several API keys share the same budget. Watch X-RateLimit-Remaining and add client-side throttling for high-volume pipelines so steady traffic stays under the limit rather than hitting it and retrying. If your integration consistently needs a higher ceiling, contact support.