# CSV to JSON Converter

> CSV to JSON Converter is a paid API for AI agents from api.gadgethumans.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-20).

Converts CSV text into a JSON array of row objects, supporting custom delimiters and header handling

## Facts

- Endpoint: GET https://api.gadgethumans.com/csv-to-json?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/csv-to-json-converter-bb024ba5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2e2eczqmhfX5lSi_ANmb6

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 csv-to-json-converter-bb024ba5
```

Example prompt: Can you convert this CSV data into JSON for me? The file uses semicolons as delimiters — here's the content: 'name;age;city\nAlice;30;New York\nBob;25;London'

## When to prefer this

Use this endpoint when you need a fast, zero-setup conversion of CSV text into structured JSON without any server-side storage or heavy processing. Ideal for small to medium CSV payloads pasted directly or extracted from reports, especially when a custom delimiter (tab, pipe, semicolon) is needed. Prefer this over manual parsing or general-purpose code execution endpoints when you want an instant, deterministic result with no side effects.

## Known failure modes

- Malformed CSV with inconsistent column counts may produce incomplete or misaligned row objects
- Missing or ambiguous header row could result in auto-generated column names or incorrect field mapping
- Incorrect delimiter specification causes the entire CSV to be parsed as single-column rows
- Very large CSV payloads passed as query parameters may hit URL length limits
- Empty CSV input returns an empty array or error response

## How this service works

Convert CSV text into a JSON array of row objects, with an optional custom delimiter and header handling. Pure CPU, instant. Use to turn a pasted table or exported report into structured JSON.

## Output

A JSON array where each element is an object representing one row of the CSV, with keys derived from the header row and values from each corresponding cell. The response is returned instantly as structured JSON.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "csv"
     ],
     "properties": {
      "csv": {
       "type": "string",
       "description": "CSV text to convert"
      },
      "delimiter": {
       "type": "string",
       "description": "Field delimiter (default comma)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "ok": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

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