Crypto token prices (USD)
crypto_priceCurrent USD price for up to 20 crypto tokens in one call: by symbol (btc, eth, sol, usdc…), CoinGecko id, or contract address (base:0x…, ethereum:0x…, solana:). Returns price_usd, symbol, decimals, confidence and update time. Aggregated DEX/CEX prices via DefiLlama, cached 30s. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are free.
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": {
"tokens": "<tokens>"
},
"name": "crypto_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain for bare 0x addresses (default ethereum) | |
| tokens | Yes | Comma-separated: symbols (btc,eth), coingecko:<id>, or <chain>:<contract> e.g. base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |