Open reyesmariana141 opened 2 years ago
I think this requires the paid API key
latest_marketcap <- get_global_marketcap('EUR') ‼ The old API is used when no 'apikey' is given. Error: lexical error: invalid char in json text.
I received the following error while executing the same command.
Did you try with the API key?
I tried to use this function: however its got an error
get_global_marketcap(latest = FALSE, count = 10, interval = "yearly", time_start = Sys.Date()-180, time_end = Sys.Date())
this is the result:
x The request was not succesfull! Request URL: https://pro-api.coinmarketcap.com/v1/global-metrics/quotes/historical?convert=USD&count=10&interval=yearly&time_start=2021-09-10&time_end=2021-09-10 Response Content: { "status": { "timestamp": "2022-03-09T01:22:54.602Z", "error_code": 1006, "error_message": "Your API Key subscription plan doesn't support this endpoint.", "elapsed": 0, "credit_count": 0 } }
Thank you in advance!