# centralcity.ai CSV to JSON Parser

> centralcity.ai CSV to JSON Parser is a paid API for AI agents from centralcity.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-19).

Parses a CSV text (RFC 4180 compliant) into an array of JSON rows (objects or arrays), supporting multiple delimiters and optional headers.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_5pjclrgrmktdpgtn?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/centralcity-ai-csv-to-json-parser-873d805c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JWhOfL6DUeeEolTQIxYX7

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 centralcity-ai-csv-to-json-parser-873d805c -d '<json body>'
```

Example prompt: Parse this CSV text into JSON rows — the first row is a header and fields are comma-separated: 'name,age,city\nAlice,30,New York\nBob,25,London'

## When to prefer this

Use this endpoint when you need to parse RFC 4180-compliant CSV text (including properly quoted fields with embedded commas or newlines) into structured JSON, with support for comma, semicolon, tab, or pipe delimiters and optional header rows. Prefer it over manual string splitting when quoted fields or special characters are present in the data.

## Known failure modes

- CSV text exceeds 64 KiB limit — request rejected
- More than 10,000 rows in input — truncated or rejected
- Malformed RFC 4180 quoting (e.g. unclosed quotes) — parse error returned
- Delimiter mismatch (wrong delimiter specified) — fields not split correctly
- Non-UTF-8 encoded CSV text — encoding error

## How this service works

Reads CSV (quoted fields as in RFC 4180) into JSON rows, at most 10000 rows.

## Output

An array of up to 10,000 JSON rows. If a header row is present (or header=true), each row is a JSON object with column names as keys; otherwise each row is a JSON array of string values. Fields are parsed according to RFC 4180 quoting rules.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "The CSV text, at most 64 KiB."
  },
  "header": {
   "type": "boolean",
   "description": "Whether the first row names the columns (default true): rows are then objects, else arrays."
  },
  "delimiter": {
   "enum": [
    ",",
    ";",
    "\t",
    "|"
   ],
   "type": "string",
   "description": "The field delimiter: a comma (default), a semicolon, a tab (\\t) or a pipe."
  }
 }
}
```

## More

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