Skip to main content
The Keyless Public API lets you query crypto market data and onchain DEX data without creating an account or managing API keys. Useful for quick prototyping, open-source projects, and educational use.
curl -X GET \
  "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum,solana&vs_currencies=usd"
No headers, no auth β€” just send a request.

Base URLs

DataBase 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.
Do NOT include x-cg-demo-api-key or x-cg-pro-api-key headers β€” they are not needed and will be ignored.

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
If you hit a 429 Too Many Requests, back off exponentially before retrying.
Rate limits are significantly lower than any keyed plan. The keyless API is not suitable for production workloads, scheduled polling, or high-frequency updates.Upgrade to a paid plan for dedicated rate limits and higher credits.

Available Endpoints

50+ CoinGecko endpoints and 20 onchain DEX endpoints β€” no sign-up required.
See the full list in the Demo Endpoint Overview.

CoinGecko

EndpointDescription
/simple/pricePrices of one or more coins by Coin API IDs
/simple/token_price/{id}Token prices by contract addresses
/coins/marketsAll coins with price, market cap, volume
/coins/{id}Metadata and market data of a coin
/coins/{id}/market_chartHistorical price, market cap, and volume chart
/coins/{id}/ohlcOHLC candlestick chart
/coins/categoriesAll coin categories with market data
/search/trendingTrending coins, NFTs, and categories
/globalGlobal crypto market stats
/exchange_ratesBTC exchange rates with other currencies
Β Explore more β†’

GeckoTerminal (Onchain DEX)

EndpointDescription
/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_poolsTrending pools across all networks
/networks/{network}/trending_poolsTrending pools on a specific network
/networks/new_poolsNewest 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:
    curl -X GET \
      "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&per_page=10&page=1"
    
  • Get Bitcoin’s past 30 days of daily price data:
    curl -X GET \
      "https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=usd&days=30&interval=daily"
    
  • Get trending coins, NFTs, and categories:
    curl -X GET \
      "https://api.coingecko.com/api/v3/search/trending"
    

GeckoTerminal (Onchain DEX)

  • Get trending pools on Solana:
    curl -X GET \
      "https://api.geckoterminal.com/api/v2/networks/solana/trending_pools"
    
  • Get newest pools across all networks:
    curl -X GET \
      "https://api.geckoterminal.com/api/v2/networks/new_pools?include=base_token"
    
  • Get OHLCV chart for a pool on Ethereum:
    curl -X GET \
      "https://api.geckoterminal.com/api/v2/networks/eth/pools/0xa43fe16908251ee70ef74718545e4fe6c5ccec9f/ohlcv/hour?token=base&aggregate=4&limit=100&currency=usd"
    

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.