{"uid":"cap_Q9kSzNwIF-cMa6O8VMrif","slug":"delx-commerce-etag-match-76fb0091","name":"Delx Commerce ETag 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/etag-match?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"etag":{"type":"string","description":"Input field: etag."},"other":{"type":"string","description":"Input field: other."}}},"responseSchema":{"type":"json","example":{"ok":true,"mode":"list","match":true,"schema":"delx/util-etag-match/v1","weak_a":false}},"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_HC6n2GUvcar2nimNCtHt5","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 values to determine whether they match, supporting weak and strong comparison modes.","exampleAgentPrompt":"Check if these two ETags match: '\"abc123\"' and '\"abc123\"' — I need to know if they're equal so I can decide whether to use the cached version.","exampleUseCases":[{"title":"Cache freshness validation for agent","prompt":"I have two ETags from consecutive API responses — '\"d41d8cd98f00b204e9800998ecf8427e\"' and '\"d41d8cd98f00b204e9800998ecf8427e\"' — can you check if they match so I know whether the resource changed?"},{"title":"Conditional request decision making","prompt":"Before I make a full HTTP GET, compare ETag '\"v2-strong-tag\"' against the cached '\"v1-strong-tag\"' and tell me if they match so I know whether to skip the download."},{"title":"Weak ETag equivalence check","prompt":"I have two weak ETags from my CDN — 'W/\"etag-001\"' and 'W/\"etag-001\"' — do they count as matching under weak comparison rules?"}],"resultDescription":"Returns a JSON object indicating whether the two provided ETags match (match: true/false), the comparison mode used (e.g. 'list'), whether the first ETag is weak (weak_a: boolean), and the schema version identifier. The 'ok' field confirms the request was processed successfully.","failureModes":["Missing or malformed ETag inputs may return an error or unexpected match result","Invalid ETag format (not quoted strings) may cause incorrect comparison","Payment failure via x402 protocol blocks the request from being processed","Non-string inputs may cause schema validation errors"],"whenToPreferThis":"Use this endpoint when you need a standards-compliant, pay-per-use ETag comparison without setting up any infrastructure. Ideal for AI agents performing HTTP cache validation, conditional request logic, or resource identity checks in automated workflows where a lightweight, no-signup utility is preferred over implementing ETag comparison logic inline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:58.416Z","isFirstParty":false,"canonicalSlug":"delx-commerce-etag-match-76fb0091"}