# Agent Data Tools: JSON to CSV Converter

> Agent Data Tools: JSON to CSV Converter is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-28).

Converts a JSON array of objects into a CSV-formatted string with row and column counts

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/json/to-csv?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-json-to-csv-converter-7c3cf543
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Kk_efmJ_jQmVWJdpKM1X8

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 agent-data-tools-json-to-csv-converter-7c3cf543
```

Example prompt: Convert this JSON array to CSV for me: [{"name":"Ada","age":36},{"name":"Alan","age":41}]

## When to prefer this

Use this endpoint when you have a flat JSON array of objects and need a quick, cheap ($0.001) conversion to CSV format without setting up a local parser or importing a library. Ideal for agents that need to hand off data to spreadsheet tools, reporting systems, or data pipelines that expect CSV input. It requires no API key and charges only on success.

## Known failure modes

- Missing or malformed 'text' query parameter returns an error
- Input is not a valid JSON array (e.g. a plain object or primitive) causes a parse failure
- Empty JSON array may return a CSV with only a header or an empty result
- Deeply nested objects may not serialize correctly to flat CSV columns

## How this service works

Convert a JSON array of objects to CSV with a header row built from all keys. Nested values are written as JSON. Use to export API results to a spreadsheet.

## Output

Returns a JSON object containing a 'csv' field with the full CSV-formatted text (header row + data rows), a 'rows' field with the number of data rows, and a 'columns' field with the number of columns derived from the JSON object keys.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "A JSON array of objects"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string"
  },
  "rows": {
   "type": "number"
  },
  "columns": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-json-to-csv-converter-7c3cf543/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
