list icon indicating copy to clipboard operation
list copied to clipboard

coinMarketCap api error

Open orrajabii opened this issue 3 years ago • 4 comments

I followed the installation instructions. However, when clicking Update Portfolio I get the following error:

Exception: Request failed for https://api.coinmarketcap.com returned code 503. Truncated server response:

<me... (use muteHttpExceptions option to examine full response)

orrajabii avatar Aug 10 '21 18:08 orrajabii

Hi! I'm having the same error. How did you solve it?

crorodriguezro avatar Aug 14 '21 13:08 crorodriguezro

Hi! The same. Any ideas?

zmax1 avatar Aug 26 '21 10:08 zmax1

I am using importjson with cmc api in google sheet like this:

importjson("https://pro-api.coinmarketcap.com/v1/cryptocurrency/quotes/latest?CMC_PRO_API_KEY="& cmcAPIkey&"&symbol=TASTE","/data/TASTE/quote/USD/price","noInherit,noTruncate,noHeaders")

You need to replace cmcAPIkey with your api key.

orrajabii avatar Sep 01 '21 19:09 orrajabii

This is the correct API URL:

https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest?convert=EUR&limit=400&CMC_PRO_API_KEY=XXXXXXXXXXXXXXXXXXXXX

Just substitute XXXXXXXXXXXXXXXXXXXXX with your API key and in file main.js substitute line 8 URL with the above.

AlanJereb avatar Sep 28 '21 19:09 AlanJereb