DWS Data Extraction API
Nutrient Data Extraction API turns PDFs, scans, images, and Office files into structured JSON over HTTP: typed elements with bounding boxes, whole-document Markdown, schema-shaped fields with citations, document classes, and split boundaries. It reads more than 100 OCR languages and runs on Nutrient infrastructure; some AI inference for agentic parsing, auto parsing that selects agentic, and extract requests may run in the US.
What it does
The DWS Data Extraction API supports the following tasks:
- Extract paragraphs, tables, charts, formulas, pictures, QR codes, and barcodes from documents, with bounding box coordinates and confidence scores.
- Convert documents to structured Markdown for retrieval-augmented generation (RAG) pipelines, search indexing, and content migration.
- Extract domain-specific JSON data that matches your schema, with citations for each field that reference the source document.
- Classify documents into categories you define per request, with no training data or templates.
- Split merged files into their individual documents, with a confidence score for every boundary and no separator sheets.
- Route pages with
auto, or selecttext,structure,understand, oragenticmode. - Process documents in more than 100 languages with optical character recognition (OCR).
The DWS Data Extraction API is part of Nutrient Document Web Services (DWS). It extracts document content. For document generation, conversion, and editing, refer to the DWS Processor API guide. To split a file at known page ranges, use the split PDF API.
Which endpoint should I use?
Use parse to get a document’s structure as typed elements or whole-document Markdown. Use extract to return fields that match your JSON Schema, with citations. Use classify to rank labels you define, and split to find document boundaries in merged files. All four also accept asynchronous requests that return a queued run, once the workspace has that feature enabled. Asynchronous splitting also needs the split feature, and it returns HTTP 404 without it.
Return the document’s full structure as typed spatial elements with bounding boxes or whole-document Markdown.
Extract fields that match your JSON Schema, with citations for each field.
Returns ranked predictions for labels you define, so you can route documents before extraction.
Detects document boundaries in a merged file and returns page ranges with confidence scores.
Which processing mode should I use?
Start with auto, which routes each page to structure, understand, or agentic and bills at the selected mode’s rate. Pick text for born-digital documents that need Markdown without OCR. Pick structure for OCR with bounding boxes. Pick understand for AI layout analysis and table detection. Pick agentic for visual analysis with a vision language model.
Routes each page to <code>structure</code>, <code>understand</code>, or <code>agentic</code> mode and bills each page at that mode’s rate.
Extracts Markdown from born-digital documents without OCR or AI.
Uses OCR to extract typed spatial elements with bounding boxes.
Uses AI for layout analysis, table detection, and semantic classification.
Builds on <code>understand</code> mode with a vision language model (VLM) for visual analysis.
Parse costs $0.001 per page in text mode, $0.0015 in structure, $0.009 in understand, and $0.018 in agentic.
Output formats
Choose the output format your application needs.
Typed document elements — such as paragraphs, tables, formulas, and pictures — with bounding boxes, confidence scores, and reading order.
Returns whole-document Markdown for RAG, search indexing, and content pipelines.
What are the limits?
The Nutrient Data Extraction API limits file size, page count, input formats, and processing region. Check these limits before you design a pipeline:
- Direct uploads with a live key can’t exceed 150 MB per request. Files fetched from a
urlcan’t exceed 50 MB. Refer to the supported file types guide. - The split endpoint processes up to 1,024 pages per request. For Office documents, the limit applies after conversion to PDF.
- The classify endpoint accepts PDF, PNG, JPEG, and TIFF files. Office documents aren’t listed for classify.
- Each asynchronous run has a 15-minute processing limit. Refer to the run asynchronously guide.
- Extract requests and agentic parsing, including
autowhen it selectsagentic, have no EU-only processing option. Refer to the privacy guide.
Evaluate preset changes
Use evaluation sets to compare preset versions against reviewed documents and answer keys. Track value and citation accuracy, inspect misses, and check for regressions before publishing a change.
How do I send a first request?
Follow the get started guide to create an account, copy a live API key, and send a first parse request.
Essential guides
Start with these guides to set up your first request, explore the API, or review pricing.