{"uid":"cap_vjfVIYAJq5-mlJ3gByVrq","slug":"pocket-network-pdf-tools-60fc6e25","name":"Pocket Network PDF Tools","description":"Inspect, check, split, merge, extract pages, rotate, linearize, optimize, strip metadata, encrypt, decrypt or repair PDFs from public HTTPS URLs. POST /v1/pdf with operation, input_urls and options. Answers JSON: document facts, and for transforms temporary HTTPS URLs to the result PDFs, kept one hour. Up to 50 MB per input. Pay per request in USDC; no account, no API key.","url":"https://agent.pocket.network/v1/pdf-tools?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"options":{"type":"object","description":"The operation's options. extract_pages needs {pages}; rotate needs {angle: 90, 180 or 270} and takes pages; split takes pages_per_file; encrypt needs owner_password and user_password (8 to 127 bytes, AES-256). Any operation takes password for an encrypted input; merge takes passwords, one per input."},"operation":{"enum":["inspect","check","split","merge","extract_pages","rotate","linearize","optimize_structure","remove_metadata","encrypt","decrypt","repair"],"type":"string","description":"What to do with the PDF."},"input_urls":{"type":"array","items":{"type":"string","pattern":"^https://","maxLength":2048},"examples":[["https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"]],"maxItems":10,"minItems":1,"description":"Public HTTPS PDFs on port 443. merge takes 2 to 10; every other operation takes exactly one."}}},"responseSchema":null,"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_uN5gh7CB8cXCZ_jAhBMFp","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":"Performs PDF operations (inspect, split, merge, rotate, encrypt, decrypt, repair, optimize, and more) on documents fetched from public HTTPS URLs, returning results as temporary download links.","exampleAgentPrompt":"Can you merge these two PDFs into one — https://example.com/doc1.pdf and https://example.com/doc2.pdf — and give me a download link to the combined file?","exampleUseCases":[{"title":"Extract specific pages from report","prompt":"Pull out pages 3 through 7 from this PDF — https://example.com/annual-report.pdf — and give me a download link to just those pages."},{"title":"Encrypt confidential document","prompt":"Take this PDF at https://example.com/contract.pdf and encrypt it with owner password 'OwnerPass99' and user password 'UserPass99' so only people with the password can open it."},{"title":"Inspect PDF metadata and structure","prompt":"Check what's inside this PDF — https://example.com/mystery.pdf — tell me its page count, title, author, file size, and any other metadata you can find."}],"resultDescription":"Returns a JSON object with document facts (page count, metadata, structure details) for inspect/check operations. For transform operations (split, merge, rotate, encrypt, decrypt, optimize, repair, etc.), returns one or more temporary HTTPS URLs pointing to the resulting PDF files, valid for one hour. Up to 50 MB per input file.","failureModes":["Input URL not publicly accessible or not on port 443 — returns error indicating unreachable URL","PDF exceeds 50 MB size limit — returns size limit error","Wrong or missing password for encrypted PDF — returns decryption failure","Invalid page numbers for extract_pages or rotate — returns parameter validation error","Merge called with fewer than 2 or more than 10 URLs — returns input count error","Malformed or corrupt PDF that cannot be repaired — returns processing error","Temporary result URLs expire after one hour — subsequent access returns 404"],"whenToPreferThis":"Choose this endpoint when you need server-side PDF manipulation without uploading files or creating an account — it works directly from public HTTPS URLs and requires only a $0.005 USDC micropayment per call. Ideal for agents that need to programmatically split, merge, encrypt, inspect, or clean PDFs as part of a document workflow, especially when avoiding credential management overhead. Not suitable for PDFs behind authentication walls, files over 50 MB, or operations requiring persistent storage beyond one hour.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:30:06.048Z","isFirstParty":false,"canonicalSlug":"pocket-network-pdf-tools-60fc6e25"}