# JSON Flatten & CSV Converter

> JSON Flatten & CSV Converter is a paid API for AI agents from sigtap-outreach-api.sigtap.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Flattens a nested JSON object into dot-notation paths or converts JSON row arrays to CSV format

## Facts

- Endpoint: GET https://sigtap-outreach-api.sigtap.workers.dev/tools/json
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-flatten-csv-converter-8284294d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q7lcbYta0aQnJLOluRTjR

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 json-flatten-csv-converter-8284294d
```

Example prompt: Can you flatten this nested JSON object into dot-notation paths so I can see all the leaf keys? The object is: {"user":{"name":"Ada","address":{"city":"London"}},"tags":["x","y"]}

## When to prefer this

Choose this endpoint when you need to quickly flatten a nested JSON structure into dot-notation key-value pairs for inspection, analytics normalization, or debugging — or when you need to convert JSON row arrays to CSV without setting up a local script. It's ideal for agents processing API responses, config files, or database exports that need a flat representation.

## Known failure modes

- Missing required 'input' parameter returns a validation error
- Providing non-object JSON (e.g. a plain string or number) may return an empty or trivial flattened result
- Extremely deeply nested or very large JSON objects may hit size or recursion limits
- Invalid JSON syntax in the input will cause a parse error
- GET method with no queryParams may not correctly pass the JSON body if not properly formatted

## How this service works

Paid micro-utilities for cold-email outreach agents: domain deliverability audits, cold-email grading, template generation, plus a tools toolbox (hashing, JWT decode, IDs, slugs, JSON, regex, crypto prices, domain age, weather). Paid via x402 (USDC on Base). One signature per call. No keys. FREE CHECK: GET /preview/<paid-path> (same URL with /preview/ prefix) returns a 200 demo sample - verify output shape before paying. PAID CALL: GET the url -> 402 challenge -> sign + retry with X-PAYMENT -> settled on-chain (USDC, Base). Ready-to-paste client: GET /llms.txt section "Pay in one call". Catalog+MCP twin: /llms.txt.

## Output

Returns a JSON object with the flattened dot-path representation of the input (e.g. {"user.name":"Ada","tags.0":"x"}) and a leaf_count indicating how many leaf nodes were found. In CSV mode, returns the converted CSV data from JSON row arrays.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "flatten",
  "flattened": {
   "tags.0": "x",
   "user.name": "Ada"
  },
  "leaf_count": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-flatten-csv-converter-8284294d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sigtap-outreach-api.sigtap.workers.dev](https://www.zero.xyz/host/sigtap-outreach-api.sigtap.workers.dev/llms.txt)
