GnistAI GnistAI
Log in

CoinGecko Crypto

Real-time and historical cryptocurrency prices, market data, trending coins, and market rankings for 10,000+ coins. Prices, market caps, volumes, charts, and category filtering.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 7 tools tools 7 7 Finance

Data source: CoinGecko API

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/coingecko/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-coingecko": {
      "url": "https://context.gnist.ai/mcp/coingecko/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/coingecko/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_coins", "arguments": {"query": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/coingecko/

7 endpoints available:

Shell
curl "https://context.gnist.ai/rest/coingecko/search_coins?query=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/coingecko/search_coins",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "query": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc coingecko

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (7)

search_coins
Search for cryptocurrencies by name or ticker symbol.
ParameterTypeRequiredDescription
querystringrequiredCoin name or symbol (e.g. "bitcoin", "eth", "solana", "dogecoin").
get_price
Get current prices for one or more cryptocurrencies.
ParameterTypeRequiredDescription
coin_idslist[string]requiredCoin IDs (e.g. ["bitcoin", "ethereum"]). Use search_coins to find IDs.
vs_currencystringoptionalCurrency for prices: usd, eur, nok, gbp, btc, etc. (default: "usd")
get_coin_detail
Get comprehensive details for a cryptocurrency.
ParameterTypeRequiredDescription
coin_idstringrequiredCoinGecko coin ID (e.g. "bitcoin", "ethereum", "solana"). Use search_coins to find it.
get_market_chart
Get historical price chart data for a cryptocurrency.
ParameterTypeRequiredDescription
coin_idstringrequiredCoinGecko coin ID (e.g. "bitcoin"). Use search_coins to find it.
vs_currencystringoptionalQuote currency (default 'usd'). (default: "usd")
daysintegeroptionalDays of history (1–365, default 30). 1=hourly, 2-90=hourly, 91+=daily. (default: 30)
get_trending
Get trending cryptocurrencies — most searched coins in the last 24 hours.
get_markets
Get top cryptocurrencies ranked by market capitalization.
ParameterTypeRequiredDescription
vs_currencystringoptionalQuote currency (default 'usd'). (default: "usd")
limitintegeroptionalNumber of results (1–50, default 20). (default: 20)
categoryanyoptionalCategory filter: 'decentralized-finance-defi', 'stablecoins', 'meme-token', 'layer-1', 'layer-2', 'gaming', etc.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related