{"uid":"cap_PapkFzWPch9b-1UXqet0t","slug":"tanod-docs-pdf-outline-extractor-8461c9d0","name":"Tanod Docs PDF Outline Extractor","description":"Documents: DOCX template fill, Office to PDF, any file to Markdown, PDF to Word, OCR, PDF pipeline.","url":"https://docs.tanod.dev/v1/pdf/outline?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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."}}},"responseSchema":{"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}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F2psGgOAVUB6NkG7cnnqK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the hierarchical bookmark/outline (table of contents) from a PDF file, returning structured section titles and page numbers.","exampleAgentPrompt":"Can you pull out the table of contents from this PDF — I need all the section titles and their page numbers: https://example.com/report.pdf","exampleUseCases":[{"title":"Navigate a research paper's structure","prompt":"I have this academic paper PDF at https://arxiv.org/pdf/2301.00001 — can you extract its outline so I can see all the section headings and what pages they start on?"},{"title":"Verify a legal document has chapters","prompt":"Check if this contract PDF has a proper outline or table of contents, and if so, list all the sections with their page numbers: here's the base64 of the file."},{"title":"Build a document index for a report","prompt":"I need to know all the chapters and subsections in this annual report PDF at https://company.com/annual-report.pdf — give me the full outline with page numbers so I can build a navigation index."}],"resultDescription":"Returns a JSON object containing: the full outline array (each item has a title string and page number), total item count, maximum depth of nesting, whether the PDF has an outline at all, whether the result was truncated, input file size in bytes, number of pages, and an untrusted_content flag.","failureModes":["PDF URL is inaccessible, private, or IP-literal — request refused","PDF exceeds 20 MB via URL or 10 MB via base64 — rejected","PDF has no embedded outline/bookmarks — returns has_outline: false with empty array","Malformed base64 input — parse error","Both url and pdf_base64 omitted — missing input error","PDF is password-protected or corrupted — processing failure"],"whenToPreferThis":"Use this endpoint when you specifically need to extract the structural outline or bookmarks embedded in a PDF (its table of contents), not when you need to extract full text content, convert the PDF to another format, or perform OCR. It is the right choice when you want to understand document structure, build navigation indices, or verify that a PDF is properly structured with named sections.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:34:53.374Z","isFirstParty":false,"canonicalSlug":"tanod-docs-pdf-outline-extractor-8461c9d0"}