BiGapiguides
POST /v1/pdf/to-markdown · 1 cent per page

PDF → Markdown

Extract text from a PDF: clean, reflowed Markdown from the text layer — PDF to text for LLM context, summaries or RAG. Paragraphs joined, pages separated. Billed per page.

Try it

curl -X POST https://api.bigapi.dev/v1/pdf/to-markdown -H 'Authorization: Bearer $KEY' -F 'file=@report.pdf' -F 'output=json'

New keys come with 100 free operations, no signup: curl -X POST https://api.bigapi.dev/v1/keys. Failed calls cost nothing.

Parameters

NameMeaning
file requiredPDF with a text layer (for scans use ocr first). Pages without text are reported in X-BigAPI-Warnings and _meta.warnings (no_text_layer) instead of coming back silently empty.
firstFirst page to read (1 is the first page).
Default: first page
lastLast page to read.
Default: last page
layoutKeep column layout instead of reflowing paragraphs.
Default: false
outputMarkdown file or JSON {markdown, pages, total_pages}. Pages are separated by a line with ---.
Allowed: md, json
Default: "md"

Result and price

1¢/p · 1 cent per page

Returns text/markdown | application/json. Response headers carry the cost (X-BigAPI-Cost) and notes about your input (X-BigAPI-Warnings).

From an agent (MCP)

Connect BiGapi as an MCP server: https://api.bigapi.dev/mcp (hosted) or npx -y @bigapi/mcp (local). Then ask in plain words; the agent finds pdf_to_markdown on its own.