# CSV to JSON Converter (kosoyy x402 micro-API)

> CSV to JSON Converter (kosoyy x402 micro-API) is a paid API for AI agents from alert-woodpecker-2022.kosoyyagent.deno.net, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-16).

Converts CSV text into a structured JSON object, billed per call at $0.001 USDC via x402 on Solana or Base.

## Facts

- Endpoint: POST https://alert-woodpecker-2022.kosoyyagent.deno.net/api/csv-to-json?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/csv-to-json-converter-kosoyy-x402-micro-api-de8c78a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9-Ku2F717754p5TNH8G7W

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-kosoyy-x402-micro-api-de8c78a4 -d '<json body>'
```

Example prompt: Convert this CSV text into JSON for me — it uses a semicolon as the delimiter: 'name;age;city\nAlice;30;New York\nBob;25;London'

## When to prefer this

Choose this endpoint when you need a lightweight, deterministic, pay-per-call CSV-to-JSON conversion without spinning up your own parser — especially useful in agent workflows where you pay only for what you use via x402 USDC micropayments on Solana or Base. Prefer it over heavier ETL tools when input is a raw CSV string and output is a simple JSON object.

## Known failure modes

- Malformed or empty CSV input returns an error result with ok: false
- Missing required 'data' field triggers a 400-level validation error
- Unpaid or unauthenticated requests return HTTP 402 with a payment offer
- Mismatched delimiter causes incorrect parsing or single-column output
- Very large CSV payloads may time out or exceed Deno hosting limits

## How this service works

Deterministic utility tools, paid per call in USDC (Solana or Base). Unpaid requests return a 402 offer.

## Output

Returns a JSON object with an 'ok' boolean indicating success, a 'route' string identifying the endpoint used, and a 'result' object containing the parsed JSON representation of the input CSV data (typically an array of row objects keyed by header names).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data"
 ],
 "properties": {
  "data": {
   "type": "string",
   "description": "CSV text"
  },
  "delimiter": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ok": {
   "type": "boolean"
  },
  "route": {
   "type": "string"
  },
  "result": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/csv-to-json-converter-kosoyy-x402-micro-api-de8c78a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alert-woodpecker-2022.kosoyyagent.deno.net](https://www.zero.xyz/host/alert-woodpecker-2022.kosoyyagent.deno.net/llms.txt)
