Any document in. Clean Markdown, tables and fields out.
One endpoint for PDFs, scans, Office files, images and email. Deskew detects the file type, routes each page to the right engine, and returns Markdown, text or structured JSON with tables, fields and per-page confidence.
Choose your path
Section titled “Choose your path”First requestSign up, create a test key and extract a document with cURL, Python, Node or Go in five minutes.
Integrate the APIEvery parameter of POST /v1/extract, the result and job objects, and the error codes to handle.
Webhooks and jobsQueue large documents, poll or get notified, verify signatures, handle retries and expiry.
Billing and limitsCredits, plan quotas, rate limits, the test daily cap and the spend cap.
How a request flows
Section titled “How a request flows”POST /v1/extract file=report.pdf quality=auto
→ detect magic bytes → pdf · 14 pages · 20 MB cap ok
→ plan page 1–11 digital (1 unit each) · 12–14 scanned (4 units each) → 23 units → async
→ route digital → text-layer · scanned → deskew → deskew-ocr → validate → retry → escalate
→ merge drop running headers · join 1 table across pages · build markdown / text / blocks
→ 202 job_01JE4KB0… (≤ 12 units and ≤ 20 MB would have been 200 with the result)
→ webhook job.completed · GET /v1/jobs/job_01JE4KB0…/result
Most read
Section titled “Most read”ConceptsPages, blocks and tables; engines and the quality knob; credits; the sync/async rule.
ErrorsThe envelope and every error code with cause and fix.
WebhooksEvents, payload, verifying Deskew-Signature, retries.
TablesTable JSON, cross-page merge, CSV.
Fields and schemasfields=true, stored schemas, POST /v1/schemas.
AuthenticationTest and live keys, scopes, rolling, IP allowlists.