Where can I get a time series of (date, bitcoin price in USD)? BitcoinCharts no longer provide historic data, only the last 20,000 samples.
EDIT: These links appear to no longer work
You can get it at Bitcoincharts:
It returns a CSV file with the format:
For example, you can use this link to get the MtGox prices since August:
You can download the whole historical data (every single trade) from the various exchanges as a single .csv file here:
Try quandl! and search for "bitcoin"
You didn't state what format you are looking for. Investing.com has a decent tool for this. I've used it for calculating long term gains/losses.
EDIT: Your updated question asked for JSON. I would use blockchain.info
Other timespan options:
You might want to try http://www.cryptodatasets.com/ It has free raw(every trade by trade) data and sampled data from Bitfinex and HitBtc (non from MtGox since its not operating anymore).
P.S. it's my website
Bitcoincharts recently retricted the download for latest 20000 trades, it basically represents only two days of tick data.
Guys, if you have downloaded it before the restriction, would you mind sharing those past tick data? It would help me a lot. Thanks!
As promised, I'm sharing the way how I downloaded all historical trade-by-trade data from MtGox. Firstly, register at BigQuerry cloud database, at this time only download of 16k rows of data is enabled. Secondly go to bitbucket.org/nitrous/bq and download the software which automatize the data download. The whole database took approx one hour to download. Everything is free, no charges. Enjoy!
http://www.CryptoDataDownload.com is newer but has 28+ exchanges, ~550 pairs, 8+ ccy pairs, and daily/hourly/minute timeframes to download via csv format for free
You can get it from http://www.coinintraday.com . It offers many intraday data