Send a PDF, scan or photo with a JSON Schema of up to 200 properties, nested 6 deep, and get exactly those fields back as JSON. $0.02 a page, 50 pages free, and line items with a total get re-added.

PDF to JSON API with your own schema

A 3-page document read with your own schema costs $0.06, the same as with a preset. A field named iban gets its check digits, line_items with a grand_total get the invoice sums, and any value no sum or checksum reads comes back unchecked.

Updated

Example

An electricity bill read with your own schema

kestrel-bill-KB-26-120957.pdf is a one-page Irish electricity bill with four charge lines and VAT. The schema.json tab names 16 fields; no preset and no field rules were sent. Its supplier, bill number and date aren't named like the invoice preset's vendor.name, invoice_number and issue_date, so the job wrote no QuickBooks or Xero file and names the missing fields in warnings.

POSTapi.parserkit.com/v1/parse?wait=60

curl "https://api.parserkit.com/v1/parse?wait=60" \
  -H "Authorization: Bearer $PARSERKIT_API_KEY" \
  -F file=@kestrel-bill-KB-26-120957.pdf \
  -F schema=<schema.json
response.jsonpartial

1 of 35 values went unchecked: kwh_used, the 465 kWh meter total, because no sum or checksum on the bill reads it.

{
  "id": "job_15d0xk9imxnrotwvpg9x",
  "status": "succeeded",
  "pages": 1,
  "cost_usd": 0.02,
  "verification_status": "partial",
  "data": {
    "supplier": "KESTREL BAY ENERGY",
    "bill_number": "KB-26-120957",
    "bill_date": "2026-10-18",
    "account_number": "2207 3150 84",
    "customer_name": "Cian Moloney",
    "plan": "Kestrel Flex",
    "period_start": "2026-09-15",
    "period_end": "2026-10-15",
    "kwh_used": 465,
    "line_items": [
      {
        "description": "Day units",
        "quantity": 318,
        "unit": "kWh",
        "unit_price": 0.3124,
        "total": 99.34
      },
      {
        "description": "Night units",
        "quantity": 147,
        "unit": "kWh",
        "unit_price": 0.1782,
        "total": 26.2
      },
      {
        "description": "Standing charge",
        "quantity": 30,
        "unit": "days",
        "unit_price": 0.684,
        "total": 20.52
      }
    ],
    "subtotal": 149.93,
    "tax_total": 13.49,
    "grand_total": 163.42,
    "currency": "EUR",
    "due_date": "2026-11-03",
    "iban": "IE83KBAY93100587204615"
  },
  "verification": {
    "status": "partial",
    "math_balanced": true,
    "coverage": {
      "values": 35,
      "checked": 34
    },
    "checks": [
      {
        "kind": "line_total",
        "path": "line_items[0].total",
        "status": "pass",
        "expected": 99.3432,
        "actual": 99.34,
        "difference": -0.0032,
        "message": "quantity x unit price"
      },
      {
        "kind": "line_total",
        "path": "line_items[1].total",
        "status": "pass",
        "expected": 26.1954,
        "actual": 26.2,
        "difference": 0.0046,
        "message": "quantity x unit price"
      },
      {
        "kind": "sum",
        "path": "subtotal",
        "status": "pass",
        "expected": 149.93,
        "actual": 149.93,
        "difference": 0,
        "message": "the line totals"
      },
      {
        "kind": "sum",
        "path": "grand_total",
        "status": "pass",
        "expected": 163.42,
        "actual": 163.42,
        "difference": 0,
        "message": "the line totals + tax"
      },
      {
        "kind": "iban",
        "path": "iban",
        "status": "pass",
        "actual": "IE83KBAY93100587204615",
        "message": "a well-formed IBAN"
      }
    ]
  },
  "outputs": [
    {
      "name": "output.json",
      "bytes": 10304
    },
    {
      "name": "output.xlsx",
      "bytes": 9243
    },
    {
      "name": "output.csv",
      "bytes": 185
    }
  ],
  "warnings": [
    {
      "code": "EXPORT_INCOMPLETE",
      "message": "quickbooks.csv was left out: kestrel-bill-KB-26-120957.pdf has no Supplier (vendor.name), Bill no. (invoice_number) or Bill Date (issue_date)",
      "document": 0,
      "page": null
    },
    {
      "code": "EXPORT_INCOMPLETE",
      "message": "xero.csv was left out: kestrel-bill-KB-26-120957.pdf has no ContactName (vendor.name)",
      "document": 0,
      "page": null
    }
  ]
}

Real response from . Trimmed to 3 of 4 line items and 5 of 7 checks, with bounding boxes, empty fields and file links left out.

PDF to JSON APIs side by side

List prices from each vendor's own pricing page, as of November 2026.

