{"uid":"cap_xQoxNpRoOjaudJ9Fj52bS","slug":"relaystation-pdf-page-operations-6fbbc0cc","name":"Relaystation PDF Page Operations","description":"$0.001/page. Delete, reorder, or insert PDF pages — restructure without desktop software. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/pdf/pages","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_rgISYpMWn1h4m8BJxBOY5","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":"Delete, reorder, or insert pages within a PDF document without requiring desktop software","exampleAgentPrompt":"Take this PDF and delete pages 3, 7, and 11, then reorder the remaining pages so page 5 comes first — give me back the restructured PDF.","exampleUseCases":[{"title":"Remove confidential pages before sharing","prompt":"I have a 20-page contract PDF and I need to delete pages 4, 5, and 6 before sending it to the client — can you strip those out and give me the cleaned-up version?"},{"title":"Reorder report sections for presentation","prompt":"My quarterly report PDF has the appendix at the end but I need it right after page 2 — can you reorder the pages so page 12 becomes page 3 and everything else shifts accordingly?"},{"title":"Trim scanned document to relevant pages","prompt":"This scanned PDF has a bunch of blank filler pages mixed in — pages 2, 4, 8, and 10 are all blank, can you delete just those and give me back the trimmed document?"}],"resultDescription":"A restructured PDF file returned as binary data, with the requested page operations applied — pages deleted, reordered, or inserted as specified, ready for download or further processing.","failureModes":["Invalid or out-of-range page indices — returns error if specified page numbers exceed document length","Corrupted or password-protected PDF input — returns error indicating unreadable document","Malformed request body missing required operation parameters — returns 400 bad request","Payment failure via x402 protocol — transaction not completed, request rejected","Empty or zero-byte PDF input — returns error for invalid document"],"whenToPreferThis":"Choose this endpoint when you need to programmatically restructure a PDF — deleting, reordering, or inserting pages — without spinning up desktop software or a heavyweight PDF library. Ideal for agent workflows that receive dynamic PDFs and need to trim or reorganize them on the fly at low per-call cost ($0.001/page). Best suited for document automation pipelines where page-level manipulation is a recurring step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:45:51.538Z","isFirstParty":false}