The simplePrice RPC Method will return you the latest price & market data of a crypto coin listed on CoinGecko.com.

To begin, you will need to provide the API id and supported currency to query.

You may flag to return more data like market cap, 24hour volume & more.

Parameter Description: Remarks
ids the API id of a coin, you may get the full list of id https://coingeckoapi.notion.site/529f4bb5c4d84d5fad797b09cfdb4b53 required
vs_currencies the currency of the data returned, you may get the full list of supported currency https://api.coingecko.com/api/v3/simple/supported_vs_currencies required, default: usd
include_market_cap true/false to include market cap data optional, default: false
include_24hr_vol true/false to include 24hour volume data optional, default: false
include_24hr_change true/false to include 24hour price change percentage optional, default: false

To view full list of 10,000+ coins api id,

To view full list of 50+ supported currencies, please visit:

Methodology:

CoinGecko Price is calculated using a global volume-weighted average price formula, read more about the methodology here: https://www.coingecko.com/en/methodology

Need Support?

Support Email: [email protected]

Support Website: https://www.coingecko.com/en/api/documentation