# 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_x6feyybqy7ptrgiy?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-49259c26
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4_Dakz-In3ZVL2lHCYHOX

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

Example prompt: Can you convert this CSV text into JSON rows? It uses semicolons as delimiters and the first row is a header: 'name;age;city\nAlice;30;NYC\nBob;25;LA'

## When to prefer this

Use this endpoint when you need a lightweight, deterministic CSV-to-JSON conversion with RFC 4180 compliance and support for multiple delimiters (comma, semicolon, tab, pipe). Ideal for small-to-medium datasets up to 10,000 rows and 64 KiB. Prefer this over general-purpose code execution when you want a simple, paid-per-call API without managing parsing libraries.

## Known failure modes

- Input CSV exceeds 64 KiB — request rejected
- More than 10,000 rows in the CSV — truncation or error
- Malformed CSV that violates RFC 4180 quoting — parse error returned
- Unsupported delimiter character specified — validation error
- Empty input text — empty array or error returned
- Mismatched quote characters causing parse failure

## 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 (keys from the header row) or an array of string values (when no header), parsed according to RFC 4180 quoting rules. Returns up to 10,000 rows from at most 64 KiB of input CSV text.

## 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-49259c26/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)
