Skip to main content

Rate Limits

The Doppel API implements rate limiting to ensure fair usage and maintain service stability. Rate limits are applied per API key.

Rate Limit Tiers

Contact your account manager to upgrade your rate limit tier if needed.

Rate Limit Headers

Every API response includes headers showing your current rate limit status:

Rate Limit Exceeded Response

When you exceed a rate limit, you’ll receive a 429 Too Many Requests response:
The response will also include a Retry-After header indicating how many seconds to wait:

Handling Rate Limits

Basic Retry Logic

Exponential Backoff

For more robust handling, implement exponential backoff:

Best Practices

1. Cache Responses

Cache API responses when possible to reduce the number of requests:

2. Batch Requests

Instead of making many small requests, use pagination efficiently:

3. Monitor Your Usage

Check the rate limit headers in each response to monitor your usage and adjust your request patterns accordingly.

4. Use Webhooks (Coming Soon)

For real-time data, consider using webhooks instead of polling the API repeatedly.