API reference

Rate limits

Learn how requests are throttled and what to do when you receive a 429 response.

Rate limits apply per user and per operation, in fixed 60-second windows. All clients of the same user share a limit. Limits still apply during a subscription.

Find the limit of an operation

Each API reference page shows the limit of its operation under Usage. For example, see GET /prices.

Those values describe the recorded API revision. GET /endpoints returns the declarations of the running service. Read them before you choose a polling interval.

When you reach the limit

The API returns 429 with the code rate_limited and these headers:

HeaderMeaning
Retry-AfterSeconds to wait before you retry. It is not a Unix timestamp.
RateLimit-LimitThe limit of the window.
RateLimit-RemainingRequests left in the window.
RateLimit-ResetSeconds until the window resets. It is not a Unix timestamp.

Slow down every worker that uses the account. Retrying immediately uses up more request attempts.

Limits and billing

Batch size affects credits independently of the request count. A subscription removes the applicable credit charges, not the throttling.

Next, see request costs or polling and retries.