> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coingecko.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Endpoint Overview

> Complete list of endpoints available in the Demo / Keyless API

<Card title="Set up your API key yet?" icon="key" href="/demo/reference/authentication" horizontal arrow="true">
  Authenticate your requests to start using the Demo API.
</Card>

<Card title="Unlock the full API" icon="rocket" href="https://www.coingecko.com/en/api/pricing" horizontal arrow="true">
  The Demo API covers a subset of endpoints.<br />
  **Upgrade for higher rate limits, more credits, and access to all 85+ endpoints.**
</Card>

## CoinGecko

### Price

| Endpoint                                                         | Description                                                          |
| ---------------------------------------------------------------- | -------------------------------------------------------------------- |
| [/simple/price](/demo/reference/simple-price)                    | Query prices of one or more coins by Coin API IDs, symbols, or names |
| [/simple/token\_price/\{id}](/demo/reference/simple-token-price) | Query one or more token prices by token contract addresses           |

### Coins

| Endpoint                                                                             | Description                                                                               |
| ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------- |
| [/coins/markets](/demo/reference/coins-markets)                                      | Query all supported coins with price, market cap, volume and market data                  |
| [/coins/\{id}](/demo/reference/coins-id)                                             | Query all metadata and market data of a coin by coin ID                                   |
| [/coins/\{id}/contract/\{contract\_address}](/demo/reference/coins-contract-address) | Query all metadata and market data of a coin by asset platform and token contract address |
| [/coins/\{id}/tickers](/demo/reference/coins-id-tickers)                             | Query coin tickers on both CEX and DEX by coin ID                                         |
| [/coins/\{id}/history](/demo/reference/coins-id-history)                             | Query historical data (price, market cap, 24hr volume, etc.) at a given date by coin ID   |

### Coin Charts

| Endpoint                                                                                                                    | Description                                                                            |
| --------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [/coins/\{id}/market\_chart](/demo/reference/coins-id-market-chart)                                                         | Historical chart data (price, market cap, 24hr volume) by coin ID                      |
| [/coins/\{id}/market\_chart/range](/demo/reference/coins-id-market-chart-range)                                             | Historical chart data within a time range by coin ID                                   |
| [/coins/\{id}/contract<br />/\{contract\_address}/market\_chart](/demo/reference/contract-address-market-chart)             | Historical chart data by asset platform and token contract address                     |
| [/coins/\{id}/contract<br />/\{contract\_address}/market\_chart/range](/demo/reference/contract-address-market-chart-range) | Historical chart data within a time range by asset platform and token contract address |
| [/coins/\{id}/ohlc](/demo/reference/coins-id-ohlc)                                                                          | OHLC chart by coin ID                                                                  |

### Categories

| Endpoint                                                        | Description                                                           |
| --------------------------------------------------------------- | --------------------------------------------------------------------- |
| [/coins/categories/list](/demo/reference/coins-categories-list) | Query all supported coin categories on CoinGecko                      |
| [/coins/categories](/demo/reference/coins-categories)           | Query all coin categories with market data (market cap, volume, etc.) |

### Exchanges

| Endpoint                                                                    | Description                                                       |
| --------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [/exchanges/list](/demo/reference/exchanges-list)                           | Query all supported exchanges with ID and name                    |
| [/exchanges](/demo/reference/exchanges)                                     | Query all supported exchanges with data (ID, name, country, etc.) |
| [/exchanges/\{id}](/demo/reference/exchanges-id)                            | Query exchange data and top 100 tickers by exchange ID            |
| [/exchanges/\{id}/tickers](/demo/reference/exchanges-id-tickers)            | Query exchange tickers by exchange ID                             |
| [/exchanges/\{id}/volume\_chart](/demo/reference/exchanges-id-volume-chart) | Historical volume chart data in BTC by exchange ID                |

### Derivatives

