# Delx Commerce — JSON Object Sort Keys

> Delx Commerce — JSON Object Sort Keys is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Sorts the keys of a JSON object alphabetically and returns the reordered object with verifiable evidence of in-memory processing.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-object-sort-keys?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-json-object-sort-keys-3b46ce38
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_esS-m1yIP_J5C_pXPr6q-

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 delx-commerce-json-object-sort-keys-3b46ce38 -d '<json body>'
```

Example prompt: Sort the keys of this JSON object alphabetically: {"z": 3, "a": 1, "m": 2} — I need the keys in canonical order and a hash proving the input wasn't retained.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call, verifiably in-memory JSON key-sorting operation with no signup, a fixed $0.001 USDC cost, and cryptographic evidence that input was not retained — ideal for agents that need deterministic key ordering for hashing, signing, or comparison without trusting a persistent third-party service.

## Known failure modes

- Object exceeds 128 property limit — rejected with schema validation error
- Non-object input (array, string, number) — rejected as invalid type
- Malformed JSON payload — parse error returned
- Payment not included or insufficient USDC — 402 Payment Required response

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns the input object with its top-level keys sorted alphabetically, wrapped in a result envelope that includes the operation name, a pass/fail status, a SHA-256 hash of the input for auditability, a flag confirming no data retention, and an external call count of zero confirming fully in-memory processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "object": {
   "type": "object",
   "description": "Object supplied to JSON Object Sort Keys; used only for this bounded calculation and processed in memory without retention.",
   "maxProperties": 128,
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "object": {
    "a": 1,
    "b": 2
   }
  },
  "schema": "delx/util-json-object-sort-keys/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "2fd1739c776c376dda0799d0fc33b1035ca1fae723be64a512059abbf5471691",
   "external_calls": 0
  },
  "operation": "data_batch:json_object_sort_keys"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-json-object-sort-keys-3b46ce38/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
