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   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 7 tools tools 7 7 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Finance

Data source: CoinGecko API

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/coingecko/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (7)

search_coins

Search for cryptocurrencies by name or ticker symbol.

Find coin IDs for use with other tools. Covers 10,000+ coins tracked by CoinGecko.

Args:
query: Coin name or ticker symbol.

Returns:
List of matching coins with ID, name, symbol, and market cap rank.
Use the ID with get_price, get_coin_detail, or get_market_chart.

ParameterTypeRequiredDescription
querystringrequiredCoin name or symbol (e.g. "bitcoin", "eth", "solana", "dogecoin").
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "search_coins",
    "arguments": {
      "query": "example"
    }
  }
}
get_price

Get current prices for one or more cryptocurrencies.

Returns real-time prices with 24h change and market cap. Supports any fiat
or crypto as the quote currency.

Args:
coin_ids: List of CoinGecko coin IDs (up to 10).
vs_currency: Quote currency (default 'usd').

Returns:
Current price, market cap, and 24h change percentage for each coin.

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")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_price",
    "arguments": {
      "coin_ids": [
        "example"
      ]
    }
  }
}
get_coin_detail

Get comprehensive details for a cryptocurrency.

Includes description, market data (price, market cap, volume, supply), ATH/ATL,
price changes across timeframes, categories, and genesis date.

Args:
coin_id: CoinGecko coin ID.

Returns:
Full coin profile with market data, supply metrics, and price history.

ParameterTypeRequiredDescription
coin_idstringrequiredCoinGecko coin ID (e.g. "bitcoin", "ethereum", "solana"). Use search_coins to find it.
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_coin_detail",
    "arguments": {
      "coin_id": "example"
    }
  }
}
get_market_chart

Get historical price chart data for a cryptocurrency.

Returns timestamped price data points for charting or analysis. Granularity
depends on time range: hourly for short periods, daily for longer ones.

Args:
coin_id: CoinGecko coin ID.
vs_currency: Quote currency (default 'usd').
days: Number of days of history (1–365, default 30).

Returns:
Time series of prices (up to 100 sampled points), plus latest market cap and volume.

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)
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_market_chart",
    "arguments": {
      "coin_id": "example"
    }
  }
}
get_markets

Get top cryptocurrencies ranked by market capitalization.

Returns current price, market cap, volume, 24h change, and supply data
for the largest coins. Can filter by category.

Args:
vs_currency: Quote currency (default 'usd').
limit: Number of results (1–50, default 20).
category: Filter by category (optional).

Returns:
List of top coins with price, market cap, volume, and 24h change.

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.
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_markets",
    "arguments": {}
  }
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

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"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/coingecko/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "search_coins",
    "arguments": {
      "query": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Finance)

Resources