What Are Rate Limits?
Rate limits control how many requests you can make per minute. This prevents API abuse and ensures fair usage for all users.Rate Limits by Tier
Each subscription tier has different rate limits:| Tier | Requests per Minute | Requests per Hour | Requests per Day |
|---|---|---|---|
| FREE | 10 | 600 | 14,400 |
| PRO | Unlimited | Unlimited | Unlimited |
Rate limits are per API key. FREE tier has a 10 requests per minute limit. PRO tier has unlimited requests.
Rate Limit Headers
Every response includes rate limit information in the headers:| Header | Description | Example |
|---|---|---|
X-RateLimit-Limit | Total requests allowed per minute | 10 (FREE) or 999999 (PRO) |
X-RateLimit-Remaining | Requests remaining in current window | 45 |
X-RateLimit-Reset | Unix timestamp when limit resets | 1704326400 |
Example in Code
Rate Limit Exceeded
When you exceed the rate limit, you’ll receive: HTTP Status:429 Too Many Requests
Handling Rate Limits
Basic Retry with Exponential Backoff
Rate Limiter with Token Bucket
For high-volume applications, implement a client-side rate limiter:Best Practices
Respect Retry-After Header
Respect Retry-After Header
Always check the
Retry-After header and wait the specified time before retrying.Implement Exponential Backoff
Implement Exponential Backoff
If
Retry-After isn’t available, use exponential backoff: wait 1s, then 2s, then 4s, etc.Monitor Rate Limit Headers
Monitor Rate Limit Headers
Track
X-RateLimit-Remaining and slow down requests when approaching the limit.Use Batch Endpoints
Use Batch Endpoints
Batch endpoints process multiple items in one request, reducing total API calls.
Implement Client-Side Rate Limiting
Implement Client-Side Rate Limiting
Prevent hitting rate limits by controlling request rate on your end.
Distribute Load
Distribute Load
If you have multiple API keys, distribute requests across them to increase effective rate limit.
Checking Current Rate Limit
You can check your rate limit without consuming credits:Upgrading for Higher Limits
Need unlimited requests? Upgrade to Pro:| Upgrade | Requests/min | Credits/month | Price |
|---|---|---|---|
| FREE → PRO | 10 → Unlimited | 200 → 10,000 | $19/mo |
Pro Tier Benefits
Pro plans include unlimited rate limits:- No request throttling
- Handle traffic spikes
- Build high-volume applications
- 10,000 credits/month included
- Auto-recharge available ($5/1,000 credits)