# 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 RFC 4180-compliant CSV text into JSON rows (objects or arrays), supporting up to 10,000 rows and multiple delimiters.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_jiqmmndgrseexdha?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-7a514f8c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X8duwdkBm0pil9U7269rc

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-7a514f8c -d '<json body>'
```

Example prompt: Parse this CSV text into JSON rows for me — it uses semicolons as the delimiter and the first row is the header: 'name;age;city\nAlice;30;NYC\nBob;25;LA'

## When to prefer this

Use this endpoint when you have raw CSV text (up to 64 KiB, 10,000 rows) in RFC 4180 format and need structured JSON output quickly without spinning up a local parser. Ideal for agents processing spreadsheet exports, log files, or API responses delivered as CSV. Supports comma, semicolon, tab, and pipe delimiters, making it versatile for international and custom formats.

## Known failure modes

- Input exceeds 64 KiB — request rejected
- More than 10,000 rows in the CSV — truncation or error
- Malformed CSV that violates RFC 4180 quoting rules — parse error
- Unsupported delimiter character — only comma, semicolon, tab, pipe are accepted
- Empty input text — returns empty array or error

## How this service works

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

## Output

An array of JSON rows where each row is either an object with column-name keys (when header=true) or an array of string values (when header=false). Supports up to 10,000 rows per call from input text up to 64 KiB.

## 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-7a514f8c/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)
