PDF to Markdown API—clean output in one request
POST any PDF and receive structured Markdown, page counts, token usage, and quota data. Use REST directly or install the BlazeDocs CLI.
REST + CLI · Stable errors · Usage headers
curl -X POST https://blazedocs.io/api/v1/convert \
-H "Authorization: Bearer $BLAZEDOCS_API_KEY" \
-F "file=@document.pdf"“Finally a PDF converter that outputs clean Markdown for my RAG pipeline.”
Alex T. · Software engineer
Make the source usable before the next workflow
Receive Markdown plus page count, token count, processing time, file name, and quota usage.
{
"success": true,
"data": { "markdown": "# Report..." }
}Structure you can use—not another text dump
Copy, POST, receive Markdown
Watch the complete API quickstart from key creation to a successful response.
Start with one copy-pasteable request
The examples use the production API response shape and work with the tools already in your stack.
curl -X POST https://blazedocs.io/api/v1/convert \
-H "Authorization: Bearer $BLAZEDOCS_API_KEY" \
-F "file=@document.pdf"API pricing that scales by pages
Test with the free tier, use Starter for small workloads, or choose Developer plans for production pipelines.
Developer API: 5,000 pages for $79/month
Questions before you try it?
Answers about accuracy, pricing, security, and this workflow.
How accurate is BlazeDocs OCR?+
BlazeDocs uses Mistral AI OCR and preserves reading order, headings, tables, formulas, and lists. Clean text PDFs are near-perfect; difficult scans typically exceed 95% character accuracy.
How does BlazeDocs pricing work?+
The free plan includes three uploads per month with the first five pages of each file. Paid plans start at $9.99 per month for 500 pages, with API plans for production volume.
Are uploaded documents private?+
Documents are processed securely and are not used to train models. PDFs are handled in memory rather than permanently stored; review the security and privacy pages for current controls.
How do I authenticate API requests?+
Send your key as Authorization: Bearer bd_live_... or through the x-api-key header. Keys are generated and revoked in the dashboard.
Does the API support retries safely?+
Yes. Use an idempotency key for retried jobs and inspect stable HTTP status codes plus rate-limit headers in every response.
Ready to make this document usable?
Try the workflow with your own document before deciding. No credit card required.