Skip to main content

Rate Limits

To ensure fair usage and system stability, the ZenFlow API enforces rate limits on all requests.

Default Limits

Rate limits are per API key. You can request higher limits by contacting support.

Rate Limit Headers

Every API response includes rate limit information:

Rate Limit Exceeded

When you exceed the rate limit, the API returns:
The Retry-After header indicates seconds to wait before retrying.

Handling Rate Limits

Exponential Backoff

Implement exponential backoff for rate limit errors:

Check Remaining Requests

Before making requests, check remaining quota:

Request Batching

For bulk operations, use batch endpoints instead of individual calls:

Best Practices

Use Batch Endpoints

Combine multiple operations into single requests

Cache Responses

Cache data that doesn’t change frequently

Implement Backoff

Use exponential backoff for retries

Monitor Usage

Track your API usage patterns

Caching Example

Custom Limits

Need higher rate limits? Contact [email protected] with:
  • Your use case
  • Expected request volume
  • Peak usage patterns
Enterprise plans include:
  • Higher default limits
  • Custom limit configuration
  • Dedicated support