# Toolshed CSV to JSON Converter

> Toolshed CSV to JSON Converter is a paid API for AI agents from toolshed.lemon-agent.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Converts CSV text or files into JSON arrays over HTTP, charged per call at $0.001 USDC with no account required.

## Facts

- Endpoint: POST https://toolshed.lemon-agent.dev/convert/csv-json
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toolshed-csv-to-json-converter-5e642a00
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_07AGVpbdJnif1VcedQ2Ud

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 toolshed-csv-to-json-converter-5e642a00 -d '<json body>'
```

Example prompt: Take this CSV data — 'name,tags\ntoolshed,x402\nfoo,bar' — and convert it into a JSON array for me, paying the $0.001 fee per call.

## When to prefer this

Choose this endpoint when you need a lightweight, no-setup CSV-to-JSON conversion that can be called on demand without any API keys, accounts, or installed dependencies — ideal for agent pipelines that need to transform tabular data on the fly and can pay per call in USDC via x402.

## Known failure modes

- Malformed or missing CSV header row may produce unexpected key names or an error
- Empty CSV body may return an empty array or a 400 error
- CSV with inconsistent column counts per row may cause parsing errors or missing fields
- Payment failure or insufficient USDC balance returns a 402 response blocking the conversion
- Extremely large CSV payloads may be rejected or time out

## How this service works

CSV to JSON conversion

## Output

A JSON array of objects where each row in the CSV becomes an object with keys derived from the header row and values from the corresponding columns, returned as application/json.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "string",
     "maxLength": 262144,
     "description": "the raw CSV file as the request body, up to 256 KB"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "POST"
    },
    "bodyType": {
     "type": "string",
     "const": "text"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "format"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "text"
    },
    "format": {
     "type": "string",
     "const": "application/json",
     "description": "the converted JSON file as the response body (application/json)"
    },
    "example": {
     "type": "string",
     "description": "the sample request body above, converted — what a the converted JSON file as the response body (application/json) looks like"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "text",
 "format": "application/json",
 "example": "[\n  {\n    \"name\": \"toolshed\",\n    \"tags\": \"x402\"\n  }\n]\n"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toolshed-csv-to-json-converter-5e642a00/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toolshed.lemon-agent.dev](https://www.zero.xyz/host/toolshed.lemon-agent.dev/llms.txt)
