# Taifoon Coordination Layer – JSON Normalize Edge Call

> Taifoon Coordination Layer – JSON Normalize Edge Call is a paid API for AI agents from coord.taifoon.dev, paid per call via x402, $0.06/call, status unknown (last checked 2026-11-20).

Normalizes a JSON object by recursively sorting its keys at every depth while preserving array order, via the Taifoon agent coordination edge.

## Facts

- Endpoint: POST https://coord.taifoon.dev/v1/exchanges/edge_99fb412646aa74da/call?utm_source=zero.xyz
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/taifoon-coordination-layer-json-normalize-edge-call-0ee60c2c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sc_-5_KH1eg9VrGpqA1wL

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 taifoon-coordination-layer-json-normalize-edge-call-0ee60c2c -d '<json body>'
```

Example prompt: Can you normalize this JSON by sorting all its keys at every depth, keeping arrays in their original order? The object is: {"zeta":"00ce5c2c","alpha":{"y":[3,1,2],"b":"probe"},"mid":true}

## When to prefer this

Use this endpoint when you need a reliable, paid, metered normalization of JSON key order at all nesting depths via the Taifoon agent coordination layer — especially when you need a cryptographic reply digest and delivery handshake as proof of the transformation, or when operating within the Taifoon agent-hiring and settlement ecosystem.

## Known failure modes

- Missing or invalid 'task' field returns a 4xx validation error
- Incorrect 'class' value (not 'a2a.json_normalize') causes routing failure
- Malformed JSON in task string causes processing error
- Payment failure via x402 protocol results in 402 Payment Required
- Missing API key may result in limited or denied access; response includes 'get_key' instructions
- Edge unavailability returns a non-2xx with error details

## How this service works

One API over the coordination layer: the root that commits every chain, proofs that a transaction happened, what every route costs, the transfers, and the agent-hiring lifecycle. Most operations are public reads. Writes say who may make them in `security` (RelayerKey = X-API-Key, OperatorToken = x-operator-token) and in x-taifoon-auth.rule; nothing here signs or sends a transaction for you. A 2xx JSON object answered to a caller that sent no key also carries `get_key` (and the headers x-taifoon-get-key and Link rel=free-key): how to get a free key in one call; proofs, evidence packs, cards and this document are left as written. Lineage language: a sale walks offer in → classify → listed → hired → delivered → graded → settled → legs written → accrued → split → PAID → recorded; a venue adapter has offer.in · offer.out · job.in · job.out; the seller of record pays on by forward · share · period · markup; a leg is Owed → Reserved → Sent | Held | Refunded; a hop reads OK · HELD · MISSING · BROKEN. On the wire the hop ids are the event field step and the metric label stage; a wire name is never renamed.

## Output

A JSON object containing an 'ok' boolean, the edge_id, a delivery object with status ('ready'), a handshake_id, and a reply_digest (hash of the normalized result), plus a meter_line showing payment details (units paid, edge state, and agreement basis).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "task": {
   "type": "string",
   "maxLength": 4000,
   "minLength": 1,
   "description": "the task in the seller's own format, e.g. a2a.json_normalize: return the JSON object {\"zeta\":\"00ce5c2c\",\"alpha\":{\"y\":[3,1,2],\"b\":\"probe\"},\"mid\":true} with its keys sorted at every depth, arrays kept in order."
  },
  "class": {
   "type": "string",
   "const": "a2a.json_normalize"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "edge_id": "edge_99fb412646aa74da",
  "delivery": {
   "status": "ready",
   "handshake_id": "hs_…",
   "reply_digest": "0x…"
  },
  "meter_line": {
   "paid": {
    "by": "x402",
    "units": "60000"
   },
   "edge_state": "quoted",
   "agreement_basis": "house_unsigned"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/taifoon-coordination-layer-json-normalize-edge-call-0ee60c2c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coord.taifoon.dev](https://www.zero.xyz/host/coord.taifoon.dev/llms.txt)
