Title: Restful service that returns historical price data? Post by: coinsentry on June 21, 2014, 05:04:01 AM I'm looking for some kind of API service (like blockr.io) that will return the price of BTC (for any exchange, but preferably Bitstamp or something) at a point in the past.
So I could do something like: http://some.api.com/get_price?date=[timestamp] and it would return the price as it was on that timestamp. All the API's that I've been able to find will only return the current price. Title: Re: Restful service that returns historical price data? Post by: shorena on June 21, 2014, 10:15:52 AM Quote http://api.bitcoincharts.com/v1/trades.csv?symbol=SYMBOL[&start=UNIXTIME] returns CSV: unixtime,price,amount http://bitcoincharts.com/about/markets-api/ Title: Re: Restful service that returns historical price data? Post by: BitCoinDream on June 21, 2014, 06:20:43 PM I'm looking for some kind of API service (like blockr.io) that will return the price of BTC (for any exchange, but preferably Bitstamp or something) at a point in the past. So I could do something like: http://some.api.com/get_price?date=[timestamp] and it would return the price as it was on that timestamp. All the API's that I've been able to find will only return the current price. I think this is what u r looking for... https://blockchain.info/tobtc?currency=USD&value=600 p.s. Change the currency code and value as per your requirement. Title: Re: Restful service that returns historical price data? Post by: coinsentry on June 25, 2014, 04:52:25 AM Quote http://api.bitcoincharts.com/v1/trades.csv?symbol=SYMBOL[&start=UNIXTIME] returns CSV: unixtime,price,amount http://bitcoincharts.com/about/markets-api/ At any rate, I made this last weekend since I couldn't find anything else... https://github.com/priestc/HistoricalCryptoPrices |