blockchainiq-x402-agentkit / tree / examples/probe.ts ยท raw (this view has old GitHub links rewritten for the mirror; raw is byte-exact)
// Free check, no wallet, no payment: shows the live 402 price terms for brief and event-risk.
import { briefUrl, eventRiskUrl, probePrice } from "../src/x402.js";

for (const url of [briefUrl(), eventRiskUrl()]) {
  const p = await probePrice(url);
  console.log(url, JSON.stringify(p, null, 1));
}

agentgate-source: code mirror on Cloudflare Pages. All repos