get_price
Retrieve live price, 24-hour change, market cap, and trading volume for a single cryptocurrency token by symbol or CoinGecko ID.
Instructions
Get the current price, 24-hour change, market cap, and trading volume for a single cryptocurrency token. Use this when you need live market data for one token. For multiple tokens, prefer get_prices to avoid redundant API calls. Accepts common symbols (BTC, ETH, SOL, DOGE) or full CoinGecko IDs (bitcoin, ethereum). Prices update approximately every 60 seconds due to server-side caching. Returns an error JSON if the token is not found or the CoinGecko API is temporarily unavailable.
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": {
"symbol": "<symbol>"
},
"name": "get_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| currency | No | usd |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |