{"uid":"cap_YST-LZy5xpESNyUhdkAPw","slug":"x402-aurelianflo-com-6a5239cf","name":"x402 XLSX Workbook Generator","description":"Converts JSON/tabular input into a downloadable .xlsx spreadsheet via a POST request.","url":"https://x402.aurelianflo.com/api/tools/xlsx/generate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"oneOf":[{"type":"object","required":["report_meta"],"properties":{"result":{"type":"object","additionalProperties":true},"tables":{"type":"object","additionalProperties":{"type":"object","properties":{"rows":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]}},{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]}}]}},"columns":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}},"chart_hints":{"type":"array","items":{"type":"object","additionalProperties":true}},"report_meta":{"type":"object","properties":{"date":{"type":"string"},"name":{"type":"string"},"owner":{"type":"string"},"title":{"type":"string"},"author":{"type":"string"},"version":{"type":"string"},"report_type":{"type":"string"},"report_title":{"type":"string"}},"additionalProperties":true},"export_artifacts":{"type":"object","properties":{"workbook_rows":{"type":"object","additionalProperties":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]}},{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]}}]}}}},"additionalProperties":true},"headline_metrics":{"type":"array","items":{"type":"object","required":["label"],"properties":{"unit":{"type":"string"},"label":{"type":"string"},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]}},"additionalProperties":true}},"executive_summary":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},{"type":"object","anyOf":[{"required":["title","sheets"]},{"required":["html"]},{"required":["markdown"]},{"required":["tables"]}],"properties":{"html":{"type":"string"},"title":{"type":"string"},"sheets":{"type":"array","items":{"type":"object","required":["name","rows"],"properties":{"name":{"type":"string"},"rows":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]}},{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]}}]}},"columns":{"type":"array","items":{"type":"string"}},"headers":{"type":"array","items":{"type":"string"}},"formulas":{"type":"array","items":{"type":"object","additionalProperties":true}}},"additionalProperties":true}},"tables":{"type":"array","items":{"type":"object","properties":{"rows":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]}},{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"null"}]}}]}},"columns":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}},"markdown":{"type":"string"},"metadata":{"type":"object","additionalProperties":true},"template":{"type":"string"}},"additionalProperties":true}]},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["success","data","source"],"properties":{"data":{"type":"object","required":["documentType","fileName","mimeType","artifact"],"properties":{"preview":{"type":"array","items":{"type":"string"}},"artifact":{"type":"object","required":["type","name","sizeBytes","contentBase64"],"properties":{"name":{"type":"string"},"type":{"type":"string"},"sizeBytes":{"type":"integer"},"contentBase64":{"type":"string"}},"additionalProperties":true},"fileName":{"type":"string"},"mimeType":{"type":"string"},"capabilities":{"type":"object","additionalProperties":true},"documentType":{"type":"string"}},"additionalProperties":true},"source":{"type":"string"},"success":{"type":"boolean"}},"additionalProperties":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.12","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.12/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bEmtsYwaLS0-bW--qAaFU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.12","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates downloadable XLSX workbook files from structured data including JSON sheets, markdown tables, HTML tables, or report payloads","exampleAgentPrompt":"Generate an XLSX workbook for a quarterly finance report. The report_meta should have title='Q3 2024 Finance Report', author='Finance Team', date='2024-09-30'. Include a sheet called 'Revenue' with columns ['Month','Revenue','Expenses','Net'] and rows of monthly data. Return the XLSX file.","exampleUseCases":null,"resultDescription":"A binary XLSX workbook file (Excel format) containing one or more sheets populated with the provided structured data, formatted and ready for download or further distribution.","failureModes":["Missing required 'input' field returns 400 validation error","Malformed body schema (e.g. missing 'type', 'bodyType', or 'method') returns 422 unprocessable entity","Payment not provided or insufficient causes 402 Payment Required response","Oversized payload may result in timeout or 413 error","Invalid row data types (non-primitive values) cause schema validation failure"],"whenToPreferThis":"Prefer this endpoint when an AI agent needs to produce a finance-ready or analysis-ready Excel workbook from structured data, report payloads, or tabular content and wants a direct XLSX output without setting up local Excel libraries. Especially useful in automated reporting pipelines, data handoffs, and when the caller pays per-use via x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:33:33.265Z","isFirstParty":false,"canonicalSlug":"x402-aurelianflo-com-6a5239cf"}