Skip to content
Developer in an orange cap working on a laptop outdoors, seated on orange blocks

Ship your first API call before the coffee cools

One API that turns PDFs, invoices and receipts into clean JSON your code can trust.

Overview

You don’t need another parser. You need JSON your code can trust.

Send a file, pick a schema and get every field back typed and checked, in the same request.

POST /v1/extract
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"
}'
Response · 200 OK142 ms
{
"id": "ext_8Hq2LmZ4",
"status": "completed",
"data": {
"vendor": "Lindqvist Paper Co.",
"invoice_number": "INV-2041",
"total": 1284.50,
"currency": "USD",
"due_date": "2026-12-01"
}
}
  • Extracted in 142 ms
  • 9 fields typed
  • Confidence 0.98
  • Webhook delivered
  • No retries needed
  • Node.js
  • Python
  • Go
  • Ruby
  • PHP
  • Plain REST

Platform

Built for how your team ships

Typed SDKs, signed webhooks, scoped keys and limits you can read. The parts every API team rebuilds, already done for you.

SDKs for the languages you write

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

Install an SDK

Webhooks that retry on their own

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

Set up webhooks

Keys you can scope and rotate

Separate test and live keys, read or write scopes, and rotation without downtime.

Manage API keys

Rate limits you can read, not guess

Every response carries your remaining quota in headers, so you can throttle before you hit a 429.

Read about limits

How it works

One request, real output

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

Install the SDK

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

Authenticate with one key

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

Send a file and a schema

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

Get typed JSON back

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

Shipped lately

A dated record of every release, fix and deprecation, so you always know what changed before it reaches production.

Read the full changelog
  1. v2.6.0

    Webhooks retry on their own

    Failed webhook deliveries now back off and retry for up to 24 hours, with every attempt logged in the dashboard.

  2. v2.5.2

    Correct totals on multi-page invoices

    Line items that continue across pages are no longer counted twice in the total field.

  3. v2.5.0

    Receipt schema

    Send schema: "receipt" to get merchant, date, line items, tax and total back as typed JSON.

Customers

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.

  • Person in a white sweater and grey beanie typing on a laptop beside a red panelLedgerline

    Accounts payable

    4.2Minvoices a month

    Every invoice lands in the ledger typed and checked, with no one keying totals by hand.

    Maya Ortiz, Head of Finance Ops

  • Person in a cream outfit and orange beanie working on a laptop between orange plinthsNorthbeam

    Freight

    9languages, one schema

    Bills of lading from nine countries come back as the same JSON, so one parser handles them all.

    Jonas Weber, Platform Lead

  • Person in a teal sweater working on a laptop on a pink block in a pastel roomClearpath

    Health claims

    2sper claim, from 40s

    Claims are read while the patient is still at the desk instead of the next morning.

    Priya Raman, CTO

  • Sage green armchair in a softly lit room
  • Typed
  • Vintage reel-to-reel tape deck on a plinth
  • Signed
  • Person in a black turtleneck wearing an oversized blonde hat
  • Retried
  • Man in a cap and olive hoodie, softly blurred
  • Delivered

Start free, scale on usage

Every account starts with 10,000 free requests a month. After that you pay per request.

  • Free

    Try every schema on real documents, no card needed.

    $0/mo
    Get startedNo credit card

    What's included:

    • 10,000 requests a month
    • All built-in schemas
    • Test and live keys
    • Community support
  • Build

    For teams shipping extraction to production.

    $49/mo
    Start free trial14 days free

    What's included:

    • 100,000 requests a month
    • $0.40 per extra 1,000
    • 5 custom schemas
    • Signed webhooks with retries
    • Email support
    • 30-day file retention
  • Scale

    High volume, custom schemas and an uptime SLA.

    $399/mo
    Contact salesBuilt for teams

    What's included:

    • 1,500,000 requests a month
    • $0.25 per extra 1,000
    • Unlimited custom schemas
    • 99.95% uptime SLA
    • SSO and audit log
    • Dedicated support engineer

Testimonials

Teams that ship with Kodex

Two colleagues talking over coffee at a white table

Engineers and founders on what changed after their first request.

Get an API key
  • ★★★★★

    “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.

    Elena MarchettiLead engineer, Tallow Finance
    A woman in a black top sitting at a table
  • ★★★★★

    “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.

    Tomás FerreiraCTO, Ledgerline
    A man in a dark grey hoodie at a desk
  • ★★★★★

    “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.

    Arif HossainBackend engineer, Parcelgrid
    A man in an office looking at the camera
  • ★★★★★

    “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.

    Amara OkoyeHead of platform, Copperleaf
    A smiling woman in a yellow blazer holding a tablet

FAQ

Frequently asked questions

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.

Your first request is one command away

Start on the free tier today, or talk to an engineer about volume and custom schemas.

  • Start building

    Grab a test key, paste the snippet, and get clean JSON back. 10,000 free requests a month.

    Get an API key
  • Talk to an engineer

    Millions of documents, custom schemas or an uptime SLA? We'll scope it with you in one call.

    Contact sales