Menu

Endpoints

Crawl

Give it a starting page and get the site's pages back as clean text, as a job.

Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)

Text
POST   https://api.millionshort.com/v1/crawl
GET    https://api.millionshort.com/v1/crawl
GET    https://api.millionshort.com/v1/crawl/{id}
DELETE https://api.millionshort.com/v1/crawl/{id}

A crawl starts at one page, finds the pages of the site from its sitemap and its links, and returns each one as clean text. It runs in the background: you get a job at once, poll it for pages as they finish, and can be told by webhook when it ends.

A crawl is an Extract batch that finds its own URLs. Every page comes back in the shape of an Extract result, with one more field, depth.

What it is for

How pages are found

Pages nearest the start come first.

How pages are obtained

One field, mode, decides, as it does for Extract:

ModeWhat it does
liveFetches each page now, as our declared bot. The default
renderedLoads each page in a browser, so content built by scripts appears. Paid plans
unblockA rendered fetch for sites that refuse automated requests. Growth plan and above
cachedReturns the copies we already hold. No page is requested from the site

A cached crawl is the one that asks least of a site: the site is asked for its robots.txt and its sitemaps, and for no page at all. When that robots.txt closes the start page to our bot, the crawl ends and nothing is served.

How we treat the site

We identify ourselves to sites as MillionShortBot. robots.txt is honoured for every page we fetch, and there is no option to ignore it. A site gets at most one page a second from all our customers together, and one account at most 30 pages of one site a minute and 2,000 a day. A crawl of one site is slow on purpose: a large one takes hours. A caller cannot send cookies, headers or a delay to a site.

What it costs

A crawled page costs 1 credit in cached and live, 2 in rendered and 26 in unblock. A page that fails is free, except a page a browser mode found missing. The crawl holds the price of max_pages when you start it, never costs more than that, and hands back what it did not use. Pricing and limits has the table.

In this section

With the other endpoints

Map lists a site's URLs without reading them, in one call. Extract reads URLs you already have. Monitor watches one page for changes.

This page as Markdown ยท llms.txt