Netz Handwerker Document API

The Document API from Netz Handwerker — 1 operation(s) for document.

GitHub OpenAPI

Operations 1

POST /document Turn one PDF into structured JSON: header fields, tables as rows and columns… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/netzhandwerker-de:netzhandwerker-de-document-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

netzhandwerker-de-document-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Extraction Hub Document API
  version: 1.0.0
  description: Pay-per-page document extraction and OCR for autonomous agents. PDF, PNG, JPEG or WebP in, structured JSON out, with a page and a position behind every field, plus every QR code and barcode decoded. No signup, no API key, no dashboard. Every call is settled in USDC over the x402 protocol.
  contact:
    name: Die Netzhandwerker
    url: https://netzhandwerker.de
servers:
- url: https://doc.halowerk.com
tags:
- name: Document
paths:
  /document:
    post:
      summary: 'Turn one PDF into structured JSON: header fields, tables as rows and columns…'
      description: 'The text layer is read first. Only pages without a usable text layer are rasterised and passed through OCR (German and English). With a JSON Schema the result is mapped onto that schema; without one the document is returned as header data, tables, key value pairs and per page full text. Fields that are not present in the document stay empty. Nothing is guessed. Price: 0.02 USDC per page with a text layer, 0.05 USDC per page that needs OCR, settled over x402 on Base Mainnet. The 402 answer names the exact amount for the file that was sent.'
      operationId: extract_document
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pdf_base64:
                  type: string
                  description: The PDF as base64. Use this or "url", not both.
                url:
                  type: string
                  format: uri
                  description: Public http or https URL of the PDF. Use this or "pdf_base64", not both.
                schema:
                  type: object
                  description: Optional JSON Schema. Every property is looked up in the document and returned with value, confidence and source. A property that is not in the document stays empty.
                pages:
                  description: Optional page range, for example "1-5", "2,4,7" or [1,2,3]. At most 20 pages per call.
                  anyOf:
                  - type: string
                  - type: array
                    items:
                      type: integer
                      minimum: 1
                include_raw:
                  type: boolean
                  default: false
                  description: With a schema, also return header data, tables and key value pairs alongside the mapped result.
      responses:
        '200':
          description: Structured document
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request body, page range, language or want list. Not charged.
        '402':
          description: Payment required. The body carries the exact price for this file. Retry with a PAYMENT-SIGNATURE header.
        '403':
          description: The origin refused the download or robots.txt disallows it. Not charged.
        '413':
          description: Document larger than the byte limit, or more pages requested than the per call limit. Not charged.
        '415':
          description: Not a PDF. Not charged.
        '422':
          description: Encrypted or unreadable PDF. Not charged.
        '429':
          description: Too many unsettled requests from this address.
        '504':
          description: The hard time limit was reached. Not charged.
      x-x402:
        pricing: per_page
        price:
          model: per_page
          text_page:
            amount: '20000'
            display: $0.02
          ocr_page:
            amount: '50000'
            display: $0.05
          max_amount: '1000000'
          asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
          decimals: 6
          network: eip155:8453
      tags:
      - Document
x-service:
  slug: doc-extract
  tags:
  - document-extraction
  - pdf-to-json
  - ocr
  - barcode
  - qr-code
  - invoice-parsing
  - table-extraction
  - agent-tools
  - accounting
  - procurement
  - archive
  payment_protocol: x402
  pricing_model: per_page
  endpoint_count: 5
  paid_endpoint_count: 2