{"uid":"cap_P30ehuY_j8Y_dN5dn8-Vs","slug":"cookie-domain-match-5afa745c","name":"Cookie Domain Match","description":"Cookie Domain Match: Cookie Domain Match evaluates host-only or Domain cookie matching for a request host from bounded caller-supplied values without an external provider. Call Cookie Domain Match before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Cookie Domain Match as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memor…","url":"https://api.delx.ai/api/v1/x402/cookie-domain-match","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_VB6WKYKKflCoAqoH5UAAt","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":"Evaluates whether a cookie's Domain attribute matches a request host according to RFC host-only and Domain cookie matching rules, returning a deterministic pass/advisory verdict.","exampleAgentPrompt":"Check whether the cookie domain '.example.com' matches the request host 'api.example.com' using RFC cookie domain matching rules — I need a deterministic pass or advisory verdict.","exampleUseCases":[{"title":"Cookie scope check before caching","prompt":"Before I cache this web response, verify whether the cookie domain '.mybank.com' is a valid match for the request host 'secure.mybank.com' — give me a pass or advisory verdict."},{"title":"Cookie validation in redirect handling","prompt":"I'm about to follow a redirect and I need to know if the cookie domain 'sub.shop.io' properly matches the request host 'shop.io' under RFC host-only cookie matching rules before accepting it."},{"title":"Retry safety check for cookie scope","prompt":"Can you check if the cookie domain '.staging.internal.corp' is correctly scoped to the request host 'api.staging.internal.corp' before my agent retries the request?"}],"resultDescription":"Returns versioned deterministic JSON containing: normalized web evidence (the sanitized input values), the computed cookie domain match finding (whether a host-only or Domain-attribute match succeeded), and an explicit pass or advisory status indicating whether the cookie is considered valid for the request host.","failureModes":["Missing or empty request_host or cookie_domain fields returns a validation error","Malformed hostnames (e.g. containing invalid characters) may produce an advisory/fail status","Inputs exceeding 8192 characters are rejected","Payment not included or insufficient USDC balance causes x402 payment failure","Network or service unavailability returns an HTTP error"],"whenToPreferThis":"Use this endpoint when an agent needs a deterministic, RFC-compliant ruling on whether a cookie's Domain attribute (or host-only flag) applies to a given request host — particularly before accepting, caching, redirecting, or retrying a caller-supplied web response. Prefer this over custom logic when you need an auditable, versioned, stateless ruling that can be embedded in a pipeline without side effects or external lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:46:19.045Z","isFirstParty":false}