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.
| Header | Meaning |
|---|---|
X-RateLimit-Limit | Requests allowed in the window for this key. |
X-RateLimit-Remaining | Requests left in the current window. |
X-RateLimit-Reset | Seconds until the window refills. |
X-Concurrency-Limit | Calls this key may have in flight. |
X-Concurrency-Remaining | Calls it may still start now. |
Retry-After | On 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
| Limit | Value |
|---|---|
| Request body, after decompression | 1 MB. extract with text 2 MB. Synchronous batch 2 MB. |
q | 2,048 bytes |
num | 100 per page, 200 results in total per query |
URLs per fetch call | 20. Larger sets go through batch. |
| Transfer limit per page | 25 MB transferred per page, 50 MB for PDF |
| Text returned per page | 500,000 characters (fetch), 50,000 (content) |
| Response body | 16 MB. A call that would exceed it truncates pages (truncated). |
extract schema | 16 KB, depth 5, 200 properties |
| Batch | 100 items and 100 URLs synchronous, 20,000 items asynchronous |
| Crawl and map | 10,000 pages per crawl, 30,000 URLs per map |
Idempotency-Key | 128 bytes, kept 24 hours |
metadata on jobs | 4 KB |
Deadlines
| Endpoint | Default | Maximum |
|---|---|---|
search | 20 s | 20 s. 25 s with content. 40 s with answer. |
autocomplete | 5 s | 5 s |
knowledge | 3 s | 3 s |
fetch | 35 s | 35 s |
extract, map, synchronous batch | 60 s | 60 s |
geocode, reverse-geocode | 6 s | 6 s |
places/* | 10 s | 10 s |
lens | 20 s | 20 s |
research job | quick 5 min, standard 20 min, deep 60 min | 60 min |
crawl job | 6 hours | 24 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.