Skip to main content

Rate Limiting

Use the response headers to track your request allowance. Limits can vary by service.

HeaderMeaning
X-RateLimit-LimitMaximum number of requests allowed in the current rate-limit window.
X-RateLimit-RemainingNumber of requests still available in that window.
X-RateLimit-Reset-AfterRelative delay in milliseconds until the window resets.
Retry-AfterDelay in seconds before retrying, returned with HTTP 429 Too Many Requests.

When you receive HTTP 429, pause requests and wait at least the Retry-After delay before retrying. Pace subsequent requests using the remaining allowance and reset delay to avoid repeated rate-limit errors.