{"uid":"cap_iFddk65xpDiJiLE3LRI5Z","slug":"relaystation-pdf-bookmarks-3f351522","name":"RelayStation PDF Bookmarks","description":"$0.001/call. Read a PDF's outline/bookmark tree as JSON — navigate structure before extracting. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/pdf/bookmarks","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wHUKAGbYkvLXf-6te-g09","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reads and returns a PDF's outline/bookmark tree as structured JSON, enabling navigation of document structure before content extraction.","exampleAgentPrompt":"Can you read the bookmark tree of this PDF and give me the full outline as JSON so I can see its chapter and section structure before I start extracting content?","exampleUseCases":[{"title":"Pre-extraction document mapping","prompt":"Before I start pulling text out of this 200-page technical manual PDF, can you grab its full bookmark/outline tree as JSON so I know which sections exist and what pages they start on?"},{"title":"Table of contents verification","prompt":"I have a legal contract PDF — can you read its bookmark outline and return the structure as JSON so I can verify all the expected sections like 'Definitions', 'Terms', and 'Liability' are present?"},{"title":"Selective section targeting","prompt":"I only need to read chapter 3 of this research report PDF. Can you first pull its bookmark tree as JSON so I can figure out which page range chapter 3 covers before extracting just that part?"}],"resultDescription":"A JSON representation of the PDF's bookmark/outline tree, including section titles, nesting levels, and page references — essentially the document's navigational skeleton for use in further extraction or display.","failureModes":["PDF has no bookmarks or outline — returns empty or null tree","PDF is password-protected or encrypted — access denied error","Malformed or corrupted PDF — parse failure","PDF URL is inaccessible or times out — network error","Input body missing required fields — validation error"],"whenToPreferThis":"Use this endpoint when you need to understand a PDF's document structure — chapters, sections, subsections — before deciding which parts to extract. It is ideal as a first step in multi-stage PDF processing pipelines, for verifying document completeness, or for building navigation interfaces. Prefer this over full-text extraction when you only need the outline, not the content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:51:51.013Z","isFirstParty":false}