Skip to main content

Limits

Rate limits are applied per user using a sliding window algorithm:

Response headers

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

Exceeding the limit

When you exceed the rate limit, the API returns a 429 response:

Best practices

  • Check headers before making additional requests to avoid hitting limits
  • Implement backoff when receiving 429 responses — wait until X-RateLimit-Reset
  • Batch operations where possible instead of making many individual requests
  • Cache responses for data that doesn’t change frequently (e.g., video status after completion)