Real-time Polymarket prediction market probabilities, 24h volume, liquidity & bid/ask spreads ($0.005 USDC).
x402 Endpoint: POST https://agentx402.fyi/x402/markets/polymarket
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/polymarket \
-H 'Content-Type: application/json' \
-d '{"query": "bitcoin", "sort": "volume24hr", "limit": 8, "active_only": true}'import { wrapFetchWithPayment } from "@x402/fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, walletClient);
const res = await fetchWithPay("https://agentx402.fyi/x402/markets/polymarket", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({"query": "bitcoin", "sort": "volume24hr", "limit": 8, "active_only": true})
});
console.log(await res.json());{
"query": "bitcoin",
"sort": "volume24hr",
"limit": 8,
"active_only": true
}{
"count": 1,
"markets": [
{
"question": "Will Bitcoin reach $100k?",
"implied_yes_pct": 62.5,
"volume_24h_usd": 450000,
"liquidity_usd": 120000
}
]
}