Nutrient Data Extraction API: JSON Matching Your Schema With Per-Field Citations and Confidence
In one sentence
Nutrient’s Data Extraction API parses documents into schema-matched JSON, providing per-field page citations, match labels, and confidence scores to prevent LLM extraction errors.
Key points
- Parses PDFs, scans, images, and Office files into spatial JSON or Markdown, with endpoints for classification and splitting.
- Offers four parse modes—text, structure, understand, and agentic—plus auto routing to balance cost and complex layout handling.
- Attaches bounding boxes, match labels, and composite confidence scores backed by an open-source NLI model to each extracted field.
- Developers can test workflows, generate schemas, and save versioned processors in the Studio browser workspace for API calls.
In depth
An AI-written overview of the original article, not the article itself.
To address costly errors when LLMs extract wrong values from documents, Nutrient has launched its Data Extraction API. According to the article, the API parses PDFs, scans, images, and Office files into spatial JSON or Markdown, mapping fields to a user's schema with page citations, match labels, and confidence scores. On Nutrient's WholeDoc Bench, its Agentic mode achieved a top score of 86.2 at 1.8 cents per page.
Core Features and Studio Workflow
The API maps document fields onto custom JSON schemas and offers endpoints for classification, splitting, and form filling. Each extracted value is anchored to a page via a bounding box, a match label such as id_match, and a composite confidence score combining token probability, candidate margin, grounding, and format. Nutrient also open-sourced its NLI grounding model under the Apache-2.0 license.
Before writing code, developers can use Studio, a browser workspace, to upload sample files, draft or generate schemas, and inspect results. Setups can be saved as versioned processors with unique IDs and evaluated against up to 25 reviewed documents.
Modes, Pricing, and Deployment
The API offers four parse modes—text, structure, understand, and agentic—along with auto routing, defaulting to understand. Understand-mode extraction costs $0.015 per page for complex layouts, while agentic mode handles cursive, degraded scans, and charts at $0.024 per page. A free plan includes $5 in monthly usage, covering roughly 330 understand-mode extractions.
Beyond the cloud API, the engine runs offline on private servers via an SDK or locally on a Mac app with a local model. Nutrient also provides a hosted MCP server requiring no API key, allowing agents like Claude Code, Claude, and Codex to connect directly.
Benchmark Performance
Nutrient's WholeDoc Bench evaluates whole documents across 480 files and over 30 languages. Out of 19 tested settings, Nutrient Agentic ranked first at 86.2, ahead of Claude Fable 5.1 at 67.1 (17.8 cents per page) and Azure Document Intelligence at 65.9. However, Nutrient built and ran the benchmark with a private main test set, and charts and cross-page tables remain challenging, with 64.5 as the highest chart score.
This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.