Rate Limits & Quotas
WazzAPI enforces rate limits to ensure fair usage and system stability. Limits are applied based on your subscription plan.Rate Limits
Basic Plan
60 req/min1,000 req/hour
Pro Plan
300 req/min10,000 req/hour
Enterprise
1,000 req/min50,000 req/hour
Headers
Every API response includes current rate limit status in the headers:| Header | Description |
|---|---|
X-RateLimit-Limit | Your maximum request limit for the current window. |
X-RateLimit-Remaining | Requests remaining in the current window. |
X-RateLimit-Reset | Unix timestamp when the limit resets. |
Handling Rate Limits
When a limit is exceeded, the API returns429 Too Many Requests. The response includes a Retry-After header indicating how many seconds to wait.
Best Practices
- Exponential Backoff: If you hit a limit, wait and retry with increasing delays.
- Monitor Headers: Programmatically check
X-RateLimit-Remainingto throttle your own requests before hitting the limit. - Queueing: Use a message queue (like RabbitMQ or Redis) to smooth out bursty traffic.
Message Quotas
In addition to request rate limits, plans have monthly message quotas:- Basic: 1,000 messages
- Pro: 10,000 messages
- Enterprise: Custom
429 Quota Exceeded error.