Rate Limiting
Use the response headers to track your request allowance. Limits can vary by service.
| Header | Meaning |
|---|---|
X-RateLimit-Limit | Maximum number of requests allowed in the current rate-limit window. |
X-RateLimit-Remaining | Number of requests still available in that window. |
X-RateLimit-Reset-After | Relative delay in milliseconds until the window resets. |
Retry-After | Delay 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.