I am looking to download historical data using the Coinbase Pro's REST API candles endpoint:
GET /products//candles)
I have found that the response from this endpoint is unreliable. Sometimes the response contains data and sometimes the response does not contain data.
Steps to reproduce:
- Copy the following endpoint:
https://api.pro.coinbase.com/products/BTC-USD/candles?start=2014-07-20T00%3A00%3A00.0Z&end=2015-02-05T00%3A00%3A00.0Z&granularity=86400
-
Open in browser of choice
-
Refresh several times
-
Observe that roughly 20 percent of the time, the response contains no data.
Can you explain what is happening?