# OCR to Markdown DE/EN

> OCR to Markdown DE/EN is a paid API for AI agents from ocr-x402-7t9a.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-01).

Extracts text from PDFs and images (German and English) via OCR, returning Markdown, plain text, or JSON per page

## Facts

- Endpoint: POST https://ocr-x402-7t9a.onrender.com/ocr?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ocr-to-markdown-de-en-c014cad9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C3e6wn636Fm1nu6bu9fD6

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 ocr-to-markdown-de-en-c014cad9 -d '<json body>'
```

Example prompt: Can you extract all the text from this scanned German invoice PDF and return it as Markdown? Here's the URL: https://example.com/invoice-de.pdf — it's about 3 pages.

## When to prefer this

Choose this endpoint when you need to extract text from scanned PDFs, image-based PDFs, or raster images (JPG, PNG, TIFF) — especially for German or English documents. It handles both native-text PDFs (via pdfplumber) and scanned documents (via OCRmyPDF/Tesseract) transparently. Prefer it over generic document converters when multilingual (DE/EN) OCR accuracy matters or when you need per-page structured output in Markdown or JSON.

## Known failure modes

- URL not publicly accessible or returns non-200 — extraction fails
- Unsupported file format submitted — returns error
- Image quality too low for accurate OCR — garbled or incomplete text returned
- base64 payload malformed or too large — parsing error
- Language outside German/English — lower accuracy or missed characters
- pages parameter mismatch with actual page count — billing or truncation issues

## How this service works

OCR for PDFs, scans and images (German + English). Text PDFs are read from the text layer (pdfplumber), scanned PDFs via OCRmyPDF/Tesseract, images via Tesseract. Returns Markdown, plain text or JSON per page. Price: per page, declared with ?pages=N (default 1).

## Output

Returns the extracted text content of the submitted PDF or image, formatted as Markdown, plain text, or JSON (one entry per page). For native-text PDFs the text layer is read directly; for scanned PDFs and images, Tesseract OCR is applied. The output preserves page structure and is billed per page declared via the pages query parameter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public http(s) URL of a PDF or image"
  },
  "filename": {
   "type": "string"
  },
  "file_base64": {
   "type": "string",
   "description": "Alternative to url: base64-encoded PDF/image"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ocr-to-markdown-de-en-c014cad9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ocr-x402-7t9a.onrender.com](https://www.zero.xyz/host/ocr-x402-7t9a.onrender.com/llms.txt)
