Skip to main content
Requests are rate-limited per minute. The limit applies to each endpoint independently and is set by your plan.

Rate-limit headers

Every call to an endpoint returns your current budget: The limit refills continuously rather than resetting on a fixed boundary, so X-RateLimit-Remaining recovers gradually between calls.

When you exceed the limit

A request over the limit returns 429 rate_limited with a Retry-After header giving the number of seconds to wait:
Rate limiting is applied before any billing check, so a throttled request is never billed. Wait for the Retry-After interval, then retry.
Read X-RateLimit-Remaining from your responses and slow down as it approaches zero, rather than waiting for a 429.