Rate Limits
To ensure fair usage and platform stability, the Case AI API enforces rate limits on all endpoints.Default Limits
| Tier | Requests per Minute | Requests per Day |
|---|---|---|
| Standard | 60 | 10,000 |
| Pro | 300 | 100,000 |
| Enterprise | Custom | Custom |
Rate Limit Headers
Every API response includes headers indicating your current rate limit status:| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests allowed per minute |
X-RateLimit-Remaining | Requests remaining in current window |
X-RateLimit-Reset | Unix timestamp when the limit resets |
Handling Rate Limits
When you exceed the rate limit, you’ll receive a429 Too Many Requests response:
Best Practices
Implement Backoff
Use exponential backoff when you receive a 429 response. Wait before retrying.
Cache Responses
Cache product data locally to reduce unnecessary API calls.
Use Webhooks
Use webhooks for order updates instead of polling the API.
Batch Requests
Combine multiple operations where possible to reduce total requests.