# Crawl pricing and limits

One credit a page, charged for the pages that came back. The price of the whole crawl is held at the start and the rest handed back.

## What a page costs

**1 credit is $0.001, and a crawled page is 1 credit:** $1.00 per 1,000 pages at the list price. A page is charged when it came back, at the price of the mode that produced it.

| Action | Credits | Per 1,000 pages |
|---|---|---|
| A crawled page, `live` | 1 | $1.00 |
| A crawled page, `cached` | 1 | $1.00 |
| A crawled page, `rendered` | 2 | $2.00 |
| A crawled page, `unblock` | 26 | $26.00 |
| A crawled page as JSON of your shape, on top of the mode | 3 | $3.00 |
| A URL that fails: robots.txt, the URL rules, a cap, a page we do not hold | 0 | |
| Labels on every page, and the label filters | 0 | |
| Polling, listing your crawls, cancelling | 0 | |
| The sitemap read at the start, and following links | 0 | |

| Crawl | Held at the start | Charged | Dollars |
|---|---|---|---|
| `max_pages: 50`, `live`, 12 pages came back and 2 failed | 50 | 12 | $0.012 |
| `max_pages: 100`, `live`, all 100 came back | 100 | 100 | $0.10 |
| `max_pages: 100`, `rendered`, 80 came back | 200 | 160 | $0.16 |
| `max_pages: 500`, `live`, cancelled after 120 pages | 500 | 120 | $0.12 |
| `max_pages: 100`, `live`, 100 came back, 40 left out by `page_types` | 100 | 100 | $0.10 |
| `max_pages: 20`, `unblock`, 20 came back | 520 | 520 | $0.52 |
| The site's robots.txt closes it to our bot | 100 | 0 | $0 |

- Starting a crawl holds `max_pages × the price of the mode`, and 3 more a page when you ask for JSON. A team that cannot cover the hold gets `429 INSUFFICIENT_CREDITS` and nothing starts. Send a smaller `max_pages`.
- Pages are charged as they finish. What is left of the hold is handed back when the crawl ends, is cancelled or fails.
- A URL that fails is free. Our own refusals are never charged: robots.txt, the URL rules, a site that opted out, our caps and our capacity.
- A page left out by a label list was fetched, so it is charged.
- **The one exception**, as for [Extract](https://millionshort.com/docs/extract/pricing): in `rendered` and `unblock` a browser reaches the site for you. When the site answers that the page does not exist (`404` or `410`), the page is charged at the mode's price and marked `charged: true`. Such a page counts towards `max_pages`, so a crawl never costs more than it held.
- JSON is charged only for a page that came back as JSON of your shape.
- In your usage, a crawl's charges are broken down into the lines `crawl`, `crawl_rendered`, `crawl_unblock` and `crawl_json`.

When you already have the URLs, [Extract](https://millionshort.com/docs/extract/pricing) reads a live page for half a credit. A crawl is priced for finding the pages as well.

## Limits of a request

| Limit | Value |
|---|---|
| `max_depth` | 0 to 10 |
| `include`, `exclude` | up to 20 patterns each, 200 characters a pattern |
| `max_chars` | 1 to 100,000 |
| A page | 10 MiB; up to 5 redirects |
| URLs tried | 3 for each page the crawl may return, plus 20 |
| How long a crawl may run | 24 hours |
| How long results are kept | 7 days after the crawl ended |
| Polls | 120 a minute per team |

## Limits of a plan

| | Free | Starter | Growth | Scale | Business |
|---|---|---|---|---|---|
| `max_pages`, at most | 50 | 500 | 2,000 | 10,000 | 25,000 |
| Crawls open at once | 1 | 2 | 3 | 5 | 10 |
| `rendered` | No | Yes | Yes | Yes | Yes |
| `unblock` | No | No | Yes | Yes | Yes |

## Limits that protect sites

A crawl is for reading a site, not for copying it.

- For all customers together, one site gets at most 2 fetches at once and 1 a second.
- One account gets at most half of that: 30 pages of one site a minute. A crawl of 1,000 pages of one site takes about 35 minutes.
- Per team, per site, per day: 2,000 pages, in any mode other than `cached`. A page fetched again and found unchanged does not count again. A crawl that reaches the limit ends with `stop_reason: "site_daily_limit"` and keeps its pages.

Because of the daily limit, a crawl of more than 2,000 new pages of one site takes more than one day, whatever the plan's `max_pages` ceiling: one crawl of one site ends at about 2,000 pages (the sitemap files it read count too), and you start another the next day. [The daily limit per site](https://millionshort.com/docs/extract/parameters#the-daily-limit-per-site) says exactly what counts.
