# SignalDesk AI – Sort JSON Keys

> SignalDesk AI – Sort JSON Keys is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Sorts the keys of a JSON object alphabetically and returns both the sorted data and its serialized string representation.

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/json/sort-keys?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-sort-json-keys-53bfdfff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_498SDeAucpUdR5LWU47N7

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 signaldesk-ai-sort-json-keys-53bfdfff -d '<json body>'
```

Example prompt: Sort the keys of this JSON object alphabetically and give me both the sorted object and its serialized string: {"z": 2, "a": 1, "m": 5}.

## When to prefer this

Choose this endpoint when you need a deterministic, alphabetically ordered JSON key structure — for example before hashing, signing, comparing, or caching JSON payloads. It is a simple, cheap ($0.001 USDC) utility operation suited for normalization tasks where key order consistency matters.

## Known failure modes

- Invalid or malformed JSON input may result in a parsing error response
- Input exceeding bounded structure limits may be rejected
- Missing or empty `data` field returns an error
- Non-object JSON values (e.g. raw arrays or primitives) may not sort as expected

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

Returns a JSON object containing two fields: `data` (the input JSON with keys sorted alphabetically as a parsed object) and `text` (the same sorted structure serialized as a compact JSON string).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "description": "JSON value; bounded structure."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "a": 1,
   "z": 2
  },
  "text": "{\"a\":1,\"z\":2}"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-sort-json-keys-53bfdfff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
