{"uid":"cap_6u8RvpXM5rB5Geii6tMNR","slug":"relaystation-data-to-xlsx-converter-892dbed7","name":"RelayStation Data to XLSX Converter","description":"$0.0002/MB. Write tables to styled, multi-sheet Excel (.xlsx) — formula-injection-safe. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/data/to-xlsx","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> }."},"from":{"enum":["csv","tsv","json","ndjson"],"type":"string"},"style":{"type":"object","properties":{"headerBold":{"type":"boolean"},"columnWidths":{"oneOf":[{"type":"array","items":{"type":"number","maximum":1000,"exclusiveMinimum":0}},{"type":"object","additionalProperties":{"type":"number","maximum":1000,"exclusiveMinimum":0}}],"description":"Per-column widths by index (array) or by column name (object)."},"freezeHeader":{"type":"boolean"},"numberFormats":{"type":"object","description":"Per-column Excel number-format strings (e.g. \"#,##0.00\", \"yyyy-mm-dd\", \"@\").","additionalProperties":{"type":"string","maxLength":64,"minLength":1}}},"description":"Optional workbook styling."},"sheets":{"type":"array","items":{"type":"object","required":["name","file"],"properties":{"file":{"type":"object","description":"cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."},"from":{"enum":["csv","tsv","json","ndjson"],"type":"string"},"name":{"type":"string","maxLength":31,"minLength":1}}},"maxItems":20,"minItems":1,"description":"Multi-sheet workbook; each entry is its own tabular source."},"sheetName":{"type":"string","maxLength":31,"minLength":1}}},"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_t3xdXVNprTF50pVB96qug","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 tabular data into styled, multi-sheet Excel (.xlsx) files with formula-injection protection","exampleAgentPrompt":"Take this JSON table of monthly sales figures and export it as a styled Excel file with a sheet named 'Sales Summary' — make sure it's safe against formula injection.","exampleUseCases":[{"title":"Export pipeline results to Excel","prompt":"I have a JSON array of customer records with columns for name, email, and purchase total — can you write that into a nicely styled Excel file I can send to the finance team?"},{"title":"Multi-sheet financial report generation","prompt":"Create an Excel workbook with two sheets: one called 'Revenue' with my revenue table and one called 'Expenses' with my expenses table — style them so they're easy to read."},{"title":"Safe spreadsheet for user-submitted data","prompt":"I need to export this table of user-submitted form responses to an xlsx file, but I'm worried about formula injection attacks — can you generate a safe Excel file from the data?"}],"resultDescription":"Returns a binary .xlsx file (Excel workbook) containing the submitted tabular data formatted across one or more styled sheets, with cell values sanitized to prevent formula injection attacks. The file is ready to open in Excel, Google Sheets, or any compatible spreadsheet application.","failureModes":["Malformed or empty input table data returns a 400 error","Oversized payload exceeding MB limits may be rejected or incur higher charges","Invalid sheet names or column configurations may cause a processing error","Insufficient x402 payment (below 1¢ minimum) results in payment rejection","Network timeout on very large datasets"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate real Excel (.xlsx) files — not CSV — with styling, multiple sheets, and formula-injection safety. Prefer it over generic CSV export when recipients expect formatted spreadsheets, or when user-submitted data must be sanitized before writing to Excel cells. The per-MB pricing ($0.0002/MB) with a 1¢ minimum makes it cost-effective for small to medium datasets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:47:12.766Z","isFirstParty":false}