| Endpoint                                                                  | Description                                                               |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| [/derivatives/exchanges/list](/demo/reference/derivatives-exchanges-list) | Query all supported derivatives exchanges with ID and name                |
| [/derivatives](/demo/reference/derivatives-tickers)                       | Query all tickers from derivatives exchanges                              |
| [/derivatives/exchanges](/demo/reference/derivatives-exchanges)           | Query all derivatives exchanges with data (ID, name, open interest, etc.) |
| [/derivatives/exchanges/\{id}](/demo/reference/derivatives-exchanges-id)  | Query derivatives exchange data by exchange ID                            |

### Public Treasury

| Endpoint                                                                                                          | Description                                                            |
| ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| [/entities/list](/demo/reference/entities-list)                                                                   | Query all supported entities with entity ID, name, symbol, and country |
| [/\{entity}/public\_treasury/\{coin\_id}](/demo/reference/companies-public-treasury)                              | Query public companies' and governments' crypto holdings by coin ID    |
| [/public\_treasury/\{entity\_id}](/demo/reference/public-treasury-entity)                                         | Query public companies' and governments' crypto holdings by entity ID  |
| [/public\_treasury/\{entity\_id}/\{coin\_id}<br />/holding\_chart](/demo/reference/public-treasury-entity-chart)  | Historical crypto holdings chart by entity ID and coin ID              |
| [/public\_treasury/\{entity\_id}<br />/transaction\_history](/demo/reference/public-treasury-transaction-history) | Crypto transaction history by entity ID                                |

### NFTs

| Endpoint                                                                                                  | Description                                                                            |
| --------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [/nfts/list](/demo/reference/nfts-list)                                                                   | Query all supported NFTs with ID, contract address, name, asset platform ID and symbol |
| [/nfts/\{id}](/demo/reference/nfts-id)                                                                    | Query NFT data (name, floor price, 24hr volume, etc.) by collection ID                 |
| [/nfts/\{asset\_platform\_id}/contract<br />/\{contract\_address}](/demo/reference/nfts-contract-address) | Query NFT data by collection contract address and asset platform                       |

### Trending

| Endpoint                                            | Description                                                           |
| --------------------------------------------------- | --------------------------------------------------------------------- |
| [/search/trending](/demo/reference/trending-search) | Query trending search coins, NFTs and categories in the last 24 hours |

### Global

| Endpoint                                                            | Description                                                                         |
| ------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| [/global](/demo/reference/crypto-global)                            | Query global crypto data (active cryptocurrencies, markets, total market cap, etc.) |
| [/global/decentralized\_finance\_defi](/demo/reference/global-defi) | Query top 100 global DeFi data (market cap, trading volume)                         |

### ID Map

| Endpoint                                                                         | Description                                                                           |
| -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [/coins/list](/demo/reference/coins-list)                                        | Query all supported coins with coin ID, name and symbol                               |
| [/asset\_platforms](/demo/reference/asset-platforms-list)                        | Query all supported asset platforms (blockchain networks)                             |
| [/token\_lists/\{asset\_platform\_id}/all.json](/demo/reference/token-lists)     | Full list of tokens on a blockchain network supported by Ethereum token list standard |
| [/simple/supported\_vs\_currencies](/demo/reference/simple-supported-currencies) | Query all supported currencies on CoinGecko                                           |

### Utility

| Endpoint                                           | Description                                           |
| -------------------------------------------------- | ----------------------------------------------------- |
| [/search](/demo/reference/search-data)             | Search for coins, categories and markets on CoinGecko |
| [/exchange\_rates](/demo/reference/exchange-rates) | Query BTC exchange rates with other currencies        |
| [/ping](/demo/reference/ping-server)               | Check API server status                               |

***

## Onchain

### Price

| Endpoint                                                                                                    | Description                                          |
| ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| [/onchain/simple/networks/\{network}<br />/token\_price/\{addresses}](/demo/reference/onchain-simple-price) | Token price by token contract addresses on a network |

### Pools

