Limits
Rate limits are applied per authenticated user. If you’re not authenticated, limits are applied per IP address.
Response headers
Every API response includes headers to help you track your current rate limit usage:Handling rate limits
When you exceed a rate limit, the API returns a429 Too Many Requests response.
Response
x-ratelimit-reset header for when the limit resets, or simply wait and retry.
Exponential backoff
Use exponential backoff to handle rate limits gracefully:Best practices
- Space out requests — Don’t batch too many at once
- Cache responses — Reuse data when possible
- Monitor headers — Check
x-ratelimit-remainingproactively - Queue requests — For bulk operations, use a job queue with delays