Rate Limit Structure
The API uses a sliding window rate limit with the following defaults:- Production: 1000 requests per minute per API key
- Sandbox: 100 requests per minute per API key
Rate Limit Headers
Every API response includes rate limit information in the headers:| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum number of requests allowed in the current window |
X-RateLimit-Remaining | Number of requests remaining in the current window |
X-RateLimit-Reset | Unix timestamp when the rate limit window resets |
Handling Rate Limits
When you exceed the rate limit, the API returns a429 Too Many Requests response:
Best Practices
- Monitor rate limit headers in your responses
- Implement exponential backoff when rate limited
- Cache responses when possible to reduce API calls
- Batch operations where the API supports it
- Use webhooks instead of polling for status updates