{"uid":"cap_esS-m1yIP_J5C_pXPr6q-","slug":"delx-commerce-json-object-sort-keys-3b46ce38","name":"Delx Commerce — JSON Object Sort Keys","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/json-object-sort-keys?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_StEz1_IvAD0CdnzWpNDZR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sorts the keys of a JSON object alphabetically and returns the reordered object with verifiable evidence of in-memory processing.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Canonical JSON for deterministic hashing","prompt":"I need to sort the keys of this config object alphabetically before I hash it for a signature check: {\"timeout\": 30, \"retries\": 3, \"host\": \"api.example.com\"} — give me the key-sorted version with proof it wasn't stored."},{"title":"Normalizing API response before comparison","prompt":"Take this API response object and sort all its top-level keys alphabetically so I can do a stable diff against yesterday's snapshot: {\"status\": \"ok\", \"count\": 42, \"data\": null, \"error\": null}."},{"title":"Standardizing config objects in CI pipeline","prompt":"Sort the keys in this JSON settings object so our CI pipeline always produces the same output regardless of insertion order: {\"verbose\": true, \"output\": \"json\", \"maxWorkers\": 4, \"cache\": false}."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:58.416Z","isFirstParty":false,"canonicalSlug":"delx-commerce-json-object-sort-keys-3b46ce38"}