cryptoprice
v0.1.0CoinGecko prices, coin data, search, charts, global and trending data, keyless.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ping
Check the CoinGecko API status.
get_price
Get the current price of coins (by CoinGecko ID) in the given vs currencies, optionally with 24h change.
| Parameter | Type | Description |
|---|---|---|
ids * | string | Comma-separated CoinGecko coin IDs to price, e.g. 'bitcoin,ethereum'. |
vs_currencies * | string | Comma-separated currency codes to price the coins in, e.g. 'usd,eur'. |
include_24hr_change | boolean | When true, include each coin's 24-hour price change in the result. |
get_coin
Get full data for one coin by CoinGecko ID: description, links, and market data.
| Parameter | Type | Description |
|---|---|---|
id * | string | The CoinGecko coin ID to fetch, e.g. 'bitcoin'. |
list_coins
List all coins with their IDs, symbols, and names, optionally including platform addresses.
| Parameter | Type | Description |
|---|---|---|
include_platform | boolean | When true, include platform contract addresses for each coin in the list. |
search_coins
Search coins, exchanges, and categories by a query string.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search query string matched against coins, exchanges, and categories. |
get_market_chart
Get historical market data (prices, market caps, volumes) for one coin over a number of days.
| Parameter | Type | Description |
|---|---|---|
days * | string | Number of days of historical data to return, as a string, e.g. '30'. |
id * | string | The CoinGecko coin ID to fetch the market chart for, e.g. 'bitcoin'. |
vs_currency * | string | The currency code to express prices, market caps, and volumes in, e.g. 'usd'. |
get_global_data
Get global cryptocurrency market data: total market cap, volume, and dominance.
get_trending
Get trending coins, NFTs, and categories from CoinGecko search.