Sub-second cross-venue prediction market comparator across Polymarket & Kalshi: matched odds spreads, synthetic YES+NO arbitrage edge % & liquidity ($0.005 USDC).
x402 Endpoint: POST https://agentx402.fyi/x402/markets/arb
Remote MCP: POST https://agentx402.fyi/mcp (Streamable HTTP JSON-RPC 2.0)
PayTo Wallet (USDC): 0x71256BBb403B88A347E67b7ADad89ed28b4e16d6 (Gasless via Coinbase CDP Facilitator)
curl -i -X POST https://agentx402.fyi/x402/markets/arb \
-H 'Content-Type: application/json' \
-d '{"query": "Bitcoin", "min_spread_pct": 0.0, "limit": 8}'import { wrapFetchWithPayment } from "@x402/fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, walletClient);
const res = await fetchWithPay("https://agentx402.fyi/x402/markets/arb", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({"query": "Bitcoin", "min_spread_pct": 0.0, "limit": 8})
});
console.log(await res.json());{
"query": "Bitcoin",
"min_spread_pct": 0.0,
"limit": 8
}{
"query": "Bitcoin",
"matched_count": 3,
"positive_arb_count": 1,
"matched_pairs": [
{
"similarity_score": 0.62,
"polymarket": {
"question": "Will Bitcoin hit $120k?",
"implied_yes_pct": 44.5,
"volume_24h_usd": 125000.0
},
"kalshi": {
"ticker": "KXBTC-26DEC-T120000",
"title": "Bitcoin above $120,000?",
"implied_yes_prob_pct": 49.0,
"volume_24h": 48000.0
},
"spread_pct": 4.5,
"cheaper_yes_venue": "polymarket",
"arb_edge_pct": 1.2,
"has_positive_arb": true
}
]
}