{"uid":"cap_kWiMkIghS_LbrUNgwsugi","slug":"tanod-pdfpeek-pdf-page-extraction-ebd8d1e8","name":"Tanod pdfpeek – PDF Page Extraction","description":"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.","url":"https://tanod.dev/v1/pdf/extract-pages?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."},"pages":{"type":"string","pattern":"^[0-9a-zA-Z ,\\-]+$","maxLength":200,"minLength":1,"description":"1-based: N, N-M, N- (to the end), -M, last; comma separated, in this order."},"output":{"enum":["base64","url"],"type":"string","default":"base64","description":"base64 (default): the file comes back inline as base64. url: the file is stored for 24 hours and the reply carries a download link (url, expires_at, bytes, content_type, sha256) instead of the base64, which keeps the file out of your context window."},"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":{"file":{"name":"extracted.pdf","bytes":58827,"pages":3,"data_base64":"JVBERi0xLjcKJb/3... (trimmed: 78,436 base64 characters in the reply)","content_type":"application/pdf"},"operation":"extract-pages","input_bytes":140815,"input_pages":6,"output_bytes":58827,"untrusted_content":true,"active_content_removed":{}}},"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_bjzwaZTONU9oBz_QtXUvN","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 selected pages from a PDF and returns them as a new standalone PDF document.","exampleAgentPrompt":"Can you extract pages 2 through 5 and the last page from this PDF — https://example.com/report.pdf — and give me just those pages as a new PDF?","exampleUseCases":[{"title":"Pull executive summary from report","prompt":"I have this 80-page annual report at https://example.com/annual-report.pdf — can you extract just pages 1 through 4 and give me a trimmed PDF with only those?"},{"title":"Isolate appendix for sharing","prompt":"This contract PDF is at https://example.com/contract.pdf and I only need pages 15 to the end — can you extract those into a new PDF for me?"},{"title":"Extract specific scattered pages","prompt":"I've got a base64-encoded PDF of a textbook and I only need pages 1, 12, and 25 — can you pull just those three pages out into a new PDF?"}],"resultDescription":"A new PDF file containing only the requested pages, returned as binary PDF content. The page numbering in the output reflects the extracted subset, not the original document's page numbers.","failureModes":["PDF URL is unreachable or returns a non-PDF file — request fails with an error","PDF exceeds the 20 MB URL limit or 10 MB base64 limit — rejected with size error","Page range refers to pages that don't exist in the PDF (e.g. page 50 in a 10-page document) — returns an error or empty result","Malformed page range string that doesn't match the allowed pattern — validation error","Password-protected PDF that cannot be opened — extraction fails","Neither url nor pdf_base64 provided — missing input error"],"whenToPreferThis":"Choose this endpoint when you need to extract a specific subset of pages from an existing PDF and receive a new PDF containing only those pages. It supports flexible page range notation (individual pages, ranges, open-ended ranges, and 'last'). Prefer it over full-PDF text extraction endpoints when the goal is page-level PDF manipulation rather than text parsing, and over PDF generation endpoints when the source document already exists.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:44:04.308Z","isFirstParty":false,"canonicalSlug":"tanod-pdfpeek-pdf-page-extraction-ebd8d1e8"}