During the alpha phase, we implement rate limiting to ensure fair usage and
optimal performance for all users.
- 60 requests per minute
Rate Limiting Headers
MileIQ’s API rate limiting is in conformance with the IETF standard:
You’ll receive a
429 Too Many Requests response code if the rate limit is exceeded.
Best Practices
To handle rate limiting gracefully in your applications:- Implement retry logic with exponential backoff.
- Check for 429 status codes in API responses.
- Respect the ‘Retry-After’ header when provided in the response.
- Monitor the
X-RateLimit-*headers to track your usage and adjust your request rate accordingly. - Consider using a rate limiting library or implementing a request queue to manage your API calls.