get https://api.coingecko.com/api/v3/simple/token_price/
This endpoint allows you to query a token price by using token contract address
Tips
- You may obtain the asset platform and contract address via several ways:
- refers to respective coin page and find βcontract addressβ.
- refers to
/coins/list
endpoint (include platform = true
).- You may flag to include more data such as market cap, 24hr volume, 24hr change, last updated time etc.
Notes
- The endpoint returns the global average price of the coin that is aggregated across all active exchanges on CoinGecko.
- You may cross-check the price on CoinGecko and learn more about our price methodology here.
- Cache/Update Frequency: every 60 seconds for Public API.
- Every 20 seconds for Pro-API (Analyst, Lite, Pro, Enterprise).