# Bounty Engineer JSON-to-CSV Converter

> Bounty Engineer JSON-to-CSV Converter is a paid API for AI agents from bounty-engineer-x402-prod.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Converts a structured JSON array of records into a CSV-formatted string, with optional custom delimiter and field ordering, returning a SHA-256 digest for verification.

## Facts

- Endpoint: POST https://bounty-engineer-x402-prod.onrender.com/v1/json-to-csv?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bounty-engineer-json-to-csv-converter-64c00f29
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_duZULSrCnbXWfN1Tc9mb0

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 bounty-engineer-json-to-csv-converter-64c00f29 -d '<json body>'
```

Example prompt: Convert this JSON data to CSV for me — fields are ['id','name','email'] and the records are [{"id":1,"name":"Ada","email":"ada@example.com"},{"id":2,"name":"Linus","email":"linus@example.com"}], use a comma as the delimiter.

## When to prefer this

Choose this endpoint when you need a fast, verifiable JSON-to-CSV conversion with a SHA-256 integrity digest, especially in agentic pipelines that require tamper-evidence or downstream verification of the transformed output. It is ideal for lightweight ETL steps where you want to pay per-call without managing infrastructure.

## Known failure modes

- Missing or empty records array returns an error or empty CSV
- Fields array mismatch with record keys may produce incomplete columns
- Invalid delimiter (e.g. multi-character) may cause a parsing error
- Malformed JSON in records may result in a 400-level error
- Payment failure via x402 protocol results in 402 Payment Required

## How this service works

Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.

## Output

Returns a JSON object with: ok (boolean success flag), csv (the full CSV string), mode ('json_to_csv'), fields (array of field names used), sha256 (hex digest of the CSV output for integrity verification), and record_count (number of rows converted).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "fields": {
   "type": "array"
  },
  "records": {
   "type": "array"
  },
  "delimiter": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "csv": "id,name\n1,Ada\n2,Linus",
  "mode": "json_to_csv",
  "fields": [
   "id",
   "name"
  ],
  "sha256": "c946a6cf06830095fc4910ab87b3fb14cbf3de5395456e1b66e8f936034a4a47",
  "record_count": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bounty-engineer-json-to-csv-converter-64c00f29/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bounty-engineer-x402-prod.onrender.com](https://www.zero.xyz/host/bounty-engineer-x402-prod.onrender.com/llms.txt)
