cryptoprice

v0.1.0
io.github.CloudCorpRecords/cryptoprice Checked 1 day ago Published 1 month ago

CoinGecko 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.

ParameterTypeDescription
ids *stringComma-separated CoinGecko coin IDs to price, e.g. 'bitcoin,ethereum'.
vs_currencies *stringComma-separated currency codes to price the coins in, e.g. 'usd,eur'.
include_24hr_changebooleanWhen 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.

ParameterTypeDescription
id *stringThe CoinGecko coin ID to fetch, e.g. 'bitcoin'.

list_coins

List all coins with their IDs, symbols, and names, optionally including platform addresses.

ParameterTypeDescription
include_platformbooleanWhen true, include platform contract addresses for each coin in the list.

search_coins

Search coins, exchanges, and categories by a query string.

ParameterTypeDescription
query *stringThe 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.

ParameterTypeDescription
days *stringNumber of days of historical data to return, as a string, e.g. '30'.
id *stringThe CoinGecko coin ID to fetch the market chart for, e.g. 'bitcoin'.
vs_currency *stringThe 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.