I’m unable to pull data from the Cryptoewatch public API.
Code:
btc = get_historic_price(‘btc’, ‘bitstamp’, after=last_week)
eth = get_historic_price(‘eth’, ‘bitstamp’, after=last_week)
Error:
HTTPError: 410 Client Error: Gone for url: https://api.cryptowat.ch/markets/bitstamp/btcusd/ohlc?periods=3600&after=1700020853
I’m using Google Colab to work on the files.
1 Like
If you just open that request in a new tab, it shows the following that says that the API you’re trying to pull from is disabled:
{
"status": 410,
"message": "CW_API_Disabled"
}
2 Likes
I know that’s the problem. I need that resource to continue with the course.
Search for other API providers. You could try this one, there is a free tier:
https://coinmarketcap.com/api/
1 Like
system
Closed
May 27, 2024, 3:00am
6
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.