Default Limits
- Default: 100 requests per minute per IP address
- Custom limits: You can set a custom rate limit when creating or updating an API key in the dashboard
- Window: Sliding window (per minute)
Rate Limit Headers
All API responses include rate limit headers:Handling Rate Limits
When you exceed the rate limit, you’ll receive: Status Code:429 Too Many Requests
Response:
Best Practices
Monitor Headers
Track remaining requests using response headers
Implement Backoff
Use exponential backoff when rate limited
Cache Responses
Cache responses to reduce API calls
Batch Requests
Combine multiple operations when possible
Exponential Backoff Example
Requesting Higher Limits
For higher rate limits, contact support@dhmad.tn with:- Your use case
- Expected request volume
- API key ID
The default rate limit applies per IP address. Custom per-key rate limits can be configured when creating or updating an API key in the dashboard.