Coin Price by Token Addresses
URL: llms-txt#coin-price-by-token-addresses
Source: https://docs.coingecko.com/v3.0.1/reference/simple-token-price
v3.0.1/reference/api-reference/coingecko-demo.json get /simple/token_price/{id} This endpoint allows you to query one or more token prices using their token contract addresses
You may obtain the asset platform and contract address via several ways:
- refers to respective coin page and find 'contract address'.
- refers to
/coins/listendpoint (include platform = true). - You may flag to include more data such as market cap, 24hr volume, 24hr change, last updated time etc.
The endpoint returns the global average price of the coin that is aggregated across all active exchanges on CoinGecko.