Unlimited API reference
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.
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.
Also at /v1/unlimited/scrape. Parameters and response are those of /scrape.
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/crawland/unlimited/linkstogether. - 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 norequestfield 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
200and a429both carryX-Concurrency-LimitandX-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.
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 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 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 prices each one, and larger plans go through sales.
Unlimited is subject to fair use.