# Doc2JSON.de

> Doc2JSON.de is a paid API for AI agents from web-production-0590d.up.railway.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Parses unstructured German PDF documents into a caller-defined JSON schema using AI extraction, billed per call via USDC x402 micropayments.

## Facts

- Endpoint: POST https://web-production-0590d.up.railway.app/v1/extract
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/doc2json-de-f77c0592
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k6Pbh8g5ilMeyyjqxk6WV

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability doc2json-de-f77c0592 -d '<json body>'
```

Example prompt: Parse this German invoice PDF and extract the vendor name, invoice number, line items, total amount, and due date into a JSON object with those exact field names.

## When to prefer this

Choose this endpoint when you need to extract structured data from German-language PDF documents into a custom JSON schema you define. It is especially well-suited for automating German business document workflows (invoices, contracts, forms, tax documents) where the output schema varies per use case. The per-call micropayment model via x402 makes it cost-effective for low-to-medium volume workloads without subscription overhead.

## Known failure modes

- PDF is image-only with no extractable text — OCR may fail or return empty fields
- Schema fields don't correspond to content present in the document — missing or null values returned
- Non-German or mixed-language PDFs may reduce extraction accuracy
- Malformed or password-protected PDFs may cause parsing errors
- Network or payment authorization failures via x402 may prevent call completion
- Ambiguous or overlapping schema definitions may produce inconsistent field mapping

## How this service works

Parse unstructured (German) PDF documents into any agent-defined JSON schema. Pay per call with USDC via x402.

## Output

A JSON object conforming to the caller-supplied schema, populated with values extracted from the input PDF. Fields map to the schema keys provided, with values parsed from the German document text. The response is returned synchronously per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "object",
   "description": "JSON Schema the extracted data must conform to"
  },
  "document_url": {
   "type": "string",
   "description": "Public URL of the PDF document to parse"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/doc2json-de-f77c0592/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from web-production-0590d.up.railway.app](https://www.zero.xyz/host/web-production-0590d.up.railway.app/llms.txt)
