Historical BTC data in JSON

5

3

As of now, the only API I can find that serves historical data is https://blockchain.info/charts/market-price?timespan=60days&format=json. It only uses USD, and I need to serve non-USD data. My google-fu is failing me, does anyone know of an API that serves historical data for more than one currency? Preferably a currency I can specify as part of the API call.

Christopher Sardegna

Posted 2014-12-18T01:20:01.367

Reputation: 51

I believe Coindesk has an index of data in various currencies. http://www.coindesk.com/price/ What you have to know however is that it was not possible to buy BTC in all currencies from the get-go. USD was the original traded currency, so that has the longest history. You could theoretically derive the price for any given day based on the FOREX rates in OANDA or XE.

– T9b – 2014-12-18T12:29:43.220

Answers

1

You could also try the Blocktrail API: https://www.blocktrail.com/api. They are new on the scene but their API can be quite useful. They have a node.js API as well as PHP, Python, CURL and jQuery. It doesn't track prices though but hope it can be of help some other way.

cryptobubble

Posted 2014-12-18T01:20:01.367

Reputation: 35

0

You can try Bitcoin Charts API

Sebastian Xawery Wiśniowiecki

Posted 2014-12-18T01:20:01.367

Reputation: 739

0

Modern answer for visibility: https://min-api.cryptocompare.com/ Nice api they having pricing breakdowns for day, hour and minute granularity.

Bauhaus

Posted 2014-12-18T01:20:01.367

Reputation: 101