# Text Tools API – CSV to JSON

> Text Tools API – CSV to JSON is a paid API for AI agents from texttools.ggez.my.id, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-04).

Converts a CSV payload to typed JSON with automatic type inference, billed at $0.01 USDC per call via x402 on Base.

## Facts

- Endpoint: POST https://texttools.ggez.my.id/v1/csv2json?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/text-tools-api-csv-to-json-c1fb8505
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_POVpgqs1vaPfuGHxrSLWp

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 text-tools-api-csv-to-json-c1fb8505 -d '<json body>'
```

Example prompt: Take this CSV data and convert it to JSON for me, making sure numbers, booleans, and dates are properly typed rather than left as strings.

## When to prefer this

Choose this endpoint when you need a quick, deterministic, pay-per-use CSV-to-JSON conversion with automatic type inference and no infrastructure setup. Ideal for agents that occasionally need to transform tabular data without managing a self-hosted parser or subscribing to a bulk data service.

## Known failure modes

- Malformed or unparseable CSV input returns an error response
- Missing or empty input body may return a 400-level error
- Payment not provided or rejected results in a 402 Payment Required response
- Non-UTF-8 encoded CSV may fail to parse correctly
- Very large CSV payloads may exceed size limits

## How this service works

Deterministic text utilities paid per call in USDC on Base: CSV to JSON with type inference, and PII redaction (emails, phones, IBAN, card numbers). Free /health. 0.01 USDC per call via x402 v2.

## Output

A JSON response with `ok: true` and the converted JSON array where each row becomes an object with keys from the CSV headers and values typed according to inference (numbers as numbers, booleans as booleans, etc.).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object"
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/text-tools-api-csv-to-json-c1fb8505/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from texttools.ggez.my.id](https://www.zero.xyz/host/texttools.ggez.my.id/llms.txt)
