# 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 an array of JSON rows (objects or arrays), supporting common delimiters, up to 10,000 rows and 64 KiB input.

## Facts

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

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

Example prompt: Can you parse this CSV text into JSON rows for me? The data uses semicolons as delimiters and the first row is a header: 'name;age;city\nAlice;30;London\nBob;25;Paris'

## When to prefer this

Use this endpoint when you have RFC 4180-compliant CSV text (up to 64 KiB / 10,000 rows) and need a clean JSON representation quickly. It supports four common delimiters (comma, semicolon, tab, pipe) and handles quoted fields with embedded delimiters correctly. Prefer it over general-purpose code execution when you want a lightweight, paid-per-call microservice without spinning up a parser locally. Not suitable for binary spreadsheet formats (XLSX, ODS) or very large files exceeding the size/row limits.

## Known failure modes

- Input exceeds 64 KiB — service rejects with an error
- Input contains more than 10,000 rows — truncated or rejected
- Malformed CSV that does not conform to RFC 4180 may produce incorrect field splits
- Unsupported delimiter character (only comma, semicolon, tab, pipe accepted)
- Empty input text returns an empty array
- Mismatched header flag causes rows to be miskeyed or returned as arrays unexpectedly

## 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 the header option is true (default), each row is a JSON object with keys taken from the first CSV row. If header is false, each row is a JSON array of string values. Fields are parsed per RFC 4180, handling quoted fields, embedded commas, and escaped quotes correctly.

## 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-006ee946/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)
