{"uid":"cap_sjPjo0JQz_tzCRLhicu_w","slug":"relaystation-office-to-pdf-converter-704360f7","name":"RelayStation Office-to-PDF Converter","description":"$0.005/call. Convert Word, Excel, or PowerPoint to PDF via LibreOffice — layout preserved. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/pdf/from-office","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, ≤ 50 MB> }."},"options":{"type":"object","properties":{"quality":{"type":"integer","maximum":100,"minimum":1,"description":"JPEG quality (1–100) for embedded images."},"landscape":{"type":"boolean","description":"Force landscape orientation."},"pageRanges":{"type":"string","maxLength":255,"minLength":1,"description":"Page subset, e.g. \"1-5,8\"."},"maxImageResolution":{"enum":[75,150,300,600,1200],"type":"integer","description":"DPI ceiling for embedded images (closed ladder)."},"reduceImageResolution":{"type":"boolean","description":"Gate for maxImageResolution; must be true for maxImageResolution to apply."},"losslessImageCompression":{"type":"boolean"}},"description":"Optional LibreOffice export controls; absent fields take the engine default.","additionalProperties":false},"filename":{"type":"string","maxLength":255,"minLength":1,"description":"Source filename; its extension must be a supported office format."}}},"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_RgsV3jbKrXXUf83QUwrPd","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":"Converts Word (.docx/.doc), Excel (.xlsx/.xls), or PowerPoint (.pptx/.ppt) files to PDF using LibreOffice, preserving layout.","exampleAgentPrompt":"Can you convert this Word document (report_final.docx) to a PDF for me, making sure the layout stays intact?","exampleUseCases":[{"title":"Legal contract PDF export","prompt":"I need to send this contract to a client but it's a Word file — can you convert contract_v3.docx to a PDF so the formatting doesn't get messed up when they open it?"},{"title":"Presentation slides for email","prompt":"I have a PowerPoint deck I need to share with stakeholders who don't have PowerPoint — please convert pitch_deck.pptx to a PDF that preserves all the slide layouts."},{"title":"Spreadsheet report as PDF","prompt":"Can you turn this Excel file, Q3_financial_report.xlsx, into a PDF so I can attach it to my email without worrying about the recipient's software?"}],"resultDescription":"A PDF file binary (application/pdf) rendered from the submitted office document, with layout, fonts, tables, and formatting preserved as closely as LibreOffice can reproduce them.","failureModes":["Corrupted or password-protected office file returns an error","Unsupported file format (e.g. .odt, .csv) may not be accepted","Complex formatting with proprietary fonts may not render identically","Large files may time out or exceed size limits","Missing or malformed file payload returns 400 Bad Request","Payment/x402 authorization failure prevents processing"],"whenToPreferThis":"Choose this endpoint when you need a fast, programmatic, per-call conversion of Word, Excel, or PowerPoint files to PDF without standing up your own LibreOffice server. Ideal for agents that occasionally need to produce PDFs from office documents without a long-term SaaS subscription — pay only $0.01 per conversion via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:46:56.618Z","isFirstParty":false}