websearch.fast
ConsoleGet a key

Rate limits

Every key has a rate limit (requests per second, averaged over a 10-second window) and a concurrency limit (calls in flight). The account has the same two limits over all its keys. The values can change, and every response reports them in headers.

HeaderMeaning
X-RateLimit-LimitRequests allowed in the window for this key.
X-RateLimit-RemainingRequests left in the current window.
X-RateLimit-ResetSeconds until the window refills.
X-Concurrency-LimitCalls this key may have in flight.
X-Concurrency-RemainingCalls it may still start now.
Retry-AfterOn 429 and 503, the seconds to wait.

Over the rate limit, a call gets 429 rate_limited. With too many calls in flight it gets 429 concurrency_limited with Retry-After: 1. Interactive calls are admitted first, then items of a synchronous batch, then job work. There is no unbounded queue. When a class is full, its new calls get 429 at once.

A key that sends many invalid requests is paused for a while (429 api_key_temporarily_frozen with Retry-After).

Sizes

LimitValue
Request body, after decompression1 MB. extract with text 2 MB. Synchronous batch 2 MB.
q2,048 bytes
num100 per page, 200 results in total per query
URLs per fetch call20. Larger sets go through batch.
Transfer limit per page25 MB transferred per page, 50 MB for PDF
Text returned per page500,000 characters (fetch), 50,000 (content)
Response body16 MB. A call that would exceed it truncates pages (truncated).
extract schema16 KB, depth 5, 200 properties
Batch100 items and 100 URLs synchronous, 20,000 items asynchronous
Crawl and map10,000 pages per crawl, 30,000 URLs per map
Idempotency-Key128 bytes, kept 24 hours
metadata on jobs4 KB

Deadlines

EndpointDefaultMaximum
search20 s20 s. 25 s with content. 40 s with answer.
autocomplete5 s5 s
knowledge3 s3 s
fetch35 s35 s
extract, map, synchronous batch60 s60 s
geocode, reverse-geocode6 s6 s
places/*10 s10 s
lens20 s20 s
research jobquick 5 min, standard 20 min, deep 60 min60 min
crawl job6 hours24 hours

Set client timeouts a few seconds above these deadlines, so that a slow call ends with our answer (a partial result or 504), not with a client timeout.