# Relaystation XLSX to CSV/JSON Parser

> Relaystation XLSX to CSV/JSON Parser is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Parses an uploaded Excel (.xlsx) file into structured CSV or JSON, handling multiple sheets, headers, and data type detection.

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/data/from-xlsx
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-xlsx-to-csv-json-parser-e7be9ecc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JIYSjrI3_A5s1HVBKe3Ye

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 relaystation-xlsx-to-csv-json-parser-e7be9ecc -d '<json body>'
```

Example prompt: Can you parse this Excel file I'm uploading and give me the data as JSON, including all sheet names, headers, and values with their types detected?

## When to prefer this

Choose this endpoint when you have an Excel (.xlsx) file and need its contents as structured JSON or CSV for downstream processing, database ingestion, or API consumption. Ideal for automated ETL pipelines, vendor data ingestion, or any workflow where Excel is the source format. Prefer over manual parsing or heavy libraries when you want a lightweight, pay-per-use API call with type detection and multi-sheet support already handled.

## Known failure modes

- File is not a valid .xlsx format — returns parse error
- File too large for the $0.01 minimum credit — billed per MB at $0.0002/MB
- Corrupted or password-protected Excel file — returns error
- Empty sheets or sheets with no headers may produce empty arrays
- Malformed cell types may cause type-inference mismatches

## How this service works

$0.0002/MB. Parse an Excel file into CSV/JSON — sheets, headers, and types handled. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns the parsed contents of the Excel file as CSV or JSON, including sheet names, column headers with inferred data types, and all row data. Multiple sheets are handled and returned as separate objects or sections.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/relaystation-xlsx-to-csv-json-parser-e7be9ecc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relaystation.ai](https://www.zero.xyz/host/api.relaystation.ai/llms.txt)
