Post
Topic
Board Project Development
Merits 2 from 2 users
Re: [ANN] JJG Sustainable Bitcoin Withdrawal Strategy
by
bitmover
on 30/03/2024, 20:29:16 UTC
⭐ Merited by JayJuanGee (1) ,MusaPk (1)
Hello JayJuanGee,

You may have noticed the page is broken. I was getting data from coingecko, and they decided to close their API.

Code:
{
    "error": {
        "status": {
            "timestamp": "2024-03-28T00:23:30.584+00:00",
            "error_code": 10012,
            "error_message": "Your request exceeds the allowed time range. Public API users are limited to querying historical data within the past 365 days. Upgrade to a paid plan to enjoy full historical data access: https://www.coingecko.com/en/api/pricing. "
        }
    }
}

I will look somewhere else for a free bitcoin price data API...  maybe someone has a good suggestion? Maybe binance (this is probably the easiest choice, BTC USDT data from binance)

I have stored locally price data from 2010 to 2021  Grin

Tool is back online.

I was able to continue using coingecko.

As coingecko allow up to 365 days of historical data in their free plan, and as historical data is static, I just downloaded all historical data.

I also made a small code to check for changes in the last days of their free api plan. So, it will theoretically update our downloaded historical data once a day. Looks to be perfect. let's see in the next days if it updates well!