{"uid":"cap_BnFt824LdOcBbM1wED8TC","slug":"relaystation-pdf-rotate-a9224ef4","name":"Relaystation PDF Rotate","description":"$0.001/page. Rotate PDF pages — all or a selection, any multiple of 90°. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/pdf/rotate","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":{"type":"object","properties":{"file":{"type":"object","description":"cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."},"pages":{"type":"string","description":"1-based pages/ranges, \"all\" or \"1-3,5\" (default all)."},"degrees":{"enum":["90","180","270"],"type":"string"}}},"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_NkTOnQJ4dT---nIECBl1L","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":"Rotates PDF pages — all pages or a selection — by any multiple of 90 degrees, billed per page at $0.001.","exampleAgentPrompt":"Can you rotate all pages in this PDF by 90 degrees clockwise? The scanned document came out sideways and I need it corrected.","exampleUseCases":[{"title":"Fix sideways scanned document","prompt":"I scanned a stack of papers and they all came out rotated 90 degrees — can you rotate every page in this PDF clockwise by 90 degrees so they read correctly?"},{"title":"Correct upside-down report pages","prompt":"Pages 3 through 7 of this PDF report are upside down — can you rotate just those pages 180 degrees so the whole document is properly oriented?"},{"title":"Reorient mixed-orientation PDF","prompt":"I have a PDF where the cover page is portrait but all the other pages are landscape — can you rotate pages 2 through 20 by 90 degrees counterclockwise to make them portrait too?"}],"resultDescription":"Returns a rotated PDF file with the specified pages reoriented by the requested angle (90°, 180°, or 270°). The response includes the transformed PDF binary and the number of pages processed, which determines the per-page billing.","failureModes":["Invalid or corrupted PDF file — returns error indicating file cannot be parsed","Rotation angle not a multiple of 90° — returns validation error","Page selection references pages out of range for the document — returns out-of-bounds error","File too large or exceeds processing limits — returns size limit error","Payment insufficient for page count — x402 payment flow may fail if credit balance is too low"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-page PDF page rotation without managing PDF libraries or infrastructure. It is ideal for agents that process documents on demand, need to correct scanned document orientation, or handle PDFs programmatically in workflows. At $0.001/page with a 1¢ x402 minimum, it is cost-effective for both single-page fixes and large batch documents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:45:19.587Z","isFirstParty":false}