# G-Forge CSV To JSON

> G-Forge CSV To JSON is a paid API for AI agents from api.getretold.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-24).

Parses CSV text (up to 100,000 characters) into an array of JSON records, correctly handling quoted commas, escaped quotes, and multiline fields.

## Facts

- Endpoint: POST https://api.getretold.com/services/agent-csv-to-json/invoke?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/g-forge-csv-to-json-9eb06dcc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YUerp4jie4cCNEzGzVMSi

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 g-forge-csv-to-json-9eb06dcc -d '<json body>'
```

Example prompt: I have this CSV export from our CRM — can you parse it into JSON records for me? Here's the text: 'name,email,age\nAlice,alice@example.com,30\nBob,bob@example.com,25'

## When to prefer this

Choose this endpoint when you need server-side CSV parsing without installing a local library, especially when the CSV contains tricky edge cases like quoted commas, embedded newlines, or escaped quotes. Ideal for agent pipelines where spreadsheet exports or database CSV dumps need to be converted to JSON for downstream API calls, and the input fits within 100,000 characters.

## Known failure modes

- Input exceeds 100,000 character limit — request rejected
- CSV lacks a unique header row — parsing fails or returns an error
- Malformed CSV with unclosed quotes — may produce incorrect records or error
- Empty input string — returns empty array or error
- Non-CSV text passed as input — unpredictable or erroneous output

## How this service works

Make spreadsheet exports usable by an agent or API. Parse CSV text into JSON records with correct handling of quoted commas, quotes and multiline fields. Requires a unique header; field values stay strings. Up to 100,000 characters; no file upload or local parser needed.

## Output

Returns a JSON array of objects where each element represents one CSV row, with keys taken from the header row and all field values as strings. Quoted commas, escaped quotes, and multiline field values are correctly handled.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "type": "string",
   "maxLength": 100000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/g-forge-csv-to-json-9eb06dcc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getretold.com](https://www.zero.xyz/host/api.getretold.com/llms.txt)
