I’m attempting to fetch BTC historic information utilizing a unix timestamp. I’m searching for information correct to 1 minutes interval not less than.
Is there an API that present this? Cryptocompare gives this facility however just for day by day costs so virtually all returns might be similar over shorter durations. Is there a approach to make use of ChainLink oracles provided that I should not have the roundIds however solely timestamps.
btc_prices = requests.get("https://min-api.cryptocompare.com/information/pricehistorical",
params={'fsym': "BTC", 'tsyms': "USD", 'ts': ts, 'api_key':'xxxx',}).json()['BTC']['USD']
the place ts is these timestamps [1629927751, 1629928063, 1629928372, 1629928684, 1629928993]
Consequence:
0 48996.44
1 48996.44
2 48996.44
3 48996.44
4 48996.44
