# Tanod Docs XLSX to JSON

> Tanod Docs XLSX to JSON is a paid API for AI agents from docs.tanod.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-13).

Converts an Excel workbook (.xlsx/.xlsm) to structured JSON or CSV, returning sheet names, rows, and cell values

## Facts

- Endpoint: POST https://docs.tanod.dev/v1/docs/xlsx-to-json?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-docs-xlsx-to-json-97a56384
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1EI_fWR-U68ECe51yCEAZ

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 tanod-docs-xlsx-to-json-97a56384 -d '<json body>'
```

Example prompt: Convert this Excel workbook to JSON for me — grab it from https://example.com/report.xlsx and return all sheets with their rows as structured data in json format.

## When to prefer this

Choose this endpoint when you need to extract structured row/cell data from Excel workbooks (.xlsx or .xlsm) as JSON or CSV, especially in automated pipelines where you want per-sheet arrays of string values. Prefer it over generic document converters when the output must preserve multi-sheet structure and cell-level granularity. The URL delivery option is useful when large workbooks would bloat your context window.

## Known failure modes

- File exceeds 20 MB (URL) or 10 MB (base64) size limit — request rejected
- Private, internal, or IP-literal host URLs refused
- Unsupported file format (non-.xlsx/.xlsm) — parse error
- Formula cells return empty string if file was never opened in a spreadsheet application
- Network timeout fetching remote URL
- Malformed base64 input — decoding error

## How this service works

Documents: DOCX template fill, Office to PDF, any file to Markdown, PDF to Word, OCR, PDF pipeline.

## Output

Returns a JSON object with the output format, operation name, input byte size, sheet count, and an array of sheets — each containing the sheet name, a rows array of string arrays, column count, row count, and a truncated flag. Optionally returns a download URL with expiry, byte size, content type, and SHA-256 hash instead of inline base64 content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "anyOf": [
    {
     "type": "string",
     "maxLength": 2048,
     "minLength": 1
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "Public http(s) URL of the workbook (at most 20 MB; private, internal and IP-literal hosts are refused); or use file_base64."
  },
  "format": {
   "enum": [
    "json",
    "csv"
   ],
   "type": "string",
   "default": "json",
   "description": "json (default: each sheet with its name and rows, cells as strings) or csv (one formula-safe CSV file per sheet)."
  },
  "output": {
   "enum": [
    "base64",
    "url"
   ],
   "type": "string",
   "default": "base64",
   "description": "base64 (default): the file comes back inline as base64. url: the file is stored for 24 hours and the reply carries a download link (url, expires_at, bytes, content_type, sha256) instead of the base64, which keeps the file out of your context window."
  },
  "file_base64": {
   "anyOf": [
    {
     "type": "string",
     "maxLength": 13398872,
     "minLength": 1
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "The workbook as base64 (at most 10 MB decoded; .xlsx or .xlsm); or use url."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Cells are strings exactly as the workbook stores them; a formula cell is the value last computed by a spreadsheet application (empty if the file was never opened in one). Trailing empty cells and rows are dropped. CSV output is one file per sheet, UTF-8 with CRLF, and a cell that could be read as a formula is prefixed with an apostrophe (OWASP) so a spreadsheet cannot run it.",
  "format": "json",
  "sheets": [
   {
    "name": "Sales",
    "rows": [
     [
      "region",
      "q1",
      "q2",
      "total"
     ],
     [
      "North",
      "1204",
      "1311",
      "2515"
     ],
     [
      "South",
      "980",
      "1015",
      "1995"
     ]
    ],
    "columns": 4,
    "row_count": 3,
    "truncated": false
   },
   {
    "name": "Notes",
    "rows": [
     [
      "prepared",
      "2026-10-09"
     ]
    ],
    "columns": 2,
    "row_count": 1,
    "truncated": false
   }
  ],
  "operation": "xlsx-to-json",
  "input_bytes": 5425,
  "sheet_count": 2,
  "sheets_read": 2,
  "untrusted_content": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-docs-xlsx-to-json-97a56384/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from docs.tanod.dev](https://www.zero.xyz/host/docs.tanod.dev/llms.txt)
