# Coingecko

13 endpoints on Coingecko. Every one returns the same response shape and has a flat, published price in credits.

Category: [Finance & markets](https://onekey.dev/docs/categories/finance.md) · [Overview page](https://onekey.dev/platforms/coingecko)

## Endpoints

| Endpoint | What it does | Cost | Status |
| --- | --- | --- | --- |
| [`categories`](https://onekey.dev/docs/api/coingecko/categories.md) | Coin categories with aggregate market cap and 24h volume. | 5 credits | stable |
| [`coin`](https://onekey.dev/docs/api/coingecko/coin.md) | Coin profile with live market data (price, market cap, supply, ATH). | 1 credit | stable |
| [`defi_global`](https://onekey.dev/docs/api/coingecko/defi_global.md) | Global DeFi market summary (market cap, dominance, top coin). | 1 credit | stable |
| [`exchange`](https://onekey.dev/docs/api/coingecko/exchange.md) | One exchange: trust score, 24h BTC volume, country, links. | 1 credit | stable |
| [`exchange_rates`](https://onekey.dev/docs/api/coingecko/exchange_rates.md) | BTC-denominated exchange rates for fiat, crypto and commodities. | 1 credit | stable |
| [`exchanges`](https://onekey.dev/docs/api/coingecko/exchanges.md) | Crypto exchanges ranked by trust score. | 5 credits | stable |
| [`global`](https://onekey.dev/docs/api/coingecko/global.md) | Global crypto market: total market cap, volume, BTC/ETH dominance. | 1 credit | stable |
| [`history`](https://onekey.dev/docs/api/coingecko/history.md) | Coin snapshot (price, market cap, volume) on a past date (public API: last 365 days only). | 1 credit | stable |
| [`market_chart`](https://onekey.dev/docs/api/coingecko/market_chart.md) | Price time series (price points) for a coin over N days. | 5 credits | stable |
| [`markets`](https://onekey.dev/docs/api/coingecko/markets.md) | Top coins by market cap with prices, volume and 24h change. | 5 credits | beta |
| [`ohlc`](https://onekey.dev/docs/api/coingecko/ohlc.md) | OHLC candles for a coin (days: 1,7,14,30,90,180,365). | 5 credits | stable |
| [`search`](https://onekey.dev/docs/api/coingecko/search.md) | Search coins by name or symbol. | 5 credits | stable |
| [`trending`](https://onekey.dev/docs/api/coingecko/trending.md) | Trending coins on CoinGecko in the last 24h. | 5 credits | stable |

Every endpoint page has a **Field mapping** section showing which source field becomes which [unified field](https://onekey.dev/docs/schema.md) (fixed schema) or platform-specific `ext.` field.
