API Specification
Rate Limits
Understand API usage limits and request throttling
Overview
To ensure system stability and fair usage, API requests are subject to rate limits. Exceeding these limits may result in temporary blocking or throttling.
Rate Limits
| Limit Type | Allowed Requests |
|---|---|
Per Minute | 100 requests |
Per Hour | 5,000 requests |
Per Day | 50,000 requests |
Limits are applied per API key.
Rate Limit Exceeded Response
JSON Response
{
"status": false,
"message": "Rate limit exceeded. Please try again later."
}
Response Headers
| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum allowed requests |
X-RateLimit-Remaining | Remaining requests in current window |
X-RateLimit-Reset | Time when limit resets (timestamp) |
Best Practices
- ⚡ Cache responses where possible to reduce API calls
- 🔁 Avoid unnecessary repeated requests
- 📊 Monitor your API usage regularly
- ⏳ Implement retry logic with delay for failed requests
Retry Strategy
If you receive a rate limit error, wait before retrying. Use exponential backoff strategy:
JSON Response
{
"retry_strategy": {
"attempt_1": "wait 1 second",
"attempt_2": "wait 2 seconds",
"attempt_3": "wait 4 seconds"
}
}
Important Notes
- 🚫 Excessive usage may result in temporary suspension
- 🔐 Limits are enforced per API key
- 📈 Contact support for higher limits if required