{"uid":"cap_eBE3TU6Hyxge2djvIMhIH","slug":"delx-commerce-etag-comparison-mode-5c95e5c5","name":"Delx Commerce — ETag Comparison Mode","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/etag-comparison-mode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"left":{"type":"string","maxLength":8192,"description":"Left supplied to Etag Comparison Mode; used only for this bounded calculation and processed in memory without retention."},"weak":{"type":"boolean","description":"Weak supplied to Etag Comparison Mode; used only for this bounded calculation and processed in memory without retention."},"right":{"type":"string","maxLength":8192,"description":"Right supplied to Etag Comparison Mode; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"matched":true,"left_weak":false,"comparison":"weak","right_weak":true},"schema":"delx/util-etag-comparison-mode/v1","status":"pass","evidence":{"retained":false,"input_sha256":"43d7a0184e6bebe0515b0b8fc44fcb3a02fe3b3f6fd7bd1f08d1d525deeda0a5","external_calls":0},"operation":"web_reliability:etag_comparison_mode"}},"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_XyjNixsVEHlRIvLBILx7L","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":"Compares two ETag strings (strong or weak) and returns whether they match, using HTTP ETag comparison semantics.","exampleAgentPrompt":"Compare these two ETags to see if they match using weak comparison — left is '\"abc123\"' and right is 'W/\"abc123\"'.","exampleUseCases":[{"title":"Cache validation for HTTP conditional requests","prompt":"I have two ETags from my HTTP responses — left is '\"v2-abc\"' and right is 'W/\"v2-abc\"'. Can you compare them using weak comparison to tell me if they're considered equivalent?"},{"title":"Verifying resource freshness in a web agent","prompt":"My agent just fetched a resource and got the ETag '\"etag-xyz99\"'. The stored ETag is '\"etag-xyz99\"'. Do they match under strong comparison?"},{"title":"Debugging caching mismatches","prompt":"I'm seeing unexpected cache misses. Can you check if '\"old-etag-001\"' and 'W/\"old-etag-001\"' are a match under weak ETag comparison rules?"}],"resultDescription":"Returns a JSON object indicating whether the two ETags matched (boolean), whether each was a weak ETag, the comparison type used (strong or weak), and an evidence object showing no data was retained and no external calls were made — along with an SHA-256 hash of the input for auditability.","failureModes":["Input ETag strings exceeding 8192 characters may be rejected","Malformed ETag values may produce unexpected comparison results","Missing left or right fields may cause a validation error","Network or payment processing failure returning a 402 or 5xx error"],"whenToPreferThis":"Use this endpoint when you need a deterministic, auditable, pay-per-use ETag comparison that follows HTTP semantics (RFC 7232) without setting up infrastructure. Prefer it over implementing your own ETag comparison logic when you need verifiable results with an evidence hash, or when running in an agent environment that supports x402 micropayments on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:54.915Z","isFirstParty":false,"canonicalSlug":"delx-commerce-etag-comparison-mode-5c95e5c5"}