Document extraction API

Documents in. Verified JSON out.

Parsefox turns PDFs, Word, Excel and images into data that follows your schema, and shows where every value came from.

northwind-invoice.pdfPage 1
Northwind Packaging Ltd.INVOICE
14 Harbour Road, Leeds LS1 4AP
Invoice no.
Issue date
Due date
Bill to
DescriptionQtyUnitAmount
4001.60640.00
Custom print plate1380.00380.00
Delivery1160.00160.00
Subtotal
VAT 20%
Total due ()
Verified/invoice_number

Source: INV-20418 · page 1

Evidence for every value

Each field carries the quote and location it came from, so people and programs can check it.

Verified, not guessed

Values are checked against the source. Anything uncertain is marked “needs review” instead of invented.

Built for pipelines

Async jobs, signed webhooks, free test keys and docs your coding agent can follow on its own.

How it works

Three calls from file to data

Upload, extract, read the result. Wait inline for small documents or get a signed webhook when a run finishes.

  1. 1

    Upload a document

    PDF, Word, Excel, CSV or a photo. Scans and handwriting are read page by page.

  2. 2

    Choose a schema

    Start from a template, describe the fields, or let Parsefox suggest a schema from a sample.

  3. 3

    Get verified JSON

    Values follow your schema, each with its source. Uncertain fields are flagged for review.

python · httpx
import os
import time

import httpx

api = httpx.Client(
    base_url="https://parsefox.dev/v1",
    headers={"Authorization": f"Bearer {os.environ['PARSEFOX_API_KEY']}"},
    timeout=90,
)

with open("invoice.pdf", "rb") as file:
    document = api.post("/documents", files={"file": file}).json()

job = api.post(
    "/extractions",
    params={"wait": 60},
    json={
        "document_id": document["document_id"],
        "schema_id": "sch_invoice",
        "schema_version": 1,
    },
).json()
while job["status"] in ("pending", "running"):
    time.sleep(2)
    job = api.get(f"/extractions/{job['job_id']}", params={"wait": 30}).json()

result = api.get(f"/extractions/{job['job_id']}/result").json()
print(result["data"])
if result["review_required"]:
    print("Needs review:", result["unresolved_fields"])

Using a coding agent? Point it at /llms.txt and the docs; they cover the whole integration.

Use cases

Any document your process runs on

Ready-made schemas cover common business documents. For anything else, describe the fields or let Parsefox suggest a schema from a sample.

  • Invoices and credit notes

    Supplier, invoice number, dates, VAT, totals and every line item, ready for your ERP or bookkeeping.

  • Receipts and expenses

    Merchant, date, payment method and purchased items from photos, scans and PDFs.

  • Purchase orders and quotations

    Order and quote numbers, buyer, vendor, validity, items and prices.

  • Bank statements

    Account, statement period, opening and closing balances and each transaction row.

  • Logistics documents

    Bills of lading, air waybills, packing lists, delivery notes and customs declarations.

  • Contracts and agreements

    Parties, dates, fees, terms and obligations from service, rental and NDA documents.

  • HR documents

    CVs, payslips and business cards turned into consistent records.

  • Insurance

    Policyholders, coverage, premiums, claim references and reported losses.

All use cases with sample results
Free pilot

We set it up on your documents

We are taking ten companies into a free pilot. Send a few sample documents and what you need from them; we tune the schema, run them and show you the results, accuracy and cost per document.

Apply for the pilot
Pricing

Free to build, pay for what you run

No subscription. Live runs are charged by actual model usage, and you see the estimate first.

Test mode

Free

Build and test your integration without spending anything.

  • pf_test_ keys return deterministic sample values
  • Same endpoints, webhooks and errors as live
  • No card, no limits on test calls

Pay as you go

Usage-based

Pay for the model usage of each run, from prepaid credit.

  • A cost estimate before every run, with a cap you set
  • Top up when you need
  • Top up any amount from $10 to $1,000, no subscription
  • Spending by day, schema and key in the console
Questions

What teams ask before they integrate

Anything else? Write to support@parsefox.dev.

How is this different from OCR?
OCR gives you text. Parsefox gives you the fields you asked for, shaped by your JSON Schema, with the quote and location each value came from. Scans and photos are read page by page; native PDF, Word, Excel and CSV files are read directly.
What if a value is not in the document?
Parsefox does not fill gaps with guesses. A value it cannot confirm against the source comes back as “needs review” with the reason, so your code can send it to a person instead of booking it.
Can it handle our own document types?
Yes. Start from one of 25 templates, write your own JSON Schema, or upload a sample and let Parsefox suggest one. Field descriptions and instructions steer the extraction.
What happens to our documents?
Parsefox runs on servers in Germany. Document content is sent to AI model providers only to extract values, under our data processing agreement, and is not used for training. Documents are deleted after 30 days, or right away through the API.
Can a coding agent do the integration?
That is how the docs are written. Point Claude Code, Codex or another agent at /llms.txt; it builds against a free test key, and your live key never has to enter the prompt.
Do I need a subscription?
No. Test mode is free, and live runs are paid from prepaid credit by actual usage, typically a few cents per document.