Document extraction API

Turn any document into
structured data

Upload a PDF or image. Receive clean JSON. DocAPI uses AI to extract invoices, contracts, receipts, and ID documents with precision — in under two seconds.

No credit card required — 50 pages free every month

Request — cURL
curl -X POST \
  https://docapi.site/api/process \
  -H "Authorization: Bearer dk_live_..." \
  -F "file=@invoice.pdf" \
  -F "extract_type=invoice"

# Works with curl, Node, Python, or any HTTP client.
# Supports PDF, PNG, JPG, WEBP.
Response — JSON
{
  "job_id": "d9e3fa12...",
  "status": "done",
  "doc_type": "invoice",
  "pages_charged": 2,
  "processing_ms": 1347,
  "result": {
    "invoice_number": "INV-2024-0042",
    "vendor": { "name": "Acme Corp" },
    "total": 1420.00,
    "currency": "EUR",
    "due_date": "2024-08-15"
  }
}
Used by teams at

Everything you need to extract
documents at scale

A complete API platform built for developers who need reliable, structured data from unstructured documents.

AI-powered extraction

Handles invoices, contracts, receipts, and ID documents. Auto-detect mode means zero configuration for mixed document pipelines.

Sub-two-second processing

Most documents are processed in under 1.5 seconds. Priority queue on paid plans ensures consistent latency even at volume.

Structured JSON output

Every response is clean, consistent JSON. Field names are stable and documented. No regex parsing, no brittle text extraction.

Job history and retrieval

Every processed document is stored and retrievable by job ID. Useful for audits, retries, and async pipelines.

API key management

Create, name, and revoke keys from the dashboard. Scope keys per environment — production and testing stay separate.

Usage-based billing

Pay per page, not per document. Upgrade, downgrade, or cancel anytime. No hidden fees or commitment contracts.

1.4s Avg processing time
99.7% Extraction accuracy
5 Document types supported

Three steps from document to data

No SDK required. Works with any language or framework that can make an HTTP request.

01

Authenticate your request

Create an API key from your dashboard. Pass it as a Bearer token in every request. Keys are scoped per project.

Authorization: Bearer dk_live_...
02

POST your document

Send a PDF or image as a multipart form upload. Specify the extract type or use auto to let DocAPI detect it.

POST /api/process
Content-Type: multipart/form-data
03

Receive structured JSON

Get a clean JSON object back in milliseconds. Every field is typed, named consistently, and ready to store or forward.

{ "status": "done", "result": { ... } }

Straightforward pricing.
No surprises.

Start for free. Scale when you need to. Cancel anytime.

Free
$0
50 pages per month, forever
  • 50 pages per month
  • All document types
  • API access included
  • Job history — 7 days
  • Community support
Start for free
Pro
$99
per month — 20,000 pages included
  • 20,000 pages per month
  • Bulk processing support
  • Job history — unlimited
  • Priority support
  • Usage analytics
Get Pro

Need more than 20,000 pages? Contact us for Enterprise pricing.

Developers ship faster with DocAPI

What teams building on DocAPI have to say.

"We replaced a brittle in-house invoice parser with DocAPI in an afternoon. It handles edge cases we never thought to write rules for. The JSON schema is clean and predictable."

TK
Thomas K.
Backend Engineer, Meridian

"The accuracy on scanned receipts surprised us. We process a few hundred per day and the error rate is far lower than anything we built internally. Good API, sensible pricing."

SL
Sara L.
CTO, Vaulted Finance

"Our legal team needed contract data extracted and structured. DocAPI handles clause extraction better than anything else we tested. Documentation is clear, integration took a few hours."

MR
Marcus R.
Product, Claris Legal

Start extracting in minutes

50 pages free every month. No credit card required. One endpoint.