API-first document extraction
Documents in.
Structured JSON out.
Document Conversion turns PDFs, Word documents and images into clean, machine-readable data — built for invoice processing first, with a clean async API for everything else.
One API key · no SDK required · webhook or polling, your call
# 1 · Upload any document
curl -X POST https://document-conversion-service-q3q1.vercel.app/api/v1/documents/async \
-H "X-API-Key: $YOUR_API_KEY" \
-F "[email protected]"
202 Accepted
{"document_id": "62941875-…", "status": "queued"}
# 2 · Fetch the structured result
curl https://document-conversion-service-q3q1.vercel.app/api/v1/documents/62941875-…/result \
-H "X-API-Key: $YOUR_API_KEY"
{
"document_id": "62941875-3f09-4e16-b58c-2b4351b559b0",
"status": "completed",
"pages": [{
"page_number": 1,
"text": "Tax Invoice … Total $12.85",
"is_scanned": false,
"confidence": 0.9
}],
"raw_text": "Tax Invoice\nInvoice number …"
} PDF · DOCX · PNG · JPEG · TIFF
Input formats
Seconds
For text-based PDFs
low · normal · high
Priority queues
Webhooks + polling
Result delivery
Everything you need to get documents into your systems
One upload endpoint. Verified structured output. No per-format glue code.
Built for invoices
The pipeline is designed around invoice processing: text, tables and key-value fields extracted today, ML-based field extraction with a 90%+ accuracy target next.
Multi-format input
PDF, DOCX, PNG, JPEG, TIFF and BMP all go through the same upload endpoint. No format-specific integrations to maintain.
OCR for scanned documents
Image-only documents are deskewed, denoised and read with Tesseract + OpenCV preprocessing, with per-word bounding boxes and confidence.
Async by design
Uploads return immediately with a document ID. Workers process on priority queues, so a burst of files never blocks your requests.
Results you can verify
Structured JSON with per-page confidence scores, tables, key-value pairs and full processing metadata — not just a blob of text.
Secure by default
Scoped API keys with rotation, per-tier rate limiting, isolated object storage and a delete endpoint for every document.
Three steps from file to JSON
The whole flow is an async API — upload, extract, consume.
Upload
Send a file with your API key — one request. Optionally attach a webhook URL to be notified on completion.
curl -X POST "$API_BASE/api/v1/documents/async" \ -H "X-API-Key: $YOUR_API_KEY" \ -F "[email protected]" \ -F "priority=high"
Extract
The file is routed by format: PDF text + tables, DOCX structure, or OCR for images. Every page gets a confidence score.
GET /api/v1/documents/{id}/status
{
"status": "completed",
"progress": 100
} Consume
Fetch the structured JSON whenever you like, or let the webhook push it to your system the moment it lands.
GET /api/v1/documents/{id}/result
{
"document_id": "62941875-…",
"status": "completed",
"pages": [ … ],
"raw_text": "Tax Invoice …"
} Security
Built like infrastructure, not like a demo
Documents often contain financial and personal data. The platform treats them that way: authenticated access, bounded load, isolated storage and full deletion.
See the security-relevant endpointsAPI-key authentication
Every request is authenticated with a scoped key, hashed server-side (bcrypt). The plaintext key is shown once, at creation.
Key rotation & revocation
Rotate or revoke keys via the API without downtime for consumers of the new key.
Rate limiting
Sliding-window limits per key and per tier (free → enterprise), enforced at the edge of the API.
Isolated storage
Documents live in object storage keyed by user and document ID. There is no shared-public path.
Processing metadata
Every document records who uploaded it, when, how long processing took, and which worker produced the result.
Your data stays yours
Delete a document via the API and its files are removed from storage. No training on your documents.
Simple tiers, same API
Every tier gets the full product — tiers differ in throughput. Public pricing is coming soon; reach out and we'll set you up.
Tier throughput reflects the API's rate-limit tiers (free / standard / premium / enterprise). Final pricing to be announced at launch.
Frequently asked questions
Anything else, [email protected].
Which document formats are supported?
PDF, DOCX, PNG, JPEG, TIFF and BMP. Text-based PDFs and DOCX files are parsed directly; images and scanned documents go through OCR. More formats can be added behind the same upload API.
How fast is processing?
Text-based PDFs typically finish in a couple of seconds on CPU. OCR of a single page of clean text takes around five seconds. You choose the queue priority (low / normal / high) when uploading.
How accurate is invoice extraction?
Today the service extracts full text, tables and key-value pairs from PDFs, DOCX files and images — deterministic and verifiable. ML-based invoice field extraction (vendor, totals, dates, line items) with a 90%+ field-level accuracy target is the next milestone on the roadmap.
How do I get notified when a document is done?
Two ways: poll GET /api/v1/documents/{id}/status, or register a completion webhook when uploading — the API pushes the result to your endpoint with a signed payload.
What happens to my documents?
Files are stored in object storage tied to your account so you can re-fetch results and downloads later. You can delete any document (and its files) through the API at any time. Your documents are never used to train models.
Can I self-host or deploy on my own infrastructure?
The whole stack is Docker Compose-first and Kubernetes-ready (PostgreSQL, Redis, MinIO, API, workers, portal). Talk to us about self-hosted or private-cloud deployments.
Ready to turn documents into data?
Start with the quickstart, or email us and we'll provision an API key for your team.