81trust / 100

Cookie Domain Match

by Cookie Domain Match in Onchain & crypto

x402 APIPassing, checked 3 h ago

Cookie Domain Match: evaluates host-only or Domain cookie matching for a request host using only bounded caller-supplied values. Call when you need a bounded cookie domain match result 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 or Solana. First-party, stateless, memory-…

POST https://api.delx.ai/api/v1/x402/cookie-domain-match

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
7 ms typical, 7 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.delx.ai/api/v1/x402/cookie-domain-match" \
  -H "content-type: application/json" \
  -d '{"cookie_domain":".example.com","request_host":"api.example.com"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.delx.ai%2Fapi%2Fv1%2Fx402%2Fcookie-domain-match
const res = await pay("https://api.delx.ai/api/v1/x402/cookie-domain-match", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"cookie_domain":".example.com","request_host":"api.example.com"}),
});
console.log(await res.json());

Example input

{
  "cookie_domain": ".example.com",
  "request_host": "api.example.com"
}

Example output

{
  "evidence": {
    "external_calls": 0,
    "input_sha256": "a57277a00c736509ccdbdcbce69bc2a0db8554bde0c9b457722c07c13b3b210c",
    "retained": false
  },
  "operation": "web_reliability:cookie_domain_match",
  "result": {
    "domain": "example.com",
    "host": "api.example.com",
    "matched": true
  },
  "schema": "delx/util-cookie-domain-match/v1",
  "status": "pass"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed4027 ms$0.001
6 h agoPassed40211 ms$0.001
11 h agoPassed4027 ms$0.001