Issue: 32551Coinmarketcap platform uses an outdated API

Since of today the coinmarketcap sensor platform isn’t working anymore. Anybody any idea what could be the problem?

I’m using HassOS on Proxmox:

arch x86_64
dev false
docker true
hassio true
os_name Linux
python_version 3.7.6
timezone Europe/Amsterdam
version 0.106.5
virtualenv false


mode storage
resources 11
views 10

The logfile contains this error.

2020-03-06 15:50:10 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/", line 400, in _async_add_entity
    suggested_object_id or or DEVICE_DEFAULT_NAME
  File "/usr/src/homeassistant/homeassistant/components/coinmarketcap/", line 98, in name
    return self._ticker.get("name")
AttributeError: 'NoneType' object has no attribute 'get'

Seems to be a new API for this platform. The old one has been turned off.

{"statusCode": 410,"error": "Gone","message": "WARNING: This API is now offline. Please switch to the new CoinMarketCap API. ("}

1 Like

See also issue:

linked to here from Coinmarketcap Integration