← Back to directory

Read the bookmarks of a PDF as a nested tree (Tanod)

https://tanod.dev/v1/pdf/outline

Overview

The bookmarks (outline) as a nested tree of {title, page, open, children}: `page` is the 1-based page a bookmark opens (null when it goes nowhere or to another file), titles are cut at 300 characters, and at most 1,000 bookmarks and 8 levels are returned (`truncated` says when more were left out). Named destinations and go-to actions are resolved. Body: `{"url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"}`. Encrypted input is a 422 pdf_encrypted

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category tools/documents
Provider tanod
Source bazaar
Indexed 2026-10-09 05:31:09

Health

Status healthy
Latency (p50) 412ms
Uptime (30d) 98.5%
Reliability Score 94.2/100
Last Checked 2026-10-31 07:05:53
Last Healthy 2026-10-31 07:05:53
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "depth": 1, "has_outline": true, "input_bytes": 13264, "input_pages": 1, "items": 1, "operation": "outline", "outline": [ { "page": 1, "title": "Dummy PDF file" } ], "truncated": false, "untrusted_content": true }, "type": "json" }