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

Nutrient hosts the DWS Data Extraction API at https://api.nutrient.io. Use this HTTP API to extract structured content and domain-specific data from documents.

Base URL

Use this base URL for all Data Extraction API endpoints:

https://api.nutrient.io

All endpoints are relative to this base URL.

Authentication

Include your API key in the Authorization header with every request:

Authorization: Bearer pdf_live_...

Get API keys from the DWS API keys page(opens in a new tab). Live keys start with pdf_live_ and work with every DWS integration enabled for your account by default. Create a scoped live key when an integration requires restricted access.

Support must enable test keys for your account before you can use them. Test keys have additional limitations.

Use test keys for the following tasks:

  • Health checks
  • Continuous integration and continuous delivery (CI/CD) pipelines
  • Integration testing

New accounts receive a global secret API key for DWS APIs. For production, create scoped secret API keys for the products your backend uses. These products include DWS Data Extraction API and DWS Processor API.

If /extraction/* returns 403, verify that the key’s scope includes Data Extraction API.

Keep secret API keys on your backend. DWS Viewer API also supports publishable API keys for standalone Web SDK authorization. You can embed publishable keys in frontend code when you restrict their scope to your domains.

Available endpoints

The API provides endpoints to parse, extract, classify, and split documents. It also supports asynchronous requests and access to stored runs.

EndpointDescription
POST /extraction/parseExtracts structured spatial elements or Markdown from documents. Supports auto routing and four explicit modes: text, structure, understand, and agentic.
POST /extraction/extractExtracts domain-specific JSON data that matches your JSON Schema. Supports optional citations for each field.
POST /extraction/classifyScores a document against labels you define and returns ranked predictions. Uses zero-shot classification, which requires no training data or templates.
POST /extraction/splitDetects document boundaries in a merged file and returns page ranges with confidence scores. Requires no barcodes or separator sheets.
POST /extraction/{parse,extract,classify,split}/asyncAccepts the same request as the synchronous endpoint. Returns HTTP 202 with a queued run that you can poll. Supports long documents and bulk workloads.
POST /extraction/batchesProcesses up to 10 documents with the same operation and settings in one request. Returns HTTP 202 with a running batch that you can poll.
GET /extraction/runs/{runId}Returns a stored run’s status, cost, and download links for input and result files.

Further details

Use these guides to continue configuring the Data Extraction API:

  • Refer to the supported languages guide for more than 100 optical character recognition (OCR) languages. The guide includes International Organization for Standardization (ISO) codes and aliases.
  • Refer to the supported file types guide for the PDFs, images, and Office files the API accepts.
  • Refer to the error handling guide for HTTP status codes, error response formats, and troubleshooting.