# Unlimited API reference: scrape, crawl and links | Spider

Reference for the Spider Unlimited routes: /unlimited/scrape, /unlimited/crawl and /unlimited/links. The concurrency limit, the 429 response and every status code.

Canonical: https://spider.cloud/docs/api/unlimited/

POST /unlimited/\*

Scrape, Crawl and Links on a flat monthly plan. You buy a concurrency limit, and the plan bills by concurrency and not by request. A request that does not fit under the limit gets a `429` with `Retry-After`, and Spider does not queue it. Plans start at $40 a month for a limit of 2. See [Unlimited pricing](/pricing/?plan=unlimited).

## Make a request

Use the API key you use on every other route. The account needs an active Unlimited plan. Pick a route to see its address and a request you can paste.

Route

POST https\://api.spider.cloud/unlimited/scrape

Also at `/v1/unlimited/scrape`. Parameters and response are those of [/scrape](/docs/api/scrape/).

```
curl -X POST https://api.spider.cloud/unlimited/scrape \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "return_format": "markdown"
  }'
```

Response 200

```
X-Concurrency-Limit: 10
X-Concurrency-Active: 1

[
  {
    "url": "https://example.com",
    "content": "# Example Domain\n\nThis domain is for use in documentation examples.",
    "status": 200,
    "error": null,
    "duration_elasped_ms": 122,
    "costs": null
  }
]
```

The body is the one `/scrape` returns. The two headers are what Unlimited adds, shown here for a plan of 10 with nothing else running.

## Concurrency

- The limit

  The size of your plan. One limit covers `/unlimited/scrape`, `/unlimited/crawl` and `/unlimited/links` together.

- What a request holds

  A request with `"request": "http"` holds 1 of the limit from the moment Spider admits it until its response ends. A browser request holds 2. A smart request holds 1, and 2 once a page needs a browser. That second 1 comes only from room the plan has free, so it never stops a request that is already running. A request with no `request` field runs as smart.

- Crawls

  A crawl is one request. It fetches up to 10 pages in parallel at any plan size, so a larger plan runs more crawls at once.

- Reading the count

  A `200` and a `429` both carry `X-Concurrency-Limit` and `X-Concurrency-Active`. The active count is taken as Spider admits or refuses the request, so one smart request on an idle plan reads 1. A browser that request opens later shows in the count on the next response.

## At the limit

A request that does not fit gets `429 Too Many Requests` at once. Spider does not queue it, and it adds nothing to the bill. Wait the number of seconds in Retry-After, then send the request again. You can also send it to the pay as you go route with the same key, which spends credits.

Response 429

```
Retry-After: 2
X-Concurrency-Limit: 10
X-Concurrency-Active: 10

{
  "error": "concurrency_limit_reached",
  "seats": 10,
  "active": 10
}
```

- `Retry-After`

  Seconds to wait before you send the request again. It is 2 in this example and can be longer.

- `seats`

  Your limit, the same number as `X-Concurrency-Limit`.

- `active`

  How much of the limit was held when Spider refused the request, the same number as `X-Concurrency-Active`. It can be under the limit when the request needed more than what was free.

- `message`

  A sentence some refusals add. Branch on `error`, not on this.

A `429` whose body has `"window": "5h"` is the account's 5-hour usage limit and not the concurrency limit. [Rate limits](/docs/core/rate-limits/) covers it.

## Status codes

These are the statuses the Unlimited routes add or change. A `401`, `403` or `429` body is JSON, and its `error` value is the one under the status.

- 400

  The body carries an AI or LLM extraction parameter, such as prompt or extraction_schema, or an authorization field. Send the key in the Authorization header, and send AI requests to the pay as you go routes.

- 401 `authentication_required`

  The request has no valid API key.

- 403 `unlimited_plan_required`

  The account has no Unlimited plan.

- 403 `unlimited_plan_inactive`

  The account has a plan and it is not active. Check billing in your account.

- 403 `payg_only_domain`

  Not supported: social media automation (LinkedIn, Facebook), Google search and multi-account. Run these on pay as you go. The refusal holds none of your limit. Send the same body to /scrape, /crawl or /links.

- 429 `concurrency_limit_reached`

  The request does not fit under the limit. See the section above.

## Proxies

Unlimited requests run on standard proxies. Pay as you go can use stronger ones, so a target that keeps refusing an Unlimited request is worth sending to [pay as you go](/pricing/) with the same key.

## Plan sizes

| Limit | Price a month | Per 1 of the limit |
| ----- | ------------- | ------------------ |
| 2     | $40           | $20                |
| 10    | $170          | $17                |
| 25    | $350          | $14                |
| 50    | $650          | $13                |

You can buy any whole number from 2 to 1,538. The [pricing page](/pricing/?plan=unlimited) prices each one, and larger plans go through sales.

Unlimited is subject to [fair use](/eula/#fair-use).
