Base URLs
| Data | Base URL |
|---|---|
| CoinGecko Prices, market data, trending, global stats | https://api.coingecko.com/api/v3 |
| GeckoTerminal (Onchain DEX) Pools, tokens, trades, OHLCV chart | https://api.geckoterminal.com/api/v2 |
The onchain base URL (
api.geckoterminal.com) differs from the /onchain path used with keyed API plans. See GeckoTerminal DEX API for full endpoint docs.Rate Limits
All keyless requests share an IP-based rate pool:- CoinGecko endpoints: ~10β30 calls/min (dynamic, varies by server load)
- GeckoTerminal endpoints: ~10 calls/min
429 Too Many Requests, back off exponentially before retrying.
Available Endpoints
50+ CoinGecko endpoints and 20 onchain DEX endpoints β no sign-up required.See the full list in the Demo Endpoint Overview.
CoinGecko
| Endpoint | Description |
|---|---|
| /simple/price | Prices of one or more coins by Coin API IDs |
| /simple/token_price/{id} | Token prices by contract addresses |
| /coins/markets | All coins with price, market cap, volume |
| /coins/{id} | Metadata and market data of a coin |
| /coins/{id}/market_chart | Historical price, market cap, and volume chart |
| /coins/{id}/ohlc | OHLC candlestick chart |
| /coins/categories | All coin categories with market data |
| /search/trending | Trending coins, NFTs, and categories |
| /global | Global crypto market stats |
| /exchange_rates | BTC exchange rates with other currencies |
| Β Explore more β |
GeckoTerminal (Onchain DEX)
| Endpoint | Description |
|---|---|
| /simple/networks/{network}/token_price /{addresses} | Token prices by contract addresses on a network |
| /networks/{network}/pools/{address} | Pool data by network and pool address |
| /networks/{network}/tokens/{address} | Token data by contract address on a network |
| /networks/trending_pools | Trending pools across all networks |
| /networks/{network}/trending_pools | Trending pools on a specific network |
| /networks/new_pools | Newest pools across all networks |
| /networks/{network}/pools/{pool_address} /ohlcv/{timeframe} | OHLCV chart by pool address |
| /networks/{network}/pools/{pool_address} /trades | Last 300 trades in past 24 hours by pool address |
| Β Explore more β |
Examples
CoinGecko
-
Get the top 10 coins by market cap:
-
Get Bitcoinβs past 30 days of daily price data:
-
Get trending coins, NFTs, and categories:
GeckoTerminal (Onchain DEX)
-
Get trending pools on Solana:
-
Get newest pools across all networks:
-
Get OHLCV chart for a pool on Ethereum:
Ready for More?
Free Demo API Key
Sign up for a free Demo key β same endpoints, higher rate limits, and usage tracking.
Upgrade to Pro
Unlock 80+ endpoints, WebSocket, Webhooks, and production-grade rate limits.

