# MoneyTools CSV ↔ JSON Converter

> MoneyTools CSV ↔ JSON Converter is a paid API for AI agents from tools.moneytools.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-05).

Converts CSV text to a typed JSON array (with auto delimiter detection and error rows) or converts a JSON array back to CSV

## Facts

- Endpoint: POST https://tools.moneytools.dev/v1/csv-json?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-05
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/moneytools-csv-json-converter-360df1e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FKOXFjtvkvJ0hMjDVAcGL

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 moneytools-csv-json-converter-360df1e3 -d '<json body>'
```

Example prompt: Can you convert this CSV data to JSON for me? name,age\nAmy,30\nBo,25 — make sure to auto-detect the delimiter and type the values properly.

## When to prefer this

Use this endpoint when you need a quick, reliable, server-side CSV↔JSON conversion without setting up a local parser — especially useful in agent workflows where data arrives in one format and a downstream API expects the other. Prefer it over manual parsing when auto-delimiter detection, automatic value typing (numbers vs strings), and error-row isolation matter. It supports the x402 micropayment protocol making it easy to call programmatically without subscription management.

## Known failure modes

- Malformed or empty input returns an error without charging
- Ambiguous or inconsistent column counts may produce partial error rows
- Unsupported or complex nested JSON objects may not serialize cleanly to CSV
- Rate limit reached on free tier (10/day) without payment credentials returns a 402 Payment Required
- Invalid API key or insufficient x402 credits returns an authentication/payment error

## How this service works

CSV ↔ JSON converter: CSV to JSON (auto delimiter, headers, typed values, error rows) or JSON array to CSV. Free tier 10/day; then $0.001 via x402 (HTTP 402 + PAYMENT-REQUIRED) or X-API-Key credits. Not charged on failure. $0.001 USDC per call via x402 on Base. Run by MoneyTools.

## Output

For CSV-to-JSON: a JSON array of objects with typed values (numbers, booleans, strings), column headers, and a list of any error rows that failed to parse. For JSON-to-CSV: a CSV text string with headers derived from the JSON keys. The response indicates the detected delimiter and conversion direction used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "examples": [
    "name,age\nAmy,30\nBo,25"
   ],
   "description": "CSV text or JSON array"
  },
  "delimiter": {
   "type": "string",
   "description": "delimiter (auto)"
  },
  "direction": {
   "type": "string",
   "description": "csv-to-json | json-to-csv (auto)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/moneytools-csv-json-converter-360df1e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.moneytools.dev](https://www.zero.xyz/host/tools.moneytools.dev/llms.txt)
