{"uid":"cap_2h7B4TPEhFODG03xF_d0T","slug":"digest-header-verify-37dbb7f2","name":"Digest Header Verify","description":"Digest Header Verify: Digest Header Verify verifies a sha-256 Digest value against caller-supplied text bytes from bounded caller-supplied values without an external provider. Call Digest Header Verify before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Digest Header Verify as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless,…","url":"https://api.delx.ai/api/v1/x402/digest-header-verify","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":8192,"description":"Text supplied to Digest Header Verify; used only for this bounded calculation and processed in memory without retention."},"algorithm":{"type":"string","maxLength":8192,"description":"Algorithm supplied to Digest Header Verify; used only for this bounded calculation and processed in memory without retention."},"digest_base64":{"type":"string","maxLength":8192,"description":"Digest Base64 supplied to Digest Header Verify; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"matched":true,"algorithm":"sha-256","actual_base64":"ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0="},"schema":"delx/util-digest-header-verify/v1","status":"pass","evidence":{"retained":false,"input_sha256":"e2887c004f75ecae89be72af3d1ed97e6058d581b75c207eebceba1ccc080397","external_calls":0},"operation":"web_reliability:digest_header_verify"}},"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_Cntb2cOQfBuaIvbSQDXId","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":"Verifies a SHA-256 Digest header value against caller-supplied text bytes, returning a deterministic pass/fail result with computed hash evidence.","exampleAgentPrompt":"Check whether this SHA-256 Digest header value matches the response body I got — the text is 'Hello, world!', the algorithm is 'sha-256', and the digest_base64 is 'ZOyIygCyaOW6GjVnihtTFtIS9PNmskdyMlNKiuyjfzw='.","exampleUseCases":[{"title":"Webhook integrity check before processing","prompt":"Before I process this incoming webhook, verify that the digest header matches the body — the text is the raw payload string, algorithm is sha-256, and digest_base64 is the value from the X-Digest header I received."},{"title":"Cache acceptance decision for fetched content","prompt":"I just fetched a page and want to cache it — can you verify the SHA-256 digest header matches the body text I got back so I know it's safe to store? Here's the body text, the algorithm is sha-256, and here's the base64 digest from the response header."},{"title":"Agent tool result integrity validation","prompt":"Before my agent accepts this result from an upstream tool, verify the digest — text is the JSON result string, algorithm sha-256, and digest_base64 is the value declared in the Digest header. Tell me if it passes."}],"resultDescription":"Returns versioned deterministic JSON containing: the normalized input evidence (text, algorithm, and expected digest), the computed SHA-256 hash of the supplied text, and an explicit pass or advisory status indicating whether the computed digest matches the supplied digest_base64 value.","failureModes":["Digest mismatch: computed hash does not equal supplied digest_base64, returns advisory/fail status","Invalid base64: malformed digest_base64 input causes parsing error","Unsupported algorithm: algorithm value other than sha-256 may return an error or advisory","Text exceeds 8192 character limit: input truncation or rejection","Payment failure: x402 USDC payment not completed, request rejected"],"whenToPreferThis":"Choose this endpoint when you need a stateless, first-party, deterministic SHA-256 Digest header verification with no external dependencies and explicit pass/fail evidence — especially as a preflight before caching, accepting, redirecting, or retrying an HTTP response. Prefer it over rolling your own crypto check when you need versioned, auditable JSON output that records both the input evidence and the computed result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:04:03.647Z","isFirstParty":false}