{"uid":"cap_IpMXhNeK7aZ2uoERBXLaO","slug":"delx-commerce-cookie-domain-match-714701a3","name":"Delx Commerce — Cookie Domain 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/cookie-domain-match?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request_host":{"type":"string","maxLength":8192,"description":"Request Host supplied to Cookie Domain Match; used only for this bounded calculation and processed in memory without retention."},"cookie_domain":{"type":"string","maxLength":8192,"description":"Cookie Domain supplied to Cookie Domain Match; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"host":"api.example.com","domain":"example.com","matched":true},"schema":"delx/util-cookie-domain-match/v1","status":"pass","evidence":{"retained":false,"input_sha256":"a57277a00c736509ccdbdcbce69bc2a0db8554bde0c9b457722c07c13b3b210c","external_calls":0},"operation":"web_reliability:cookie_domain_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_gQe7DYtJ_ahzHOJDpTKby","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":"Validates whether a given request host matches a specified cookie domain according to browser cookie-scoping rules","exampleAgentPrompt":"Check if the cookie domain '.example.com' is valid for a request coming from 'api.example.com' — I want to know if the cookie would actually be sent by a browser.","exampleUseCases":[{"title":"Validate cookie scope before deployment","prompt":"Before I deploy my new auth cookie, can you verify that the cookie domain 'myapp.io' will correctly match requests from 'login.myapp.io'?"},{"title":"Debug cookie not being sent","prompt":"My cookies aren't being sent on requests from 'payments.internal.acme.com' — can you check whether the cookie domain '.acme.com' actually covers that host?"},{"title":"Automated cookie config testing","prompt":"I'm setting cookies with domain 'shop.example.com' for requests from 'cdn.shop.example.com' — does that match according to browser cookie rules?"}],"resultDescription":"Returns a JSON object with the matched boolean result, the input host and domain, a pass/fail status, and cryptographic evidence including SHA-256 of the inputs and a confirmation that no data was retained or sent to external services.","failureModes":["Invalid or missing request_host or cookie_domain fields returns an error","Malformed hostname formats may result in failed validation or unexpected match results","Network timeout if the service is temporarily unavailable"],"whenToPreferThis":"Use this endpoint when you need a fast, trustless, pay-per-call verification of cookie domain matching logic without setting up your own implementation. Ideal for agents automating web reliability checks, debugging cookie scoping issues, or validating cookie configurations before deployment. Prefer it over home-grown logic when auditability and verifiable evidence (input hash, no-retention proof) matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:48:28.673Z","isFirstParty":false,"canonicalSlug":"delx-commerce-cookie-domain-match-714701a3"}