4

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.

  • I believe Coindesk has an index of data in various currencies. 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 Dec 18 '14 at 12:29
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.

0

You can try Bitcoin Charts API

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.