get_price
Retrieve current spot prices for one or more cryptocurrencies. Specify coin IDs and target currencies to get real-time values, with optional market cap, 24h volume, and price change data. Ideal for quick price checks.
Instructions
Get the current spot price of one or more cryptocurrencies.
Use this for the cheapest, fastest "what is X worth right now?" lookup.
For historical prices, use get_market_chart or get_aggregated_ohlc.
For real-time prices on a specific venue, use get_exchange_ticker.
Args:
coin_ids: Comma-separated CoinGecko coin IDs, e.g. "bitcoin,ethereum,solana".
IDs are NOT ticker symbols — call search first if unsure.
vs_currencies: Comma-separated target currencies, e.g. "usd,eur,btc".
include_market_cap: Include each coin's market cap in the response.
include_24hr_vol: Include 24h trading volume.
include_24hr_change: Include 24h price change percent.
include_last_updated_at: Include unix timestamp of last update.
Returns: Mapping of {coin_id: {currency: price, ...}}. When the optional flags are enabled, additional fields like "_market_cap", "_24h_vol", "_24h_change", and "last_updated_at" appear alongside the price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin_ids | Yes | ||
| vs_currencies | No | usd | |
| include_market_cap | No | ||
| include_24hr_vol | No | ||
| include_24hr_change | No | ||
| include_last_updated_at | No |