Rate Limits
Default Rate Limits
Each endpoint has its own per-second limit. These are the defaults for self-serve accounts created through You.com Platform:
Enterprise plans run on custom limits set in your contract. If you’re on an enterprise agreement, those limits apply instead of the defaults above.
Rate Limit Headers
A 429 from an api.you.com endpoint, such as the Answer API, can include X-RateLimit-* headers that describe the limit you just hit. Successful responses and 422 validation errors leave those headers off. Read them on the 429, after the limit has already been hit.
X-RateLimit-Limit—the allowance and the window in one string, such as10 per 1 secondX-RateLimit-Remaining—requests left in the current window, such as0X-RateLimit-Reset—Unix time in seconds when the window resets
The 429 Response
When you exceed the limit, the API returns 429 Too Many Requests. An Answer API 429 includes X-RateLimit-Limit (a string such as 10 per 1 second), X-RateLimit-Remaining: 0, and X-RateLimit-Reset as a Unix timestamp in seconds (for example 1794232204), with this body:
Answer API 429 responses don’t include Retry-After today. Honor Retry-After when a 429 includes one; otherwise wait until X-RateLimit-Reset, or use the backoff below. Other endpoints may omit the X-RateLimit-* headers.
Exponential Backoff
For retries, use exponential backoff with a cap so a sustained burst does not lock you out for a long time. This example retries up to five times, doubling the wait between attempts up to a 60-second ceiling:
Raising Your Limits
Higher limits come with a custom plan. Book a meeting with our team to set yours, or email api@you.com.