Rate Limiting

Our API implements rate limiting to ensure fair usage and system stability. Each plan includes specific rate limits that reset monthly.

Rate Limit Tiers

PlanRequests/MonthPer Second
Free10,0005
Pro1,000,000100
EnterpriseUnlimitedCustom

Rate Limit Headers

Every API response includes rate limit information in the response headers.

bash
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 87
X-RateLimit-Reset: 1704067200

Handling Rate Limits

When you exceed your rate limit, the API returns a 429 (Too Many Requests) response. Implement exponential backoff retry logic to handle rate limiting gracefully.

python
import requests
import time

def make_request_with_retry(url, max_retries=3):
    for attempt in range(max_retries):
        response = requests.post(url, headers={
            'Authorization': f'Bearer {api_key}'
        })
        
        if response.status_code == 429:
            wait_time = 2 ** attempt
            print(f'Rate limited. Waiting {wait_time}s')
            time.sleep(wait_time)
            continue
        
        return response
    
    raise Exception('Max retries exceeded')

Monitoring Usage

Monitor your usage in the dashboard to track consumption and plan upgrades accordingly. You can also set up usage alerts to notify you when approaching quota limits.