# Tanod pdfpeek - PDF Inspect

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

Analyzes a PDF file and returns detailed per-page and document-level metadata including text layers, images, forms, signatures, JavaScript, and security flags

## Facts

- Endpoint: POST https://tanod.dev/v1/pdf/inspect?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-pdfpeek-pdf-inspect-30fed648
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d1SRGUc0MfuUwd3yy9DJ1

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-inspect-30fed648 -d '<json body>'
```

Example prompt: Can you inspect this PDF at https://example.com/contract.pdf and tell me if it has a proper text layer, any form fields, JavaScript, or anything suspicious like active content or untrusted elements?

## When to prefer this

Use this endpoint when you need lightweight structural and security metadata about a PDF before deciding whether to extract, OCR, or process it further — especially when you want to detect scanned pages, JavaScript, XFA forms, active content, or encryption without paying for a full text extraction. It is cheaper and faster than a full text-extraction call and gives you routing intelligence about the document.

## Known failure modes

- PDF URL is private, internal, or IP-literal — request is refused
- PDF exceeds 20 MB via URL or 10 MB via base64 — request is rejected
- URL returns a non-PDF file — parsing fails
- Neither url nor pdf_base64 is provided — bad request
- Malformed base64 input — decoding error
- Network timeout fetching remote URL
- Password-protected encrypted PDF cannot be fully parsed

## How this service works

One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.

## Output

A JSON object with document-level fields (page_count, pdf_version, encrypted, linearized, has_form, form_fields, has_javascript, has_attachments, xfa, tagged, signature_fields, text_analysis, active_content, untrusted_content, input_bytes, scanned_page_count) and a per-page array (paper size, dimensions in points, rotation, orientation, image count, text character count, annotations, image coverage, looks_scanned, has_text_layer)

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "anyOf": [
    {
     "type": "string",
     "maxLength": 2048,
     "minLength": 1
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "Public http(s) URL of the PDF (at most 20 MB; private, internal and IP-literal hosts are refused); or use pdf_base64."
  },
  "pdf_base64": {
   "anyOf": [
    {
     "type": "string",
     "maxLength": 13398872,
     "minLength": 1
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "The PDF as base64 (at most 10 MB decoded per request); or use url."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "xfa": true,
  "pages": [
   {
    "page": 1,
    "paper": "Letter",
    "images": 0,
    "mediabox": [
     0,
     0,
     611.98,
     791.97
    ],
    "rotation": 0,
    "width_pt": 611.98,
    "height_pt": 791.97,
    "text_chars": 5794,
    "annotations": 23,
    "orientation": "portrait",
    "looks_scanned": false,
    "has_text_layer": true,
    "image_coverage": 0
   },
   {
    "page": 2,
    "paper": "Letter",
    "images": 0,
    "mediabox": [
     0,
     0,
     611.98,
     791.97
    ],
    "rotation": 0,
    "width_pt": 611.98,
    "height_pt": 791.97,
    "text_chars": 8392,
    "annotations": 0,
    "orientation": "portrait",
    "looks_scanned": false,
    "has_text_layer": true,
    "image_coverage": 0
   },
   {
    "page": 3,
    "paper": "Letter",
    "images": 0,
    "mediabox": [
     0,
     0,
     611.98,
     791.97
    ],
    "rotation": 0,
    "width_pt": 611.98,
    "height_pt": 791.97,
    "text_chars": 7887,
    "annotations": 0,
    "orientation": "portrait",
    "looks_scanned": false,
    "has_text_layer": true,
    "image_coverage": 0
   },
   {
    "page": 4,
    "paper": "Letter",
    "images": 0,
    "mediabox": [
     0,
     0,
     611.98,
     791.97
    ],
    "rotation": 0,
    "width_pt": 611.98,
    "height_pt": 791.97,
    "text_chars": 7457,
    "annotations": 0,
    "orientation": "portrait",
    "looks_scanned": false,
    "has_text_layer": true,
    "image_coverage": 0
   },
   {
    "page": 5,
    "paper": "Letter",
    "images": 0,
    "mediabox": [
     0,
     0,
     611.98,
     791.97
    ],
    "rotation": 0,
    "width_pt": 611.98,
    "height_pt": 791.97,
    "text_chars": 6114,
    "annotations": 0,
    "orientation": "portrait",
    "looks_scanned": false,
    "has_text_layer": true,
    "image_coverage": 0
   },
   {
    "page": 6,
    "paper": "Letter",
    "images": 0,
    "mediabox": [
     0,
     0,
     611.98,
     791.97
    ],
    "rotation": 0,
    "width_pt": 611.98,
    "height_pt": 791.97,
    "text_chars": 3147,
    "annotations": 0,
    "orientation": "portrait",
    "looks_scanned": false,
    "has_text_layer": true,
    "image_coverage": 0
   }
  ],
  "tagged": true,
  "has_form": true,
  "encrypted": false,
  "operation": "inspect",
  "linearized": false,
  "page_count": 6,
  "attachments": 0,
  "form_fields": 23,
  "has_outline": false,
  "input_bytes": 140815,
  "pdf_version": "1.7",
  "outline_depth": 0,
  "outline_items": 0,
  "sca
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-pdfpeek-pdf-inspect-30fed648/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)
