# CoinGecko API on SandBase

> Read CoinGecko crypto market data: prices, market caps, charts and OHLC, coin and contract details, tickers, categories, exchanges, and trending searches.

Source: https://www.sandbase.ai/apis/coingecko

- Endpoints: 22
- Call: `POST https://api.sandbase.ai/v1/api/{vendor}/{endpoint}` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body
- Billing: pay per call from one SandBase balance; no provider account or subscription needed

## Endpoints

- [CoinGecko Coin Data by ID](https://www.sandbase.ai/apis/coingecko/coins.md): $0.008 per call
  Get all the metadata (image, websites, socials, description, contract address, etc.) and market data (price, ATH, exchange tickers, etc.) of a coin from the CoinGecko coin page based on a particular c...
- [CoinGecko Coin Data by Token Address](https://www.sandbase.ai/apis/coingecko/coins-contract.md): $0.008 per call
  Get all the metadata (image, websites, socials, description, contract address, etc.) and market data (price, ATH, exchange tickers, etc.) of a coin from the CoinGecko coin page based on an asset platf...
- [CoinGecko Coin Historical Chart Data by ID](https://www.sandbase.ai/apis/coingecko/coins-market-chart.md): $0.008 per call
  Get the historical chart data of a coin including time in UNIX, price, market cap and 24hr volume based on particular coin ID
- [CoinGecko Coin Historical Chart Data by Token Address](https://www.sandbase.ai/apis/coingecko/coins-contract-market-chart.md): $0.008 per call
  Get the historical chart data including time in UNIX, price, market cap and 24hr volume based on asset platform and particular token contract address
- [CoinGecko Coin Historical Chart Data within Time Range by ID](https://www.sandbase.ai/apis/coingecko/coins-market-chart-range.md): $0.008 per call
  Get the historical chart data of a coin within certain time range in UNIX along with price, market cap and 24hr volume based on particular coin ID
- [CoinGecko Coin Historical Chart Data within Time Range by Token Address](https://www.sandbase.ai/apis/coingecko/coins-contract-market-chart-range.md): $0.008 per call
  Get the historical chart data within certain time range in UNIX along with price, market cap and 24hr volume based on asset platform and particular token contract address
- [CoinGecko Coin Historical Data by ID](https://www.sandbase.ai/apis/coingecko/coins-history.md): $0.008 per call
  Get the historical data (price, market cap, 24hrs volume, ...) at a given date for a coin based on a particular coin ID
- [CoinGecko Coin OHLC Chart by ID](https://www.sandbase.ai/apis/coingecko/coins-ohlc.md): $0.008 per call
  Get the OHLC chart (Open, High, Low, Close) of a coin based on particular coin ID
- [CoinGecko Coin Price by IDs, Symbols, or Names](https://www.sandbase.ai/apis/coingecko/simple-price.md): $0.008 per call
  Get the prices of one or more coins by using their unique Coin API IDs, symbols, or names
- [CoinGecko Coin Price by Token Addresses](https://www.sandbase.ai/apis/coingecko/simple-token-price.md): $0.008 per call
  Get one or more token prices using their token contract addresses
- [CoinGecko Coin Tickers by ID](https://www.sandbase.ai/apis/coingecko/coins-tickers.md): $0.008 per call
  Get the coin tickers on both centralized exchange (CEX) and decentralized exchange (DEX) based on a particular coin ID
- [CoinGecko Coins Categories List (ID Map)](https://www.sandbase.ai/apis/coingecko/coins-categories-list.md): $0.008 per call
  Coins Categories List (ID Map) from CoinGecko. Returns the official CoinGecko API response unchanged.
- [CoinGecko Coins Categories List with Market Data](https://www.sandbase.ai/apis/coingecko/coins-categories.md): $0.008 per call
  Get all the coins categories with market data (market cap, volume, ...) on CoinGecko
- [CoinGecko Coins List (ID Map)](https://www.sandbase.ai/apis/coingecko/coins-list.md): $0.008 per call
  Get all the supported coins on CoinGecko with coins ID, name and symbol
- [CoinGecko Coins List with Market Data](https://www.sandbase.ai/apis/coingecko/coins-markets.md): $0.008 per call
  Get all the supported coins with price, market cap, volume and market related data
- [CoinGecko Exchange Data by ID](https://www.sandbase.ai/apis/coingecko/exchanges-by-id.md): $0.008 per call
  Get exchange's data (name, year established, country, ...), exchange volume in BTC and top 100 tickers based on exchange's ID
- [CoinGecko Exchange Tickers by ID](https://www.sandbase.ai/apis/coingecko/exchanges-tickers.md): $0.008 per call
  Exchange Tickers by ID from CoinGecko. Returns the official CoinGecko API response unchanged.
- [CoinGecko Exchange Volume Chart by ID](https://www.sandbase.ai/apis/coingecko/api-volume-chart.md): $0.008 per call
  Get the historical volume chart data with time in UNIX and trading volume data in BTC based on exchange's ID
- [CoinGecko Exchanges List (ID Map)](https://www.sandbase.ai/apis/coingecko/exchanges-list.md): $0.008 per call
  Exchanges List (ID Map) from CoinGecko. Returns the official CoinGecko API response unchanged.
- [CoinGecko Exchanges List with Data](https://www.sandbase.ai/apis/coingecko/exchanges.md): $0.008 per call
  Get all the supported exchanges with exchanges' data (ID, name, country, ...) that have active trading volumes on CoinGecko
- [CoinGecko Supported Currencies List](https://www.sandbase.ai/apis/coingecko/simple-supported-vs-currencies.md): $0.008 per call
  Supported Currencies List from CoinGecko. Returns the official CoinGecko API response unchanged.
- [CoinGecko Trending Search List](https://www.sandbase.ai/apis/coingecko/search-trending.md): $0.008 per call
  This endpoint allows you query trending search coins, NFTs and categories on CoinGecko in the last 24 hours

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
