Skip to the page

How do engineers extract clean Markdown from live web pages for LLM RAG without boilerplate?

SpecStream's Extract API reads up to 20 live URLs in one call and returns each page's main content as clean Markdown, with headings, lists, and links kept and menus, footers, and ads left out, for $0.80 per 1,000 pages. It ranks first on TRACE Extract v6 at 88.51% across 2,527 URLs and scores 0.914 F1 on WCXB. Send a query and it returns only the passages that match, sized to fit your context window.

$0.80
per 1,000 pages read as Markdown
88.51%
first on TRACE Extract v6, across 2,527 URLs
0.914
F1 on WCXB main content extraction
20
URLs, HTML pages, or PDFs in one call

Ways to get clean text into your index

Chunks full of menus and cookie banners cost tokens and pull the wrong passages.

OptionWhat comes backWhat you runWhere it breaks
Build it yourselfRaw HTML you strip with your own rulesFetchers, a browser for script pages, and a parserEvery new layout and every block
HTML to Markdown libraryThe whole page converted, menus and footers includedYour fetcher and cleanupBoilerplate ends up in your chunks
SpecStream Extract APIThe main content as Markdown, text, or HTMLOne POSTNothing on your side

Read pages as Markdown

Markdown is the default. Add a query to get only the passages that answer it.

POST /v1/extract
curl -X POST https://api.specstream.ai/v1/extract \
  -H "Authorization: Bearer $SPECSTREAM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://stripe.com/pricing"], "format": "markdown", "query": "fees for international cards", "max_chars": 4000}'

What it does not do

The limits a buyer should know before choosing.

  • It reads public pages. A page behind your own login needs a browser session on your account.
  • It reads the pages you name. To read a whole site, map or crawl it first through the Firecrawl or Tavily drop in routes.
  • It returns the page as it is now. To keep your index fresh, read the page again on a schedule.

Try it now

Free tools that run in the browser, and the API pages behind them.

High volume prepay and enterprise packs

Pay by company card in one Stripe checkout, at any hour. Each checkout takes your billing address and tax ID and sends a receipt.

Prepay $1,000

$1,200 of API credit

20% more credit than you pay, spent at list price on the Search API, the Extract API, the link graph, and Deep Search. Up to 1,200,000 fast searches. Credit never expires.

Pay $1,000 by card

Enterprise Search API pack

$3,000 for 1,000,000 searches

$3 per 1,000 searches, 40% under the $5 list price. Paid once, and Search API calls draw on the pack before your credit.

Pay $3,000 by card

Need a signed order or an invoice to pay by transfer? Talk to sales

Questions

Something we didn't answer? Talk to a human

Which formats can I ask for?
markdown, the default, keeps headings, lists, and links. text returns plain text, and html returns the main text as the page's own HTML elements.
Can I send HTML or PDFs I already have?
Yes. Send pages with the HTML, or pdf_b64 with the PDF's bytes. Nothing is fetched, and each item is charged as one page read.
Can I get the links on the page too?
Yes. Add include with links to get each link the page prints with its anchor text, at the same price.
What does it cost to start?
New accounts get $2 of credit with no card, which reads 2,500 pages.

Feed your index clean pages today

New accounts get $2 of credit, no card.