Rate Limits
Rate limits help ensure stable and fair API usage across all integrations. Each platform has specific limits defined in requests per minute (RPM).
Rate Limits by Platform
Platform | Rate Limit (RPM) |
---|---|
IMSS | 50 |
ISSSTE | 120 |
CDT | 120 |
MEI | 120 |
Uber | 120 |
Didi | 120 |
Didi Food | 120 |
InDriver | 120 |
Cabify | 120 |
Handling Rate Limits
When you exceed a platform's rate limit, requests will be blocked until the next minute window begins. The API returns a 429 Too Many Requests
status code in these cases.
Response Headers
Monitor your current rate limit status using these response headers:
X-RateLimit-Limit
- Maximum requests allowed per minuteX-RateLimit-Remaining
- Requests remaining in current windowX-RateLimit-Reset
- Reset time for rate limit window (Unix timestamp)
Recommended Practices
To work effectively with rate limits:
- Handle 429 status codes gracefully, and wait for the next minute window before retrying.
- Space requests evenly within your time window