All historical data from any exchange available at Bitcoin Charts: Markets APIBitcoin Charts: Markets API
Historic Trade Data
Trade data is available as CSV, delayed by approx. 15 minutes. It will return the 2000 most recent trades. Format:
http://bitcoincharts.com/t/trades.csv?symbol=SYMBOL[&start=UNIXTIME][&end=UNIXTIME]
https://api.bitcoincharts.com/v1/trades.csv?symbol=SYMBOL[&start=UNIXTIME]
returnsReturns CSV with columns:
unixtime,price,amount
Without start or end set it'll return the last few days (this might change!).
unixtime,price,amount
ExamplesExample
Latest mtgoxUSD trades: http://bitcoincharts.com/t/trades.csv?symbol=mtgoxUSD
All bcmPPUSD trades: http://bitcoincharts.com/t/trades.csv?symbol=bcmPPUSD&start=0
btcexYADKraken EUR trades from a range: http://bitcoincharts.com/t/trades.csv?symbol=btcexYAD&start=1303000000&end=1303100000https://api.bitcoincharts.com/v1/trades.csv?symbol=krakenEUR