crypto_price
Current USD price and 24-hour change for up to 20 crypto tokens in one call: symbols (btc, eth, sol), CoinGecko ids (coingecko:bitcoin) or contract addresses on any chain (base:0x..., solana:), from DefiLlama's aggregated prices. Costs $0.002 USDC on Base via x402.
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 |
|---|---|---|---|
| tokens | Yes | Comma-separated symbols, coingecko:<id> or chain:address |