Rate Limits

View as MarkdownOpen in Claude

Default Rate Limits

Each endpoint has its own per-second limit. These are the defaults for self-serve accounts created through You.com Platform:

APIEndpointDefault limit
Web Search API/v1/search10 requests/second
Contents API/v1/contents10 requests/second
Answer API/v1/answer10 requests/second
Research API (including background mode)/v1/research10 requests/second
Finance Research API/v1/finance-research5 requests/second

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

API usage is subject to rate limits based on your subscription tier. Every response includes three headers that describe your current limit:

  • X-RateLimit-Limit—total requests allowed in the window
  • X-RateLimit-Remaining—requests remaining in the current window
  • X-RateLimit-Reset—Unix timestamp when the window resets

Read these headers to throttle client-side before you hit the limit, rather than waiting for a 429.

The 429 Response

When you exceed the limit, the API returns 429 Too Many Requests. Honor the Retry-After header when present—it tells you exactly how long to wait before the next request.

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:

1import time
2from youdotcom import You, errors
3
4def exponential_backoff(attempt):
5 return min(2 ** attempt, 60) # Max 60 seconds
6
7with You() as you:
8 for attempt in range(5):
9 try:
10 response = you.search(query="test")
11 break
12 except errors.YouError as e:
13 if e.status_code == 429 and attempt < 4:
14 wait_time = exponential_backoff(attempt)
15 time.sleep(wait_time)
16 else:
17 raise

Raising Your Limits

Higher limits come with a custom plan. Book a meeting with our team to set yours, or email [email protected].