# CSV to JSON Converter

> CSV to JSON Converter is a paid API for AI agents from x402render-u5vwpxpyua-uc.a.run.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Parses a CSV text string into a JSON array of objects, with optional custom delimiter support

## Facts

- Endpoint: POST https://x402render-u5vwpxpyua-uc.a.run.app/csv-to-json
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/csv-to-json-converter-b57f155d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hFi8DbFguMAu9eDBBwf76

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 csv-to-json-converter-b57f155d -d '<json body>'
```

Example prompt: Take this CSV text and convert it into a JSON array of objects for me: 'name,age,city\nAlice,30,New York\nBob,25,Chicago' — the delimiter is a comma.

## When to prefer this

Use this endpoint when you have raw CSV text that needs to be parsed into structured JSON objects programmatically, especially when working in an agent pipeline that needs to consume tabular data as JSON. Particularly useful when the delimiter is non-standard (tabs, semicolons, pipes) and you need the header row automatically mapped to object keys. Prefer this over manual parsing for reliability and consistency.

## Known failure modes

- Malformed CSV with inconsistent column counts may produce misaligned objects or an error
- Missing header row results in auto-indexed keys or unexpected output
- Unspecified delimiter when data uses a non-comma separator causes incorrect parsing
- Non-UTF-8 encoded CSV content may fail to parse
- Empty CSV input returns an empty array or error
- Delimiter value not matching actual data separator causes single-column output

## How this service works

Parse CSV text into a JSON array of objects

## Output

A JSON array of objects where each object represents a row from the CSV, with keys derived from the CSV header row and values from the corresponding row fields. Column names become property keys and row values become string values in each object.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "description": "string"
  },
  "delimiter": {
   "type": "string",
   "description": "string (optional)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/csv-to-json-converter-b57f155d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402render-u5vwpxpyua-uc.a.run.app](https://www.zero.xyz/host/x402render-u5vwpxpyua-uc.a.run.app/llms.txt)
