CoinGecko Simple Price


Stuff You Need to Know

CoinGecko is a leading cryptocurrency data aggregator, with more than 6,700 coins listed to date. You can use this component to request a set of current prices for a set of cyrptocurrencies versus a rather large set of other currencies (both crypto and fiat).


How to Configure It

  • Select Coin(s): Because the list of possible cryptocurrencies is so long, begin by typing part of the name of the cryptocurrency into the text box. The list that displays below will filter based on what you type. Note that that list is in alphabetical order.
  • VS Currency(ies): This is where you choose which currency you want the price of the coin(s) you selected above to be compared against. This is called a currency pair. An example would be if you want to know the price of Coval in terms of Bitcoin, or possibly Coval in terms of USD. Only supported VS Currencies will be listed, and this list contains only the symbol- exactly how CoinGecko sends us the data.


What Happens Next

The response will be a complex object, listing all of the cryptocurrencies you selected in the Coins list, and then under each one, it will list the price of that cryptocurrency for each of the selected VS Currencies.

{
  "success": true,
  "message": "OK",
  "code": 200,
  "data": {
    "circuits-of-value": {
      "btc": 9e-8,
      "eth": 0.00000431,
      "usd": 0.00084765,
      "xrp": 0.00310121
    },
    "cyberfm": {
      "btc": 0,
      "eth": 1.8e-9,
      "usd": 3.6e-7,
      "xrp": 0.00000131
    }
  }
}

Original Documentation

https://www.coingecko.com/api/documentations/v3#/simple