I am using this formula in google sheets to pull the current price of tradeable assets on coinbase.
=VALUE(SUBSTITUTE(SUBSTITUTE(INDEX(IMPORTDATA("https://api.pro.coinbase.com/products/ETH-USD/ticker"),0,2), "price:",""), """", ""))
Super simple and works great. I can change "ETH" in the URL to the ticker of any tradeable asset, i.e., "BTC" and it returns the price of that asset.
However, when I change to a NON trade-able asset, for example SAMO, I get an error.
Is there a similar URL structure I can use to get SAMO, for example?