pycoingecko icon indicating copy to clipboard operation
pycoingecko copied to clipboard

How to get top 100 coins by market cap on specific day

Open paymog opened this issue 3 years ago • 1 comments

Is there a canonical way to get the top 100 coins by market cap on a given day in the past?

The /coins/markets endpoint is close to being able to answer that question but unfortunately it doesn't accept a date parameter.

paymog avatar Oct 31 '21 13:10 paymog

Not possible. Historic endpoint is get_coin_market_chart_range_by_id() for specific coins. You could pull all coins.

However api.py isn't passing the argument for including marketcap and would need to be updated.

craigmediaservices avatar Feb 25 '22 19:02 craigmediaservices