get https://api.coingecko.com/api/v3/simple/price
This endpoint allows you to query the prices of one or more coins by using their unique Coin API IDs.
Tips
- You may obtain the coin id (api id) via several ways:
- refers to respective coin page and find ‘api id’
- refers to
/coins/list
endpoint- refers to google sheets here
- You may flag to include more data such as market cap, 24hr volume, 24hr change, last updated time etc.
- To verify if a price is stale, you may flag
include_last_updated_at=true
in your request to obtain the latest updated time. Alternatively, you may flaginclude_24hr_change=true
to determine if it returns a 'null' value.
Notes