Skip to main content

Overview

The FoxReach API enforces rate limits to ensure fair usage and platform stability. Rate limits are applied per API key using a sliding window counter.

Limits

Rate Limit Headers

Every API response includes rate limit information in the headers: Example response headers:

Exceeding the Limit

When you exceed the rate limit, the API returns a 429 Too Many Requests response:
The response also includes a Retry-After header indicating how many seconds to wait:

Handling Rate Limits

Retry with Backoff

The simplest approach is to respect the Retry-After header:

Monitor Remaining Requests

Proactively slow down when you’re approaching the limit:

Batch Operations

Instead of making many individual requests, use pagination efficiently:

Best Practices

  • Cache responses when possible to reduce the number of API calls
  • Use webhooks instead of polling for real-time updates
  • Batch operations to minimize the number of requests
  • Implement exponential backoff for retries after rate limit errors