# api2ls.com JSON to Excel Converter

> api2ls.com JSON to Excel Converter is a paid API for AI agents from api2ls.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Converts a JSON payload into a downloadable Excel (.xlsx) file with configurable formatting and batching

## Facts

- Endpoint: POST https://api2ls.com/api/json2excel
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api2ls-com-3805a410
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_39qICvHUrUZVXB3JlVC6B

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 api2ls-com-3805a410 -d '<json body>'
```

Example prompt: Take this JSON array of sales records and convert it into a downloadable Excel spreadsheet file for me.

## When to prefer this

Use this endpoint when you need to programmatically convert structured JSON data into a properly formatted Excel (.xlsx) file for download or distribution, especially when formatting, batching, or fast turnaround is important and you want to avoid setting up local Excel libraries.

## Known failure modes

- Invalid or malformed JSON body returns an error response
- Oversized payload may exceed processing limits
- Missing required JSON fields may produce incomplete spreadsheet
- Payment not processed (x402) results in 402 Payment Required response
- Network timeout on large datasets

## How this service works

Convert a JSON array of objects to an Excel (.xlsx) spreadsheet

## Output

A downloadable .xlsx Excel file generated from the submitted JSON payload, formatted according to any supplied configuration options such as column headers, sheet names, or batch groupings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "array",
   "items": {
    "type": "object"
   },
   "description": "Array of objects to convert (or a single object). All objects share the same column headers."
  },
  "filename": {
   "type": "string",
   "description": "Output filename (default: export.xlsx)"
  },
  "sheetName": {
   "type": "string",
   "description": "Worksheet name (default: Sheet1)"
  }
 }
}
```

## More

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