# Tanod pdfpeek PDF Outline Extractor

> Tanod pdfpeek PDF Outline Extractor 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).

Extracts the table of contents / bookmark outline from a PDF document supplied via URL or base64

## Facts

- Endpoint: POST https://tanod.dev/v1/pdf/outline?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-outline-extractor-a7e78c94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GuXXTjUVdc9LKm696g40y

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-outline-extractor-a7e78c94 -d '<json body>'
```

Example prompt: Can you pull out the table of contents from this PDF — https://example.com/report.pdf — and list all the sections with their page numbers?

## When to prefer this

Use this endpoint when you need to programmatically inspect the structural outline or table of contents of a PDF without reading its full text — ideal for document classification, navigation, pre-processing pipelines, or verifying document structure before deeper analysis. Prefer it over full-text extraction when only chapter/section metadata and page numbers are needed.

## Known failure modes

- PDF URL is not publicly accessible or returns non-200 (refused)
- PDF exceeds 20 MB via URL or 10 MB via base64 (rejected)
- Private, internal, or IP-literal host URLs are refused
- PDF has no embedded outline (has_outline returns false, empty items array)
- Malformed or non-PDF file content causes parse error
- Neither url nor pdf_base64 provided (validation error)
- Both url and pdf_base64 provided simultaneously (ambiguous input)

## 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

Returns a JSON object containing the outline array (each item has a title and page number), the outline depth, total item count, whether the PDF has an outline, total input bytes, total input pages, and a truncated flag if the outline was cut off due to size. Also flags untrusted_content for security awareness.

## 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": {
  "depth": 1,
  "items": 1,
  "outline": [
   {
    "page": 1,
    "title": "Dummy PDF file"
   }
  ],
  "operation": "outline",
  "truncated": false,
  "has_outline": true,
  "input_bytes": 13264,
  "input_pages": 1,
  "untrusted_content": true
 }
}
```

## More

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