Skip to the page

PDF to Markdown API in 2026

One price per document, $0.0008.

Most PDF to Markdown APIs bill by the page or by the call. Firecrawl takes 1 credit per PDF page, pdfRest bills each call over its plan at $0.06 to $0.115, and the Apify actor adds $0.00012 for every page.

SpecStream's Extract API reads a PDF, Word, Excel or EPUB file at its URL and returns its text, in Markdown by default, at $0.0008 a document ($0.80 per 1,000). One call takes 20 URLs, and a file with no text is not charged.

The Extract API scores 0.908 F1 on WCXB, on the benchmarks page. The same key searches the web, so an agent finds a PDF with filetype:pdf and reads it in the next call.

New accounts get $10 of credit, no card. It covers 12,500 documents.

PDF to Markdown APIs side by side

SpecStreamFirecrawl /parsepdfRestApify PDF to Markdown actor
Price$0.0008 a document, $0.80 per 1,000. A file that gives no text costs nothing1 credit per PDF page, scanned pages included. Standard is $99 a month for 100,000 creditsPer call. Premium is $9.99 a month for 600 calls, then $0.115 a call. Pro is $99.99 for 5,000, then $0.06$0.0011 a document plus $0.00012 a page
1,000 PDFs of 20 pages$0.8020,000 credits, inside the $99 Standard plan$55.99 on Premium: $9.99 plus 400 calls at $0.115$3.50: $1.10 in document fees and $2.40 in page fees
What you sendUp to 20 http or https URLs in one call, up to 20 MB a callA file upload, up to 50 MB. For a public document URL, Firecrawl points you to /scrapeA file upload as file=@/path/to/your_document.pdfPDF URLs or an uploaded file, up to 500 pages per document
Files it readsPDF, Word, Excel, EPUB, images and web pages, in the same callPDF, DOCX, XLSX and morePDFPDF only
What comes backtext in Markdown or plain text, with title, the published and modified dates and every email address the file carriesMarkdown, per-page content, typed layout blocks or structured JSONA Markdown fileMarkdown, plain text or JSON chunks with page numbers
Free to start$10 of credit, no card: 12,500 documents1,000 credits every month100 calls a month, with watermarked outputPay per event, no monthly fee

Why read PDFs through SpecStream

Other PDF to Markdown APIs

How SpecStream scores

The same numbers as the benchmarks page, from the official tasks and scorers.

How to convert PDFs with SpecStream

1. Create a key under Agents & API in the workspace. A new account gets $10 of credit, no card, which covers 12,500 documents.

2. Send the PDF URLs to POST https://api.specstream.ai/v1/extract with the key as a Bearer token. format is markdown by default, or text.

const reply = await fetch("https://api.specstream.ai/v1/extract", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SPECSTREAM_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ urls: ["https://arxiv.org/pdf/1706.03762"], format: "markdown" }),
}).then((r) => r.json());

for (const doc of reply.data.results) {
  if (doc.status === "ok") console.log(doc.title, doc.text.slice(0, 500));
}

3. Already scraping PDF URLs with Firecrawl? Set the base address to https://api.specstream.ai/firecrawl and keep POST /v2/scrape with {"url": "<the PDF>"}. The reply keeps Firecrawl's data.markdown and data.metadata, and each scrape is one Extract API page.

4. For an MCP client, add the server https://api.specstream.ai/mcp with OAuth or the API key. The read_pages tool takes {"urls": ["<url>"]} and bills each document as one page read.

Frequently asked questions

Something we didn't answer? Talk to a human

What is the best PDF to Markdown API?
SpecStream's Extract API, at $0.0008 a document, 20 URLs a call and 0.908 F1 on WCXB. It reads PDF, Word, Excel and EPUB files and web pages with one key, where Firecrawl bills 1 credit per PDF page and pdfRest bills each call.
How much does a PDF to Markdown API cost?
SpecStream costs $0.80 per 1,000 documents. Firecrawl takes 1 credit per PDF page, with 100,000 credits for $99 a month. pdfRest is $9.99 a month for 600 calls, then $0.115 a call. The Apify actor is $0.0011 a document plus $0.00012 a page.
Can I send a file from my disk?
Send its URL. The Extract API reads any public http or https address, so a signed link from your storage works, up to 20 MB a call.
Does it read Word and Excel files too?
Yes. The same call reads PDF, Word, Excel and EPUB files, images and web pages, each at $0.0008.
Is a file with no text charged?
No. Only a document returned with status ok is charged. empty, blocked, not_found, unsupported and failed cost nothing.
Can my agent convert PDFs through MCP?
Yes. Connect to https://api.specstream.ai/mcp with OAuth or an API key. The read_pages tool reads up to 20 URLs a call at $0.0008 each.
Is there an open source PDF to Markdown tool?
MarkItDown is a Python utility you install and run on your own machines. SpecStream reads the file at its URL for $0.0008, with nothing to host.

Sources

SpecStream wrote this page. Each figure on another product comes from that product's own page.

  1. Firecrawl, best document parsing APIsfirecrawl.dev/blog/best-document-parsing-apis, read Nov 12, 2026
  2. Firecrawl docs, Parsedocs.firecrawl.dev/features/parse, read Nov 12, 2026
  3. Firecrawl pricingfirecrawl.dev/pricing, read Nov 12, 2026
  4. pdfRest PDF to Markdownpdfrest.com/apitools/pdf-to-markdown/, read Nov 12, 2026
  5. pdfRest PDF to Markdown tutorialpdfrest.com/learning/tutorials/how-to-programmatically-convert-pdf-to-markdown-for-ai-and-data-analysis-guide/, read Nov 12, 2026
  6. pdfRest pricingpdfrest.com/pricing/, read Nov 12, 2026
  7. Apify, PDF to Markdown actorapify.com/jcwilk/pdf-to-markdown, read Nov 12, 2026
  8. Adobe Acrobat Services pricingdeveloper.adobe.com/document-services/pricing/main/, read Nov 12, 2026
  9. Adobe PDF to Markdown API quickstartdeveloper.adobe.com/document-services/docs/overview/pdf-extract-api/quickstarts/pdf-to-markdown/python/, read Nov 12, 2026
  10. MarkItDown READMEgithub.com/microsoft/markitdown, read Nov 12, 2026
  11. SpecStream benchmarksspecstream.ai/benchmarks, read Nov 12, 2026
  12. SpecStream for agentsspecstream.ai/agents.md, read Nov 12, 2026