Cryptocurrencies Comparison
CoinDesk's API offers live and historical cryptocurrency data, including BTC and ETH prices, social insights, news, and blockchain analytics.
import requests
url = "https://api.coindesk.com/v1/bpi/currentprice.json"
headers = {"X-API-KEY": "YOUR_API_KEY"}
response = requests.get(url, headers=headers)
print(response.json())Last 50 checks (10 min intervals)