> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spidra.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Rate limits

> How many requests each Spidra endpoint accepts per minute, how many jobs can wait at once, and how to read the rate limit headers.

Limits are per account and the same on every plan.

## Submissions per minute

| Endpoint | Per minute |
| - | -: |
| `POST /scrape` | 60 |
| `POST /batch/scrape` | 20 |
| `POST /crawl`, crawl extract, crawl page retry | 60 |
| `POST /map` | 60 |
| `POST /search` | 60 |
| `POST /parse`, `POST /parse/batch`, `POST /parse/uploads` | 60 |
| `POST /templates/{slug}/runs` | 20 |
| `POST /presets/{presetId}/runs` | 30 |
| Creating, updating and checking monitors | 30 |
| `POST /monitors/test-notification` | 5 |
| `GET /templates/lookups/airports` | 240 |

Reading results (`GET` on a job, run, log or list) isn't limited.

Over the limit, the request is refused with `429`, for example:

```json theme={null}
{ "status": "error", "message": "Too many job submissions. Please slow down and try again shortly." }
```

## Rate limit headers

Every response from a limited endpoint carries these headers. Here's a real pair from `POST /map`:

```
RateLimit-Policy: "60-in-1min"; q=60; w=60; pk=:NGE0ZmQwNDdjZjA0:
RateLimit: "60-in-1min"; r=59; t=60
```

`q` is how many requests the window allows, `w` is the window in seconds, `r` is how many you have left, and `t` is the seconds until the window resets. `pk` identifies your account's counter, and you can ignore it.

## Unfinished jobs at once

Separately, Spidra limits how many of your jobs can be unfinished (waiting or running) at the same time:

| Jobs | At once |
| - | -: |
| Scrapes | 10 |
| Batch scrape URLs (counted together with scrapes) | 50 |
| Searches | 10 |
| Crawls | 5 |

Past that, submissions get `429` with `code: "TOO_MANY_PENDING_JOBS"` until some of your jobs finish. When Spidra as a whole is at capacity, submissions get `503` with `code: "SERVICE_BUSY"` and `retry_after` in seconds.

## Staying within the limits

* Send many URLs as one [batch](https://docs.spidra.io/batch-scrape.md) instead of many scrapes.
* Use [Crawl](https://docs.spidra.io/crawl.md) or [Map](https://docs.spidra.io/map.md) to cover a site instead of scraping page by page.
* Poll every 2 to 5 seconds, not faster. Use `wait` where it's available.
* On `429` and `503`, back off and retry. The SDKs retry `503` for you; handle `429` yourself.

Need higher limits? Email [hello@spidra.io](mailto:hello@spidra.io).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.