{"uid":"cap_6aTjY051DYSUfeayw6hNA","slug":"delx-commerce-x402-resource-match-d10acbf4","name":"Delx Commerce — X402 Resource Match","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-resource-match?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"expected":{"type":"string","maxLength":8192,"description":"Expected supplied to X402 Resource Match; used only for this bounded calculation and processed in memory without retention."},"resource":{"type":"string","maxLength":8192,"description":"Resource supplied to X402 Resource Match; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"actual":"https://api.delx.ai/x402/utility/example","matched":true,"expected":"https://api.delx.ai/x402/utility/example"},"schema":"delx/util-x402-resource-match/v1","status":"pass","evidence":{"retained":false,"input_sha256":"f15a00a5d5428ddfc6587bd6dabe4c7782ccded313974b1a96a3d99acfec7a90","external_calls":0},"operation":"delivery_contract:x402_resource_match"}},"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_rc6ZOpo9OJ64QEEE0E_UH","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 an actual X402 resource URL matches an expected resource URL, returning a verifiable pass/fail result with cryptographic evidence.","exampleAgentPrompt":"Check if the X402 resource I received — https://api.delx.ai/x402/utility/example — matches the expected resource https://api.delx.ai/x402/utility/example, and give me a verifiable pass/fail result.","exampleUseCases":[{"title":"Verify X402 payment delivery","prompt":"I just received an x402 resource URL back from a pay-per-result API call. Can you verify that https://api.partner.ai/x402/data/result matches the expected resource https://api.partner.ai/x402/data/result and confirm the delivery was correct?"},{"title":"Audit agent resource fulfillment","prompt":"My AI agent completed an x402 transaction and I want to confirm the resource it was delivered matches what was contracted — expected is https://commerce.delx.ai/api/v1/x402/reports/q1, actual is https://commerce.delx.ai/api/v1/x402/reports/q1. Does it check out?"},{"title":"Validate resource before releasing funds","prompt":"Before my agent finalizes an x402 payment, check whether the actual resource URL https://api.delx.ai/x402/utility/weather matches the expected resource https://api.delx.ai/x402/utility/weather and return verifiable evidence I can log."}],"resultDescription":"Returns a JSON object with a boolean 'matched' field, the actual and expected URLs, a pass/fail status, and an evidence block containing a SHA256 hash of the input and confirmation that no data was retained and no external calls were made. Follows the delx/util-x402-resource-match/v1 schema.","failureModes":["Mismatched URLs return matched:false with status 'fail' rather than an error","Inputs exceeding 8192 characters may be rejected","Malformed or non-URL strings may produce unexpected comparison results","Missing required fields (expected or resource) will result in a validation error"],"whenToPreferThis":"Use this endpoint when you need a verifiable, auditable, cryptographically-evidenced check that a resource URL delivered via an x402 payment matches the resource URL that was originally contracted — especially in autonomous agent workflows where delivery accountability matters. Prefer this over naive string comparison when you need an evidence trail (SHA256 hash, no-retention proof) for compliance or dispute resolution in x402-based commerce.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:25:23.762Z","isFirstParty":false,"canonicalSlug":"delx-commerce-x402-resource-match-d10acbf4"}