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 anull
value.
Notes