Overview
The MentionLab API implements rate limiting to ensure fair usage and maintain service stability for all users. Understanding these limits helps you design efficient integrations that avoid throttling.Default Rate Limits
All accounts share the same default rate limits:| Metric | Limit |
|---|---|
| Requests per Minute | 120 |
| Burst Limit | 20 |
Burst limits define the maximum number of concurrent requests allowed within a 1-second window.
If you have a custom agreement with MentionLab, your rate limits may differ from the defaults listed here. Please refer to your agreement documentation for your specific limits.
Rate Limit Headers
Every API response includes headers to help you track your usage:| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests allowed in the current window |
X-RateLimit-Remaining | Requests remaining in the current window |
X-RateLimit-Reset | Unix timestamp when the rate limit resets |
Retry-After | Seconds to wait before retrying (only on 429 responses) |
Handling Rate Limits
When you exceed the rate limit, the API returns a429 Too Many Requests response:
Error Codes
| Code | Description | Action |
|---|---|---|
429 | Rate limit exceeded | Wait for Retry-After seconds and retry |
503 | Service temporarily unavailable | Wait 30 seconds and retry with backoff |
Need Higher Limits?
Contact Sales
If you need higher rate limits for your use case, contact our sales team to discuss a custom agreement tailored to your requirements.