Skip to content
Fourohtwo

pdfpeek (Tanod) PDF bookmarks

tanod.dev/v1/pdf/set-outline

pdfpeek (Tanod) PDF bookmarks: the outline written from a nested JSON tree. Use when a PDF needs bookmarks written from a nested list of titles and pages. Add output=url for a 24 h link.

SolanaAnswering
POSThttps://tanod.dev/v1/pdf/set-outline

Uptime100% of 3 checks in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://tanod.dev/v1/pdf/set-outline" \
  -d '{"url":"https://www.irs.gov/pub/irs-pdf/fw9.pdf","outline":[{"open":true,"page":1,"title":"Form W-9","children":[{"page":1,"title":"Part I: Taxpayer Identification Number"},{"page":1,"title":"Part II: Signature"}]},{"page":2,"title":"General Instructions"}]}'

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf",
  "outline": [
    {
      "open": true,
      "page": 1,
      "title": "Form W-9",
      "children": [
        {
          "page": 1,
          "title": "Part I: Taxpayer Identification Number"
        },
        {
          "page": 1,
          "title": "Part II: Signature"
        }
      ]
    },
    {
      "page": 2,
      "title": "General Instructions"
    }
  ]
}

More from Tanod pdfpeekProvider status