Menu

Endpoints

Extract

Give it URLs and get each page back as clean text an agent can read.

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/extract

Extract takes up to 20 URLs and returns, for each, the page's main content as Markdown or plain text, with its title, metadata and links. The call is synchronous. Each URL succeeds or fails on its own, and a URL that fails costs nothing, except a page that does not exist in a browser mode (pricing).

What it is for

How a page is obtained

One field, mode, decides. The modes differ in what reaches the site and in price:

ModeWhat it doesWho can use it
liveFetches the page now, as our declared bot, within robots.txtEvery plan
renderedLoads the page in a browser, so content built by scripts appearsStarter and up
unblockA rendered fetch for sites that refuse automated requestsGrowth and up
stealthA rendered fetch for sites that refuse even unblockNot switched on yet
cachedReturns a copy we already hold; nothing reaches the siteSwitched off
autocached when a fresh enough copy exists, otherwise liveBehaves as live

We identify ourselves to sites as MillionShortBot, honour robots.txt in every mode, and there is no option to ignore it. A caller cannot send cookies or headers to a site.

In this section

Two more pages cover what Extract can do: Batch and Labels.

Page text without a fetch

A search can also return the page text we hold for web and news results, with include_content, and up to 2,000 characters of snippet per result with max_chars_per_result. No request is made to the site for either.

With the other endpoints

Monitor watches a page with the same fetcher and the same rules, and its events carry the same labels. Map and Crawl fetch the same way: a crawl is a batch that finds its own URLs, and each of its pages is an Extract result.

This page as Markdown ยท llms.txt