Coinbase


The coinbase integration lets you access account balances and exchange rates from Coinbase.

You will need to obtain an API key from the API section in Coinbase’s User Settings to use this integration. You need to select the account wallet or wallets (e.g. “BTC Wallet”) that you wish to show in Home Assistant and give read access to wallet:accounts in order for the integration to access relevant data. It is worth noting that once you close the New API Key popup on Coinbase you will not be able to see the API Secret again.

Configuration

To add the Coinbase integration to your Home Assistant instance, use this My button:

API Key

Your API key generated by Coinbase, this is required.

API Secret

Your API secret generated by Coinbase, this is required.

Options

Options for Coinbase can be set via the user interface, by taking the following steps:

  • Browse to your Home Assistant instance.
  • Go to Settings > Devices & Services.
  • If multiple instances of Coinbase are configured, choose the instance you want to configure.
  • Select the integration, then select Configure.
Wallet balances to report

List of currency codes to create account wallet sensors for.

Exchange rates to report

Optional list of currencies to create exchange rate sensors for.

Base currency for exchange rate sensors

Currency used as the currency unit for exchange rate sensors. The default is US Dollar (USD).

Number of decimal places for exchange rates

The number of decimals calculated in exchange rate sensors, a smaller number of decimal places may be returned when the upstream data from Coinbase lacks sufficient precision, this is usually the case when the exchange rate is much larger than the base currency and thus should have no significant effect on calculations.