Get started

Parsefox documentation

Turn documents into JSON that follows your schema, with the source of every value.

Parsefox is a document extraction API. You upload a PDF, Word file, spreadsheet or image, say which fields you want with a JSON Schema, and get back JSON in exactly that shape. Every value comes with the quote and location it was read from and a status that tells you whether it was verified against the document.

How it works#

  1. Upload the file: POST /v1/documents returns a document_id.
  2. Extract: POST /v1/extractions with the document and a schema starts an asynchronous job.
  3. Get notified by a signed webhook, or wait on the job.
  4. Read the result: GET /v1/extractions/{job_id}/result returns data plus per-field status and sources.
  5. Handle review: fields Parsefox could not verify are listed in unresolved_fields, so your system can route them to a person instead of trusting a guess.

Start here#

Basics#

  • Base URL: https://parsefox.dev. All endpoints live under /v1.
  • Authenticate with Authorization: Bearer <key> (or X-API-Key: <key>). Create keys in the console under API keys.
  • Test keys (pf_test_…) are free and return sample values without reading the document. Live keys (pf_live_…) run real extractions and use credit. See Test mode.
  • Requests and responses are JSON, except file uploads (multipart). Errors share one shape; see Errors.
  • Supported files: PDF, PNG, JPEG, TIFF, DOCX and Excel (XLSX, XLSM, XLSB, XLS).

Machine-readable docs#