Send a PDF or image to our API. Get clean, structured JSON back in seconds. Invoices, receipts, tax forms, and more.
# Upload an invoice, get structured JSON
curl -X POST https://api.apapyr.com/v1/extract \
-H "Authorization: Bearer sk_live_your_key" \
-F "file=@invoice.pdf" \
-F "document_type=invoice"
# Response:
{
"document_type": "invoice",
"confidence": 0.97,
"data": {
"vendor_name": { "value": "Acme Corp", "confidence": 0.99 },
"total": { "value": 1250.00, "confidence": 0.98 },
"due_date": { "value": "2026-04-15", "confidence": 0.95 }
}
}
One API call. No training. No configuration. It just works.
Invoices, receipts, W-2s, bank statements, and contracts — with pre-built schemas. Or use auto-detect.
Average processing time under 3 seconds. Results cached — reprocess the same document instantly.
Every field includes a confidence score (0.0 to 1.0). You decide your automation threshold.
Line items cross-checked against totals. We flag discrepancies so you don't have to.
Get results pushed to your server. No polling needed. Perfect for async workflows.
PDF, PNG, JPG, WEBP — even photos of crumpled receipts. Handwriting? Handled.
From document to data in three steps.
Send a PDF or image to our /v1/extract endpoint with your API key.
Our AI reads and understands the document — layout, context, handwriting, and all.
Get clean, structured JSON with confidence scores. Use it however you want.
Start free. Scale as you grow. No surprise fees.
Overage: $0.03 per page beyond your plan limit. No hard cutoffs on paid plans.
Free tier. No credit card. Just an API key and you're live.
Get Your API Key