# JSON Flatten (Dot-Notation Converter)

> JSON Flatten (Dot-Notation Converter) is a paid API for AI agents from aniccanomac-mini-1.tail7a0ba4.ts.net, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Flattens nested JSON objects into flat dot-notation key/value pairs via a GET request with a URL-encoded JSON parameter.

## Facts

- Endpoint: GET https://aniccanomac-mini-1.tail7a0ba4.ts.net/json-flatten
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-flatten-dot-notation-converter-b385f451
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Go1k2qBW0uL8ne9TYk1Nn

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-dot-notation-converter-b385f451
```

Example prompt: Flatten this nested JSON into dot-notation key/value pairs: {"user":{"name":"Alice","address":{"city":"New York","zip":"10001"}},"active":true}

## When to prefer this

Use this endpoint when you need a quick, deterministic, zero-config way to flatten a nested JSON object into dot-notation key/value pairs — especially useful for logging pipelines, config normalization, diff tools, or preparing nested data for flat storage systems. Prefer this over writing custom flattening code when you need a stateless, instant result with no setup.

## Known failure modes

- Invalid or malformed JSON input returns an error response
- URL-encoding issues with special characters in the JSON string may cause parse failures
- Extremely large or deeply nested JSON may hit size/depth limits
- Missing json query parameter results in a bad request error

## How this service works

Flatten nested JSON to dot-notation key/value pairs. GET /json-flatten?json=<url-encoded JSON> → flat object. Deterministic, instant.

## Output

A flat JSON object where all nested keys are collapsed into dot-notation strings (e.g. {"user.name":"Alice","user.address.city":"New York","user.address.zip":"10001","active":true}), with no nested structure remaining.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-flatten-dot-notation-converter-b385f451/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aniccanomac-mini-1.tail7a0ba4.ts.net](https://www.zero.xyz/host/aniccanomac-mini-1.tail7a0ba4.ts.net/llms.txt)
