prices_token_price
Median spot price of up to 50 coins across Binance, Coinbase, Kraken, OKX and Bybit in usd/usdt/eur/btc, with per-venue prices, 24h change, volume and spread. ids: any CoinGecko id (~23k), ticker, CoinPaprika id or contract address (base:0x..., solana:); DEX-only tokens priced via DefiLlama/DexScreener. Unknown ids: 404, not charged. Price: $0.003 USDC per call, paid with x402 on Base.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ids": "<ids>"
},
"name": "prices_token_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vs | No | usd (default), usdt, eur or btc; comma-separated for several (usd,eur) | |
| ids | Yes | Comma-separated, max 50: CoinGecko ids (bitcoin,virtual-protocol), tickers (BTC,ETH; any CoinGecko-listed ticker, largest market cap wins), CoinPaprika ids (btc-bitcoin) or contract addresses with chain (base:0x..., ethereum:0x..., solana:<mint>) | |
| chain | No | Chain for bare 0x addresses: base, ethereum, arbitrum, optimism, polygon, bsc, avalanche (default: base, then ethereum) |