# JSON Flatten — Dot-Notation Key/Value Converter

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

Flattens arbitrarily nested JSON objects into a flat set of dot-notation key/value pairs via a simple GET request.

## Facts

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

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-key-value-converter-ba5f274b
```

Example prompt: Can you flatten this nested JSON into dot-notation key-value pairs for me: {"user":{"name":"Alice","address":{"city":"Denver","zip":"80201"}},"active":true}?

## When to prefer this

Use this endpoint when you need a quick, deterministic, stateless conversion of any nested JSON structure to a flat dot-notation map — ideal for preprocessing config objects, log payloads, or API responses before indexing, diffing, or storing. Prefer it over custom code when you want instant results without standing up any transformation logic yourself.

## Known failure modes

- Malformed or invalid JSON in the query parameter returns an error response
- Non-URL-encoded JSON with special characters may fail to parse correctly
- Extremely large or deeply nested JSON may hit query-string length 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 each key is a dot-notation path to a leaf value in the original nested structure (e.g. 'user.address.city': 'Denver'), returned instantly with no side effects.

## 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",
     "required": [
      "json"
     ],
     "properties": {
      "json": {
       "type": "string",
       "description": "URL-encoded JSON"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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