Simple Price
get_coingecko_simple_priceThe cheapest price lookup: pass comma-separated CoinGecko ids and vs_currencies, get back a map keyed by coin id. Field names are built from the quote currency — with vs_currencies set to usd you get usd, plus usd_market_cap, usd_24h_vol, usd_24h_change and last_updated_at when the matching include_market_cap, include_24hr_vol, include_24hr_change and include_last_updated_at flags are set. Use it whenever the ids are already known and only current numbers are needed. For rank, supply or all-time-high data use get_coingecko_coins_markets; if you hold a contract address rather than an id use get_coingecko_simple_token_price_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Comma-separated coin IDs. | |
| precision | No | ||
| vs_currencies | Yes | Comma-separated target currencies. | |
| include_24hr_vol | No | ||
| include_market_cap | No | ||
| include_24hr_change | No | ||
| include_last_updated_at | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||