The coinmarketcap sensor platform displays various details about a cryptocurrency provided by CoinMarketCap.

To add the CoinMarketCap sensor to your installation, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
  - platform: coinmarketcap

Configuration Variables

currency_id integer (Optional, default: 1)

The ID of the cryptocurrency to use, default is the ID of Bitcoin.

display_currency string (Optional, default: USD)

The currency to display.

display_currency_decimals integer (Optional, default: 2)

The amount of decimals to round to.

All supported currencies can be found here, a list of currency IDs can be found here.