Extract any page as markdown or text
Send up to 20 URLs in one call and get the main text of each, without its menus, footers, and ads. A page that refuses a plain read comes from SpecStream's own copy with its date when SpecStream holds one, or is tried again, and read_from says where the text came from.
curl https://api.specstream.ai/v1/extract \ -H "Authorization: Bearer $SPECSTREAM_API_KEY" \ -H "Content-Type: application/json" \ -d '{"urls": ["https://en.wikipedia.org/wiki/Narbonne"], "format": "markdown"}'
{
"data": {
"results": [
{
"url": "https://en.wikipedia.org/wiki/Narbonne",
"status": "ok",
"title": "Narbonne - Wikipedia",
"published": "2002-10-11T13:08:41+00:00",
"read_from": "live",
"text": "... ## Etymology\n\nThe etymology of the town's original name, **Narbo**, is lost in antiquity ..."
}
],
"took_ms": 441,
"price_usd": 0.0008
}
}$0.80
per 1,000 pages read
Pages read, from your balance.
- 20 URLs a call
- Send 1 to 20 http or https URLs. The same URL twice is read once.
- PDF, Word, Excel
- Documents come back as markdown or plain text, the same as a web page.
First on four public extraction benchmarks
On all 2,527 live URLs of TRACE Extract v6 the Extract API scores 88.51%, ahead of Context.dev (87.0%), Jina (86.8%), and Exa (85.0%), at $0.80 per 1,000 pages with a p50 of 1.23 s. It also ranks first on search-provider-bench Extract (0.7812 fact recall, ahead of Linkup 0.764 and Tavily 0.745), WCXB (0.914 F1), and Scrapinghub (0.971 F1).
| SpecStream | Context.dev | Jina | Exa | Linkup | Tavily | Firecrawl | |
|---|---|---|---|---|---|---|---|
| Live URL extractionTRACE Extract v6 (2,527 URLs) | 88.5%87.0% live | 87.0% | 86.8% | 85.0% | |||
| Verifiable fact recallsearch-provider-bench Extract | 0.78199.0% avail | 0.708 | 0.764 | 0.745 | |||
| Scraping for agentsscrapingbench, tasks done | 40/40 | 38/40 | 34/40 | 32/40 | |||
| Scraping for agentsscrapingbench, answer in the response | 40/40 | 38/40 | 37/40 | 36/40 |
TRACE Extract v6 tests live page extraction across 2,527 real URLs (SpecStream $0.80 per 1,000 pages, p50 1.23s, zero paid proxies). search-provider-bench Extract is a deterministic zero-model fact recall benchmark across 105 pages (382 facts). scrapingbench is the 40-task live documentation scrape track on Claude Haiku 5.5, each answer checked against its official source on the day of the run: three tasks ask for a package's latest version, and those packages have had releases since the board stored its answers. A dash means no published score.
- SpecStream
- Other providers
TRACE Extract v6 evaluates live content extraction across 2,527 real URLs. SpecStream Extract API ($0.80 per 1,000 pages, p50 1.23s) leads at 88.51% overall and 87.04% live-only.
- SpecStream
- Other providers
scrapingbench gives one agent a single tool, the provider's scraper, and 40 tasks on live documentation sites. A script checks every answer against the official source. With our scraper the agent finishes all 40 tasks. No other provider on the board finishes more than 38.
| SpecStream | Zyte | Diffbot | rs-trafilatura | Trafilatura | Readability | |
|---|---|---|---|---|---|---|
| Article extractionScrapinghub benchmark | 0.971 | 0.970AutoExtract | 0.951 | 0.970 | 0.958 | 0.947 |
| Page extractionWCXB | 0.914 | 0.903 | 0.841 | 0.726 |
Other extractors' figures are the scores published by each benchmark. Both benchmarks score F1 against hand-labelled page text. A dash means no published score.
- SpecStream
- Other extractors
The Scrapinghub benchmark scores how exactly an extractor returns the text of an article. Our Extract API scores 0.971, above the best commercial and open-source extractors, and is first on WCXB, the 511-page extraction benchmark, at 0.914.
Switch from Firecrawl in one line
Keep the Firecrawl SDK and set api_url to https://api.specstream.ai/compat/firecrawl. Scrape and search answer in Firecrawl's own JSON, so the code that reads the reply stays as it is.
- Firecrawl drop-inChange the base address and keep your code: search, scrape, map, and crawl in Firecrawl's JSON, with the price of each call.
- URL to Markdown testerRead any public page or PDF as clean markdown in your browser, with no sign-up.
- Growth plan, $199 a month$199 of credit each month, up to 248,750 pages, and 2,000 API calls a minute.
- Prepay $1,000, get $1,200 of credit20% more credit on a payment of $1,000 or more, up to 1,500,000 pages. Credit never expires.
What a call returns
One result for each URL, in the order you sent them, then the request_id and took_ms of the call.
- url and status
- Each URL and how its read went: ok, blocked, not_found, empty, unsupported, invalid_url, or failed. ok means read and charged.
- text
- The page's main text. Markdown keeps headings, lists, and links. Text returns it plain.
- published
- The date the page says it was published, when it says one. The page's title comes with it.
- read_from
- live for the page now, site for the same page from the site's own API or feed, archive for SpecStream's own copy of the page or its newest public web archive capture, with the date of that copy in captured_at.
- price_usd
- The price of the pages read in this call.
How a refused page is read
A page that refuses a plain read comes from SpecStream's own copy with its date when SpecStream holds one; a page it holds no copy of is tried again in this order, and read_from says where the text came from.
As a browser
The request goes out again the way a browser would ask for the page.
In a real browser
If that is refused too, the page opens in a real browser and the text is read there.
From the site's feed
Next, the same page comes from the site's own API or feed, and read_from is site.
From the newest public archive capture
Last, the text comes from the newest public web archive capture. read_from is archive, and captured_at gives its time.
Agents pay per call, with no account
An agent with no key calls the same address, gets a 402 with the price, pays it, and reads the answer.
Drop-in migrations and comparisons
Change the base address and the key, and the code you run on Google, Exa, Tavily, Firecrawl, or Serper today runs on SpecStream.
Extract API questions
Something we didn't answer? Talk to a human
What does a page cost?
What if a page still can't be read?
Which formats does it return?
Can I retry a call safely?
Extract your first page
Sign up and get $2 of credit, no card.