{"uid":"cap_pE2tfLZiqT7KmtXLEKAnx","slug":"delx-stable-hash-1596a40b","name":"Delx Stable Hash","description":"Canonical SHA-256 of JSON-stable payload. Call when you fingerprint agent objects independent of key order. Returns hex digest for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/stable-hash","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":{"type":"json","example":{"hex":"2b3f289029566c30dfbe3601f33bb08822426d388fe46ba0af5591289d67aaff","schema":"delx/util-stable-hash/v1","algorithm":"sha256-canonical"}},"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_5nuoqTUieca_rP0-3M9su","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":"Computes a canonical SHA-256 hex digest of a JSON-stable serialization of the input payload, independent of key ordering.","exampleAgentPrompt":"Can you give me the canonical SHA-256 hash of this JSON payload — it needs to be key-order-independent so I can use it as a stable fingerprint: {\"user\":\"alice\",\"score\":42,\"tags\":[\"vip\"]}","exampleUseCases":[{"title":"Deduplicating agent state objects","prompt":"I have two versions of an agent state object that might have the same data but different key orders — can you hash both with a stable canonical SHA-256 so I can compare them for duplicates?"},{"title":"Cache key generation for JSON payloads","prompt":"Before I store this JSON config object in my cache, can you compute a stable SHA-256 fingerprint for it so I can use the hash as a cache key that won't break if key order changes?"},{"title":"Pre-signature payload fingerprinting","prompt":"I need to fingerprint this JSON payload with a canonical SHA-256 digest before I sign it — the hash has to be the same regardless of how the keys are ordered: {\"amount\":100,\"currency\":\"USD\",\"recipient\":\"bob\"}"}],"resultDescription":"Returns a hex-encoded SHA-256 digest string computed over the JSON-stable (canonicalized, key-sorted) serialization of the input. The same logical JSON document always produces the same digest regardless of original key order. No data is retained server-side.","failureModes":["Invalid or malformed JSON input may result in a 400 error","Empty or missing text field may return an error response","Payment failure via x402 protocol will prevent the computation from completing","Extremely large payloads may be rejected or time out"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, key-order-independent SHA-256 fingerprint of a JSON payload — particularly useful in agent pipelines for deduplication, cache keying, or pre-signature fingerprinting where key ordering cannot be guaranteed. Prefer it over client-side hashing when you need a consistent canonical result without shipping or maintaining a JSON-stable serialization library. It is not suitable for hashing binary data, files, or arbitrary text that isn't JSON.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T01:15:14.457Z","isFirstParty":false}