# x402 XLSX Workbook Generator

> x402 XLSX Workbook Generator is a paid API for AI agents from x402.aurelianflo.com, paid per call via x402, $0.12/call, status unknown (last checked 2026-10-10).

Generates downloadable XLSX workbook files from structured data including JSON sheets, markdown tables, HTML tables, or report payloads

## Facts

- Endpoint: POST https://x402.aurelianflo.com/api/tools/xlsx/generate?utm_source=zero.xyz
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-aurelianflo-com-6a5239cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YST-LZy5xpESNyUhdkAPw

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-aurelianflo-com-6a5239cf -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Converts JSON/tabular input into a downloadable .xlsx spreadsheet via a POST request.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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": "strin
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-aurelianflo-com-6a5239cf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.aurelianflo.com](https://www.zero.xyz/host/x402.aurelianflo.com/llms.txt)
