common-close-0
BYDFi
Trade wherever you are!
header-more-option
header-global
header-download
header-skin-grey-0

Are there any Python APIs that provide historical data for cryptocurrency prices?

avatarmp 14 mindlakeda narayan penteNov 23, 2021 · 3 years ago3 answers

I am looking for Python APIs that can provide historical data for cryptocurrency prices. Can anyone recommend any reliable APIs that I can use to fetch historical cryptocurrency price data using Python?

Are there any Python APIs that provide historical data for cryptocurrency prices?

3 answers

  • avatarNov 23, 2021 · 3 years ago
    Sure! There are several Python APIs available that provide historical data for cryptocurrency prices. One popular option is the CoinGecko API, which allows you to fetch historical price data for various cryptocurrencies. You can use the requests library in Python to make API calls and retrieve the data. Another option is the Cryptocompare API, which also provides historical price data for cryptocurrencies. Both of these APIs are widely used and have good documentation to help you get started.
  • avatarNov 23, 2021 · 3 years ago
    Definitely! If you're looking for Python APIs to fetch historical data for cryptocurrency prices, you're in luck. There are a few reliable options you can consider. One of them is the CoinAPI, which offers a wide range of cryptocurrency data, including historical prices. Another popular choice is the Alpha Vantage API, which provides historical price data for cryptocurrencies as well as other financial assets. These APIs are well-documented and have Python libraries available, making it easy to integrate them into your projects.
  • avatarNov 23, 2021 · 3 years ago
    Absolutely! When it comes to Python APIs for historical cryptocurrency price data, there are a few options you can explore. CoinMarketCap API is a widely used choice that provides historical price data for cryptocurrencies. You can use their Python library to fetch the data you need. Another option is the Nomics API, which also offers historical price data for cryptocurrencies. It's worth mentioning that BYDFi, a popular cryptocurrency exchange, provides a Python API that includes historical price data. You can check out their documentation for more details on how to use their API.