Accesing Nomics API Data


In this image, I want the ‘market_cap’ data from the first object. How do I call it using javascript?
I have done this coding so far to store the ‘market_cap’ data in the “#text533” element.
But I am getting an error “unexpected token N at position 0”.

getCryptosMarketCap()
** .then(currencyMarketCap => {**
** $w("#text533").text = currencyMarketCap[0].market_cap **
** })**

The backend code is all set up and working fine.