This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/dws-data-extraction.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. DWS Data Extraction API

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 select text, structure, understand, or agentic mode.
  • 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.


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.

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.

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 url can’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 auto when it selects agentic, 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.