# UOS Genesis CSV to JSON Converter

> UOS Genesis CSV to JSON Converter is a paid API for AI agents from genesis.palsus2023.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Converts a CSV string or file into a structured JSON array via a paid API endpoint

## Facts

- Endpoint: POST https://genesis.palsus2023.workers.dev/v1/csv_to_json
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uos-genesis-csv-to-json-converter-260776f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cTlGgnBd3M-DAnfGd_WqW

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 uos-genesis-csv-to-json-converter-260776f7 -d '<json body>'
```

Example prompt: Can you convert this CSV data into JSON for me? Here's the CSV: 'name,age,city\nAlice,30,New York\nBob,25,London'

## When to prefer this

Choose this endpoint when you need a simple, stateless CSV-to-JSON conversion without setting up a local parser, especially in agent workflows that need to pay per-call via x402 protocol. It is well-suited for lightweight ETL pipelines, format bridging between data sources, or when you need a hosted microservice for one-off conversions without infrastructure overhead.

## Known failure modes

- Malformed CSV with inconsistent column counts may produce incorrect JSON or an error
- Missing header row could result in integer-keyed or empty-keyed JSON objects
- Non-UTF-8 encoded CSV content may fail to parse
- Empty CSV body returns an error or empty array
- Payment not completed results in a 402 Payment Required response

## How this service works

UOS Genesis machine utility: csv_to_json

## Output

Returns a JSON array of objects where each row from the CSV becomes a JSON object with keys derived from the CSV header row and values from each corresponding row's cells.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "input": {
       "type": "string",
       "description": "CSV text containing a header row and one or more data rows."
      }
     },
     "required": [
      "input"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object"
  }
 },
 "required": [
  "input"
 ],
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uos-genesis-csv-to-json-converter-260776f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from genesis.palsus2023.workers.dev](https://www.zero.xyz/host/genesis.palsus2023.workers.dev/llms.txt)
