# Tanod pdfpeek PDF Translation

> Tanod pdfpeek PDF Translation is a paid API for AI agents from tanod.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-12-02).

Translates a PDF document (up to 10 pages, digital or OCR-scanned) into English or 14 other languages, returning the result as structured Markdown with page markers.

## Facts

- Endpoint: POST https://tanod.dev/v1/docs/translate?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-pdfpeek-pdf-translation-3401946a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uv1NLlMAPeOiw9iqaJhkX

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 tanod-pdfpeek-pdf-translation-3401946a -d '<json body>'
```

Example prompt: Can you translate this French PDF contract into English Markdown — here's the URL: https://example.com/contrat.pdf — just the first 5 pages, and use OCR if needed since it's a scanned document.

## When to prefer this

Use this endpoint when an agent needs to read or process a PDF document written in a foreign language, especially scanned documents requiring OCR. It is specifically designed for per-call, pay-as-you-go PDF translation with no API key or subscription, supports 15 languages, and returns clean Markdown with page markers — ideal for agents that need to ingest foreign-language documents inline. Prefer it over generic translation APIs when the input is a PDF file (not plain text) and over PDF extraction tools when translation is also required.

## Known failure modes

- PDF URL is inaccessible, private, or exceeds 20 MB — returns an error refusing the URL
- More than 10 pages requested per call — returns a validation error on the pages parameter
- Base64 payload exceeds 10 MB decoded limit — returns a size error
- Unsupported source or target language code — returns a pattern validation error
- OCR fails on a heavily degraded scan — may return empty or garbled page text
- PDF is password-protected or encrypted — translation fails with an access error
- Network timeout fetching a slow remote PDF URL

## How this service works

pdfpeek (Tanod) document translation: a PDF of up to 10 pages, digital or scanned (OCR), translated into English or 14 languages as Markdown with page markers. Use when an agent must read a PDF or scanned document in another language, translated to English as Markdown.

## Output

A JSON response containing an array of page objects, each with the translated Markdown text (and optionally the source text), plus metadata such as detected source language, page count processed, and page markers for navigation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ocr": {
   "enum": [
    "auto",
    "always",
    "never"
   ],
   "type": "string",
   "default": "auto",
   "description": "auto (default): OCR the pages that have no text layer (scans); always: OCR every page (a bad text layer); never: text l…"
  },
  "url": {
   "type": [
    "string",
    "null"
   ],
   "default": null,
   "maxLength": 2048,
   "minLength": 1,
   "description": "Public http(s) URL of the PDF (at most 20 MB; private, internal and IP-literal hosts are refused); or use file_base64."
  },
  "pages": {
   "type": [
    "string",
    "null"
   ],
   "default": null,
   "pattern": "^[0-9a-zA-Z ,\\-]+$",
   "maxLength": 200,
   "minLength": 1,
   "description": "Pages to translate (default the first 10; at most 10 per call): N, N-M, N- (to the end), -M, last; comma separated, e.g…"
  },
  "source": {
   "type": [
    "string",
    "null"
   ],
   "default": null,
   "pattern": "^[A-Za-z]{2,3}([-_][A-Za-z0-9]{2,8})?$",
   "description": "The document's language, same codes (en, es, fr, de, pt, it, nl, ru, zh, ja, ko, ar, hi, id or tl). Omit it to detect i…"
  },
  "target": {
   "type": "string",
   "default": "en",
   "pattern": "^[A-Za-z]{2,3}([-_][A-Za-z0-9]{2,8})?$",
   "description": "Language to translate into (default en): en, es, fr, de, pt, it, nl, ru, zh, ja, ko, ar, hi, id or tl."
  },
  "ocr_lang": {
   "type": [
    "string",
    "null"
   ],
   "default": null,
   "pattern": "^[a-z][a-z_]{1,15}(\\+[a-z][a-z_]{1,15}){0,2}$",
   "maxLength": 50,
   "minLength": 3,
   "description": "OCR language for scanned pages, an installed tesseract code (eng, deu, spa, ...; '+'-joined for mixed pages). Default:…"
  },
  "file_base64": {
   "type": [
    "string",
    "null"
   ],
   "default": null,
   "maxLength": 13398872,
   "minLength": 1,
   "description": "The PDF as base64 (at most 10 MB decoded); or use url."
  },
  "include_source": {
   "type": "boolean",
   "default": false,
   "description": "Also return each page's source text (`pages[].source_text`)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-pdfpeek-pdf-translation-3401946a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tanod.dev](https://www.zero.xyz/host/tanod.dev/llms.txt)
