Rate Limit Headers
The API response headers also give you the following rate limit detailed information:Header | Example | Description |
---|---|---|
x-retry-after | 25 | Rate limit is exceeded. Try again in 25 seconds. |
x-remaining-calls | 0 | You have 0 remaining calls. |
Rate Limit Response
When you exceed the rate limit, you’ll receive a 429 status code with the following response:Best Practices
Monitor Headers
Always check the
x-remaining-calls
header to monitor your usageImplement Retry Logic
Use the
x-retry-after
header to implement proper retry delaysBatch Requests
Combine multiple operations into single requests when possible
Cache Responses
Cache frequently accessed data to reduce API calls