# Powerboy856 x402 Tools – JSON to CSV Converter

> Powerboy856 x402 Tools – JSON to CSV Converter is a paid API for AI agents from powerboy856-x402-tools.cesarsr1420.chatgpt.site, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Converts an array of flat JSON objects into a CSV string, with configurable delimiter and spreadsheet-formula protection, paid per call with USDC on Base.

## Facts

- Endpoint: POST https://powerboy856-x402-tools.cesarsr1420.chatgpt.site/api/json-to-csv
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/powerboy856-x402-tools-json-to-csv-converter-672bb9be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s4qevFUW8QwUrgM3rd3cM

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 powerboy856-x402-tools-json-to-csv-converter-672bb9be -d '<json body>'
```

Example prompt: Convert this JSON array of up to 200 sales records into a CSV using a comma delimiter and make sure any spreadsheet formulas in the values are protected: [{"name":"Ada","score":98},{"name":"Linus","score":95}].

## When to prefer this

Choose this endpoint when you need a deterministic, auditable JSON-to-CSV conversion with a built-in SHA-256 integrity digest and spreadsheet-formula injection protection, and you want per-call micropayment pricing in USDC rather than a subscription. Ideal for agents that process up to 200 flat JSON records at a time and need comma, semicolon, or tab delimiters.

## Known failure modes

- Empty or missing `rows` array returns a validation error
- More than 200 items in `rows` exceeds the maxItems limit and is rejected
- Non-flat objects with nested arrays or objects fail schema validation
- Invalid delimiter value (not comma, semicolon, or tab) returns a schema error
- Payment failure or insufficient USDC balance results in a 402 response before processing

## How this service works

Small, deterministic API tools paid per call with USDC on Base through x402.

## Output

Returns a JSON object with: `ok` (boolean success flag), `csv` (the full CSV string with CRLF line endings), `sha256` (hex digest of the CSV for integrity verification), `columns` (array of column header names), and `rowCount` (number of data rows produced).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "additionalProperties": {
     "type": [
      "string",
      "number",
      "boolean",
      "null"
     ]
    }
   },
   "maxItems": 200,
   "minItems": 1,
   "description": "Flat objects containing only string, number, boolean, or null values."
  },
  "delimiter": {
   "enum": [
    ",",
    ";",
    "\\t"
   ],
   "type": "string",
   "default": ","
  },
  "protectSpreadsheetFormulas": {
   "type": "boolean",
   "default": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "csv": "name,score\\r\\nAda,98\\r\\nLinus,95",
  "sha256": "hex digest",
  "columns": [
   "name",
   "score"
  ],
  "rowCount": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/powerboy856-x402-tools-json-to-csv-converter-672bb9be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from powerboy856-x402-tools.cesarsr1420.chatgpt.site](https://www.zero.xyz/host/powerboy856-x402-tools.cesarsr1420.chatgpt.site/llms.txt)
