{"uid":"cap_1Ngvfm-xB2kB25M9uyixW","slug":"delx-commerce-x402-delivery-hash-check-441bb2a9","name":"Delx Commerce X402 Delivery Hash Check","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/x402-delivery-hash-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":8192,"description":"Text supplied to X402 Delivery Hash Check; used only for this bounded calculation and processed in memory without retention."},"expected_sha256":{"type":"string","maxLength":8192,"description":"Expected Sha256 supplied to X402 Delivery Hash Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"matched":false,"actual_sha256":"633163569ade0beccda175c1e30d98ad117e7dfb0197ff7889836a9de9d3f823","expected_sha256":"7ef67e6a0c33e752d9848702556ca7c63ce63718b2e62b10d1b1d2386e4db0cc"},"schema":"delx/util-x402-delivery-hash-check/v1","status":"advisory","evidence":{"retained":false,"input_sha256":"ba733049f9eb88f065a3f19eafada98c9f92d558213695771252332799ffe285","external_calls":0},"operation":"delivery_contract:x402_delivery_hash_check"}},"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_4YTaXVXIT04HSapBQyBK4","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 whether a given text's SHA-256 hash matches an expected hash, providing cryptographic delivery proof for x402 pay-per-result transactions","exampleAgentPrompt":"Check whether this text I received — 'Hello, verified world!' — actually matches the SHA-256 hash I was promised: 7ef67e6a0c33e752d9848702556ca7c63ce63718b2e62b10d1b1d2386e4db0cc.","exampleUseCases":[{"title":"Auditing x402 paid delivery","prompt":"I just paid for a text result via x402 and received this content: 'Annual report summary paragraph...' — can you verify it matches the hash I was given before payment: 633163569ade0beccda175c1e30d98ad117e7dfb0197ff7889836a9de9d3f823?"},{"title":"Tamper detection for agent output","prompt":"My AI agent returned a response and I want to make sure it hasn't been modified in transit. The response text is 'Quarterly earnings data: Q3 revenue was $4.2M.' and the original committed hash was 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b06d3d27a9b5b3c8f2c39ab1 — do they match?"},{"title":"Smart contract delivery proof","prompt":"Before I release payment from escrow, verify that the delivered content 'Product license key: XXXX-YYYY-ZZZZ' has the SHA-256 hash a3f1c9d45b2e87690c4f2d31ab56e7f0981234c567890abcdef1234567890abc that was agreed upon in our contract."}],"resultDescription":"Returns a JSON object with a 'matched' boolean indicating if the text's actual SHA-256 equals the expected hash, the computed actual_sha256, the provided expected_sha256, and evidence metadata confirming no data was retained and no external calls were made. Status is labeled 'advisory' with a schema identifier for auditability.","failureModes":["Missing or empty 'text' field returns an error or undefined hash comparison","Invalid or malformed 'expected_sha256' string (wrong length/format) may cause a mismatch result rather than an error","Payload exceeding 8192 character limit for either field is rejected","Network timeout results in no response","Hash collision edge cases are theoretically possible but cryptographically negligible"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-result cryptographic check to verify that text content delivered by an x402-compatible API matches a pre-committed SHA-256 hash — particularly in trustless agent-to-agent commerce flows where tamper evidence matters. Prefer this over rolling your own hash comparison when you want an auditable, third-party-attested verification with no data retention, priced at fractions of a cent per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:25:30.935Z","isFirstParty":false,"canonicalSlug":"delx-commerce-x402-delivery-hash-check-441bb2a9"}