Rate Limits
Understanding API rate limits and best practices
Rate limits are enforced per API key to ensure fair usage of the API and maintain service stability.
All rate limits are calculated on a per-minute basis and reset automatically at the start of each window.
Rate Limit Overview
Default Limits
- 60 requests per minute per API key
- Batch operations count as multiple requests
- Rolling window reset
Batch Operations
Each item in a batch counts as one request:
- Uploading 10 files = 10 requests
- Processing 5 statements = 5 requests
Rate Limit Headers
The API includes rate limit information in the response headers:
Handling Rate Limits
-
Monitor Headers Check the
X-RateLimit-Remaining
header to track your remaining requests. -
Implement Backoff When you receive a rate limit error, wait until the reset time before retrying:
-
Optimize Requests Use batch operations when possible to maximize your rate limit usage.
Best Practices
Implement Exponential Backoff
When rate limited, use exponential backoff to prevent overwhelming the API:
Batch Processing
Group multiple items into single requests:
Need Higher Limits?
Enterprise Plans
For higher rate limits and dedicated support, contact our sales team.
Enterprise plans include:
- Custom rate limits
- Priority support
- Dedicated account manager