Ultra-fast multi-asset spot prices, 24h change, market cap & live Base/Polygon gas gwei ($0.005 USDC).
x402 Endpoint: POST https://agentx402.fyi/x402/crypto/prices
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/crypto/prices \
-H 'Content-Type: application/json' \
-d '{"symbols": ["BTC", "ETH", "SOL", "USDC", "POL"], "include_gas": true}'import { wrapFetchWithPayment } from "@x402/fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, walletClient);
const res = await fetchWithPay("https://agentx402.fyi/x402/crypto/prices", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({"symbols": ["BTC", "ETH", "SOL", "USDC", "POL"], "include_gas": true})
});
console.log(await res.json());{
"symbols": [
"BTC",
"ETH",
"SOL",
"USDC",
"POL"
],
"include_gas": true
}{
"assets": {
"BTC": {
"price_usd": 59299,
"change_24h_pct": -0.73
}
},
"gas": {
"base_gwei": 0.005,
"polygon_gwei": 30.0
}
}