PDF to JSON APIs side by side
APIPriceFree to startNotes
parserkit$0.02 a page, $0.01 past 5,000 pages a month50 pages, no cardYour schema's fields, sums re-added when it has totals
Reducto$0.02 a page for Extract, $0.01 a page for Parse$150 of creditFields cost the Extract rate
ExtendParse $0.005 or $0.02 a page; Extract adds $0.007 or $0.0310,000 free credits ($100)Fields cost Parse plus Extract
LlamaParse$0.0015 to $0.0375 a page by parse mode10,000 credits a monthReturns Markdown
Mistral OCR$0.004 a page, $0.005 with annotationsFree API tier, rate limitedReturns page text as Markdown

Sources: Reducto pricing, Extend pricing, LlamaParse pricing, Mistral OCR pricing

Checks

What gets checked in your schema

  • Invoice sums

    line_items with a grand_total or amount_due: every row, the subtotal, the total and the amount due are re-added.

  • Receipt sums

    items with a total: every item and the total, cash rounding included.

  • Statement balances

    transactions with an opening_balance or closing_balance: the running and closing balances.

  • Identifiers

    Fields named iban, vat_id, ein, routing_number or card_number get their checksum or format check.

  • Text values

    Looked up in the words of the page. A number counts only when a sum, a checksum or a second reading confirms it.

  • Formats

    date comes back as YYYY-MM-DD and currency as an ISO 4217 code.

Send a schema with the file

POST the file to /v1/parse with schema instead of preset: a JSON Schema as text in a multipart form, or as an object in a JSON body. It can be up to 64 KB, nest 6 levels deep and hold 200 properties, and an enum takes up to 500 values. A description goes to the model with its field, so use it where a name could mean several things. The schema reference lists every keyword and limit.

When your fields get checked

Name the fields like a preset does and the same arithmetic runs. line_items with a grand_total or amount_due get the invoice sums, items with a total the receipt sums, and transactions with an opening or closing balance the statement checks. Fields named iban, vat_id, ein, routing_number or card_number get their identifier checks.

Text values are looked up in the words of the page. A number counts as checked only when a sum, a checksum or a second reading confirms it, so a lone figure like the meter total in the example stays unchecked, and the status says partial with the count.

Field rules

Send field_rules next to the schema to clean values after the read: iso_date, iso_currency, net_of_vat, regex, enum_map and instruction, up to 100 a job. A value a rule changes no longer matches the printed words, so it loses its checks and counts as unchecked.

field_rules.json
[
  {
    "field": "account_number",
    "transform": "regex",
    "pattern": "\\s+",
    "replacement": "",
    "flags": "g"
  },
  {
    "field": "plan",
    "transform": "enum_map",
    "map": {
      "Kestrel Fixed 12": "fixed",
      "Kestrel Flex": "variable"
    },
    "fallback": "other"
  }
]

What it costs

A custom schema costs the same as a preset: $0.02 a page, so a 3-page document is $0.06, and $0.01 a page past 5,000 pages in a UTC month. Failed jobs and exact duplicates cost nothing, and the first 50 pages are free with no card. See pricing.

Parsers hand you text, not fields

LlamaParse and Mistral OCR turn a page into Markdown, and your code still has to find the supplier, the dates and the totals in it. Reducto and Extend charge again for fields: Reducto's Extract is $0.02 a page against $0.01 for Parse, and Extend's Extract adds $0.007 or $0.03 a page to its Parse price.

parserkit reads the file and fills your schema in one call at $0.02 a page, then re-adds the sums when your schema has totals and checks any field named iban, vat_id or ein, so a misread total comes back flagged instead of landing in your database.

FAQ

Common questions

What does the schema look like?

A JSON Schema object with properties. Types, required, enum, description and the formats date, date-time, time, currency, country, email, uri and iban are understood.

Do my own fields get the math checks?

Yes, when they are named like a preset's: line_items with a grand_total or amount_due, items with a total, or transactions with an opening or closing balance.

Why is a value marked unchecked?

No sum, checksum or second reading confirmed it, or a field rule changed it. The status counts the checked values, and partial means some were not.

Does it work on scans and photos?

Yes. Scanned pages are read with OCR, and photos can be JPEG, PNG, WebP, HEIC or TIFF, up to 250 pages a job.

How much does PDF to JSON cost?

$0.02 a page with a custom schema or a preset, and $0.01 past 5,000 pages in a UTC month. A 3-page document is $0.06, and parserkit's first 50 pages are free.

How is this different from LlamaParse or Mistral OCR?

LlamaParse and Mistral OCR return the page as Markdown, and you still write the code that finds each field in it. parserkit returns the fields your schema names, typed, with dates as YYYY-MM-DD and the sums re-added when the schema has totals.

Start free

Send us your worst scan

Your first $1 is free: 50 pages with every check and export, no card.

Crumpled receipts and a printed bank statement with one line marked in green highlighter, on a dark desk