SDKs for the languages you write
Typed clients for Node, Python, Go and Ruby, with retries, pagination and timeouts handled for you.


One API that turns PDFs, invoices and receipts into clean JSON your code can trust.
Overview
Send a file, pick a schema and get every field back typed and checked, in the same request.

curl https://api.kodex.dev/v1/extract \-H "Authorization: Bearer $KODEX_API_KEY" \-H "Content-Type: application/json" \-d '{"file_url": "https://files.harbor.dev/inv_2041.pdf","schema": "invoice"}'
{"id": "ext_8Hq2LmZ4","status": "completed","data": {"vendor": "Lindqvist Paper Co.","invoice_number": "INV-2041","total": 1284.50,"currency": "USD","due_date": "2026-12-01"}}
Platform
Typed SDKs, signed webhooks, scoped keys and limits you can read. The parts every API team rebuilds, already done for you.
Typed clients for Node, Python, Go and Ruby, with retries, pagination and timeouts handled for you.


Signed events for every extraction. Failed deliveries back off and retry for 24 hours.

Separate test and live keys, read or write scopes, and rotation without downtime.
Every response carries your remaining quota in headers, so you can throttle before you hit a 429.

How it works
Send a file and a schema name. Kodex reads the document, types every field and returns JSON your code can trust, in the same request.
Step 1
Add the official package for your language, or call the REST endpoint straight from your terminal.
$ npm install @kodex/sdk
Node, Python, Go, Ruby and PHP

Step 2
Send your secret key as a Bearer token. Test keys return sample results and never touch live data or your bill.
Authorization: Bearer kdx_test_…
Rotate keys any time, without downtime

Step 3
Post a file URL and pick a schema: invoice, receipt, purchase order or your own. One request covers every page.
POST /v1/extract
Median response in 142 ms

Step 4
Every field comes back typed and checked, with a confidence score, ready to save straight into your database.
200 OK · 9 fields
Webhooks fire when it is done

Changelog
A dated record of every release, fix and deprecation, so you always know what changed before it reaches production.
v2.6.0
Failed webhook deliveries now back off and retry for up to 24 hours, with every attempt logged in the dashboard.
v2.5.2
Line items that continue across pages are no longer counted twice in the total field.
v2.5.0
Send schema: "receipt" to get merchant, date, line items, tax and total back as typed JSON.
Teams wire Kodex in as their first document pipeline and keep it. Across 1,200 teams it reads 40M pages a month at 99.2% field accuracy.
LedgerlineAccounts payable
Every invoice lands in the ledger typed and checked, with no one keying totals by hand.
Maya Ortiz, Head of Finance Ops
NorthbeamFreight
Bills of lading from nine countries come back as the same JSON, so one parser handles them all.
Jonas Weber, Platform Lead
ClearpathHealth claims
Claims are read while the patient is still at the desk instead of the next morning.
Priya Raman, CTO





Every account starts with 10,000 free requests a month. After that you pay per request.
What's included:
What's included:
What's included:
Testimonials

Engineers and founders on what changed after their first request.
Get an API key01 / 04
★★★★★
“We shipped invoice parsing in an afternoon”
We replaced 600 lines of PDF parsing with one request. Our finance team stopped fixing imports by hand the same week.

★★★★★
“The docs answered every question”
From sign-up to typed JSON in staging took eleven minutes. Every edge case we hit was already written up in the docs.

★★★★★
“Webhooks we never have to babysit”
Our server went down for an hour during a deploy. Every event arrived once it came back, in order, with nothing lost.

★★★★★
“Pricing we could explain to finance”
We estimate next month’s bill from our own request logs. No surprise invoices and no sales call to find out what we owe.

FAQ
Can’t find yours? Email support@kodex.dev and an engineer will reply.
Born-digital PDFs, scans, phone photos and emails saved as PDF. Built-in schemas cover invoices, receipts, purchase orders, bank statements and IDs.
Every field comes back with a confidence score. Fields below your threshold are flagged, so you can send them for review instead of trusting them blindly.
Yes. Extend a built-in schema or write your own in JSON. The Build plan includes 5 custom schemas and Scale has no limit.
In the EU or the US, your choice. Files are deleted after your plan's retention period, 7 to 90 days, and are never used to train shared models.
Node.js, Python, Go, Ruby and PHP. Anything else can call the REST API directly with a Bearer token.
The status page shows it within a minute, webhooks queue and retry for 24 hours, and Scale plans are covered by a 99.95% uptime SLA.
Start on the free tier today, or talk to an engineer about volume and custom schemas.
Grab a test key, paste the snippet, and get clean JSON back. 10,000 free requests a month.
Millions of documents, custom schemas or an uptime SLA? We'll scope it with you in one call.