Send a PDF or image to our API. Get clean, structured JSON back in seconds. Invoices, receipts, tax forms, and more.
{
"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.
MCP server included. Claude Code, Cursor, and any MCP-compatible AI can extract documents natively. Zero friction.
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.
SDKs, AI agent support, and a REST API. Pick what fits.
pip install apapyr
from apapyr import aPapyr
client = aPapyr("sk_live_your_key")
result = client.extract("invoice.pdf")
print(result.get_field("total")) # 1250.00
print(result.get_field("vendor_name")) # "Acme Corp"
print(result.confidence) # 0.97
npm install apapyr
const { aPapyr } = require("apapyr");
const client = new aPapyr("sk_live_your_key");
const result = await client.extract("invoice.pdf");
console.log(result.getField("total")); // 1250.00
console.log(result.getField("vendor_name")); // "Acme Corp"
console.log(result.confidence); // 0.97
# One command to connect your AI assistant:
claude mcp add apapyr -- npx @apapyr/mcp-server
# Then just ask naturally:
"Extract the data from invoice.pdf"
"Parse this receipt and give me the total"
"What's on this W-2?"
# Your AI agent handles everything. Zero code.
curl -X POST https://api.apapyr.com/v1/extract \
-H "Authorization: Bearer sk_live_your_key" \
-F "file=@invoice.pdf" \
-F "document_type=invoice"
Free tier. No credit card. Just an API key and you're live.
Get Your API Key