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.
10 Answers
EDIT: These links appear to no longer work
You can get it at Bitcoincharts:
http://bitcoincharts.com/t/trades.csv?symbol=SYMBOL[&start=UNIXTIME][&end=UNIXTIME]
It returns a CSV file with the format:unixtime,price,amount
.
For example, you can use this link to get the MtGox prices since August:
http://bitcoincharts.com/t/trades.csv?symbol=mtgoxUSD&start=1312174800
-
2Awsome. I used this link to get data from 2009. bitcoincharts.com/t/… Sep 8, 2011 at 9:44
-
Well, this turned out absolutely meaningless. Here is the ugly conversation script if anyone's interested: gist.github.com/1251429 Sep 29, 2011 at 18:00
-
-
1The links in this answer have stopped working.– user5672Jul 9, 2015 at 20:31
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"
for example: http://www.quandl.com/BITCOIN-Bitcoin-Charts/MTGOXUSD-Bitcoin-Markets-mtgoxUSD
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.
https://www.investing.com/currencies/btc-usd-historical-data
EDIT: Your updated question asked for JSON. I would use blockchain.info
https://api.blockchain.info/charts/market-price?format=json×pan=all
Other timespan options:
×pan=30days
×pan=60days
×pan=180days
×pan=1year
×pan=2years
-
-
-
I've merged the question into this one, this answer may require small edits to make it fit in :) Jan 18, 2018 at 23:02
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
-
1
This explains how to get a dump of past Mt Gox data and the Mt Gox API allows current data. Hope this helps!
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!
Update:
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!
-
1
-
1See Meni's comment above. I have unaccepted the accepted answer, because it's, as you say, no longer correct. I personally don't have historic price data, but perhaps you can post on bitcointalk.org and ask there. (please post here if you find it!) Jul 16, 2013 at 8:40
-
1Meni has only end-of-day data which is not sufficient. However, I will do as you suggested and ask on bitcointalk. If I find any, surely I will post it here for others! Jul 16, 2013 at 9:06
-
1As 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! Jul 25, 2013 at 12:16
-
Yes, there are websites to do that.
coinmarketcap.com (Most used)
bitinfocharts.com (Most advanced)
-
1This answer has been moved due to questions being merged, please double check it doesn't need any edits :) Jan 18, 2018 at 22:59
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
-
Please disclose your affiliation or this will be deleted as spam :) Jan 18, 2018 at 23:02
You can get it from http://www.coinintraday.com . It offers many intraday data