# kosoyy tools — JSON to CSV Converter (x402 paid)

> kosoyy tools — JSON to CSV Converter (x402 paid) 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 a JSON array of objects into CSV format, charged at $0.001 USDC per call via x402 micropayment protocol.

## Facts

- Endpoint: POST https://alert-woodpecker-2022.kosoyyagent.deno.net/api/json-to-csv?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/kosoyy-tools-json-to-csv-converter-x402-paid-21faab03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j3PCBn2PY2veopKhRNjod

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 kosoyy-tools-json-to-csv-converter-x402-paid-21faab03 -d '<json body>'
```

Example prompt: Can you convert this JSON array into a CSV for me? Here's the data: [{"name":"Alice","age":30,"city":"NYC"},{"name":"Bob","age":25,"city":"LA"}]

## When to prefer this

Choose this endpoint when you need a simple, deterministic JSON-to-CSV conversion for a small payload and are comfortable with x402 micropayments in USDC on Solana or Base. Ideal for agent workflows that need to export tabular JSON data to CSV on demand without setting up a local conversion library. Well-suited for single-call conversions where cost predictability at $0.001/call matters.

## Known failure modes

- Unpaid request returns HTTP 402 with a payment offer — agent must complete x402 USDC micropayment before retrying
- Invalid or malformed JSON input returns an error response with ok: false
- Empty data array may return an empty or header-only CSV
- Missing required 'data' field results in a validation error
- Non-array JSON that cannot be interpreted as a single object may fail conversion

## 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 converted CSV data as text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data"
 ],
 "properties": {
  "data": {
   "type": "string",
   "description": "JSON array of objects (or JSON text of one)"
  }
 }
}
```

## 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/kosoyy-tools-json-to-csv-converter-x402-paid-21faab03/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)
