Rate Limits
API rate limits for Mailtrap endpoints to ensure fair usage and service stability
Mailtrap API enforces rate limits to ensure fair usage and maintain service stability for all users. Different API endpoints have different rate limiting rules based on their purpose and resource requirements.
General Rate Limit
The following rate limit applies to all API endpoints:
All API endpoints
150 requests
10 seconds
Per API token
API-Specific Rate Limits
In addition to the general rate limit, some APIs have their own specific limits:
Handling Rate Limits
When you exceed a rate limit, the API returns a 429 Too Many Requests response. To handle rate limits gracefully:
Implement exponential backoff when receiving 429 responses
Distribute requests evenly over time rather than sending bursts
Cache responses when possible to reduce API calls
Last updated
Was this helpful?