| Endpoint                                                                                                           | Description                                                  |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------ |
| [/onchain/networks/\{network}/pools<br />/\{address}](/demo/reference/pool-address)                                | Query specific pool by network and pool address              |
| [/onchain/networks/\{network}/pools/multi<br />/\{addresses}](/demo/reference/pools-addresses)                     | Query multiple pools by network and pool addresses           |
| [/onchain/networks/\{network}/pools<br />/\{pool\_address}/info](/demo/reference/pool-token-info-contract-address) | Pool metadata (token details, socials, etc.) by pool address |
| [/onchain/networks/\{network}/pools](/demo/reference/top-pools-network)                                            | Top pools by network                                         |
| [/onchain/networks/\{network}/dexes/\{dex}<br />/pools](/demo/reference/top-pools-dex)                             | Top pools by network and DEX                                 |
| [/onchain/networks/\{network}/tokens<br />/\{token\_address}/pools](/demo/reference/top-pools-contract-address)    | Top pools by token contract address                          |

### New & Trending Pools

| Endpoint                                                                                     | Description                        |
| -------------------------------------------------------------------------------------------- | ---------------------------------- |
| [/onchain/networks/new\_pools](/demo/reference/latest-pools-list)                            | Latest pools across all networks   |
| [/onchain/networks/\{network}/new\_pools](/demo/reference/latest-pools-network)              | Latest pools by network            |
| [/onchain/networks/trending\_pools](/demo/reference/trending-pools-list)                     | Trending pools across all networks |
| [/onchain/networks/\{network}<br />/trending\_pools](/demo/reference/trending-pools-network) | Trending pools by network          |

### Tokens

| Endpoint                                                                                                       | Description                                                                          |
| -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| [/onchain/networks/\{network}/tokens<br />/\{address}](/demo/reference/token-data-contract-address)            | Token data by token contract address on a network                                    |
| [/onchain/networks/\{network}/tokens/multi<br />/\{addresses}](/demo/reference/tokens-data-contract-addresses) | Multiple tokens data by token contract addresses on a network                        |
| [/onchain/networks/\{network}/tokens<br />/\{address}/info](/demo/reference/token-info-contract-address)       | Token metadata (name, symbol, CoinGecko ID, socials, etc.) by token contract address |
| [/onchain/tokens/info\_recently\_updated](/demo/reference/tokens-info-recent-updated)                          | 100 most recently updated tokens info across all networks                            |

### Charts

| Endpoint                                                                                                                    | Description                      |
| --------------------------------------------------------------------------------------------------------------------------- | -------------------------------- |
| [/onchain/networks/\{network}/pools<br />/\{pool\_address}/ohlcv/\{timeframe}](/demo/reference/pool-ohlcv-contract-address) | Pool OHLCV chart by pool address |

### Trades

| Endpoint                                                                                                         | Description                                      |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| [/onchain/networks/\{network}/pools<br />/\{pool\_address}/trades](/demo/reference/pool-trades-contract-address) | Last 300 trades in past 24 hours by pool address |

### ID Map

| Endpoint                                                         | Description                             |
| ---------------------------------------------------------------- | --------------------------------------- |
| [/onchain/networks](/demo/reference/networks-list)               | All supported networks on GeckoTerminal |
| [/onchain/networks/\{network}/dexes](/demo/reference/dexes-list) | All supported DEXs by network           |

### Utility

| Endpoint                                              | Description                                                           |
| ----------------------------------------------------- | --------------------------------------------------------------------- |
| [/onchain/search/pools](/demo/reference/search-pools) | Search pools by pool address, token name, symbol, or contract address |

***

⚡ **Need real-time data streams?**<br />
Stream prices, trades, and OHLCV data with ultra-low latency via [WebSocket](/websocket).

<a href="/websocket">
  <Frame>
    <img src="https://mintcdn.com/coingecko/i9l2MT4etZGYjSx8/assets/images/wss-banner.png?fit=max&auto=format&n=i9l2MT4etZGYjSx8&q=85&s=549c74aa828375edbc51e3d52fd0d080" noZoom width="2400" height="470" data-path="assets/images/wss-banner.png" />
  </Frame>
</a>

Requires [Analyst plan & above](https://www.coingecko.com/en/api/pricing).
