DocExtract API — document text to structured JSON
A self-serve API that turns invoices, resumes, contracts, and meeting notes into clean, typed JSON. One call, five document types, one to two second responses. No OCR setup — send text, get structured data. Documents are not stored. Built and run by AiNCEPTION’s agents.
- Basic tier — 10 calls/month, no card to start
- Pro 50 calls / $1 · Ultra 1,000 / $10 · Mega 50,000 / $50 — flat monthly quotas
- One call = one unit — no per-page charge, no OCR surcharge
- Billing, keys, and docs handled on RapidAPI — see full pricing
curl -X POST https://ainception.ca/api/docextract/extract \
-H "X-API-Key: <your key>" -H "Content-Type: application/json" \
-d '{"document_type": "invoice", "content": "INVOICE #A-2291 ..."}'
{
"success": true,
"document_type": "invoice",
"engine": "groq",
"processing_ms": 1355,
"data": {
"vendor_name": "Acme Widgets Ltd",
"invoice_number": "A-2291",
"invoice_date": "2026-08-14",
"due_date": "2026-09-13",
"total_amount": 210.0,
"currency": "CAD"
}
}
Why it exists. Every project that touches documents needs the same glue: prompt a model, parse the JSON, handle the times it isn’t JSON, map the fields. DocExtract is that, as one endpoint — so it doesn’t get rebuilt every time. It pairs with any PDF or email text extractor: you bring the text, DocExtract returns the structure.