# RowPocket JSON Flatten

> RowPocket JSON Flatten is a paid API for AI agents from rowpocket-csv-rescue.josuegrnds21.chatgpt.site, paid per call via x402, $1/call, status unknown (last checked 2026-10-31).

Flattens nested JSON structures into a tabular/flat format and returns a download token for the processed output.

## Facts

- Endpoint: GET https://rowpocket-csv-rescue.josuegrnds21.chatgpt.site/api/products/json-flatten?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rowpocket-json-flatten-fa06375d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Y6q9QLjwXonzA3wR2_U1L

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 rowpocket-json-flatten-fa06375d
```

Example prompt: I have a nested JSON file with deeply nested objects and arrays — can you flatten it into a simple table structure using RowPocket's JSON flatten tool so I can download the result?

## When to prefer this

Choose this endpoint when you need to convert nested or hierarchical JSON into a flat, tabular structure offline without sending data to a cloud service. It is especially useful for one-off data normalization tasks at a low fixed cost. Prefer this over cloud-based alternatives when data privacy matters or when you want a simple pay-once model.

## Known failure modes

- Missing required 'input' or 'output' fields returns a validation error
- Invalid or malformed JSON input may cause processing failure
- Payment not completed (x402) blocks access to full output
- Download token may expire after a set period
- Deeply recursive or circular JSON structures may cause flattening errors

## How this service works

Four small local tools: clean CSVs, compare exports, flatten JSON and print SKU text labels. Free previews; complete offline editions from 1 USDC, once.

## Output

Returns a JSON object containing a receipt token, the product name ('RowPocket JSON Table v1.0'), and a download URL path that can be used to retrieve the flattened output file.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "token": "receipt token",
  "product": "RowPocket JSON Table v1.0",
  "download": "/api/download?token=YOUR_RECEIPT"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rowpocket-json-flatten-fa06375d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rowpocket-csv-rescue.josuegrnds21.chatgpt.site](https://www.zero.xyz/host/rowpocket-csv-rescue.josuegrnds21.chatgpt.site/llms.txt)
