Where can I get historic data series of Bitcoin prices?

24

9

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.

ripper234

Posted 2011-09-08T08:15:16.147

Reputation: 25 192

Answers

16

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

nmat

Posted 2011-09-08T08:15:16.147

Reputation: 10 879

Well, this turned out absolutely meaningless. Here is the ugly conversation script if anyone's interested: https://gist.github.com/1251429

ripper234 2011-09-29T18:00:05.620

see my answer to get all trades as one big filegreg121 2014-10-27T08:58:51.277

1The links in this answer have stopped working. – None – 2015-07-09T20:31:48.927

2

Awsome. I used this link to get data from 2009. http://bitcoincharts.com/t/trades.csv?symbol=mtgoxUSD&start=1252402936

ripper234 2011-09-08T09:44:15.300

5

You can download the whole historical data (every single trade) from the various exchanges as a single .csv file here:

http://api.bitcoincharts.com/v1/csv/

greg121

Posted 2011-09-08T08:15:16.147

Reputation: 171

4

Riccardo Casatta

Posted 2011-09-08T08:15:16.147

Reputation: 379

2

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&timespan=all

Other timespan options:

&timespan=30days
&timespan=60days
&timespan=180days
&timespan=1year
&timespan=2years

m1xolyd1an

Posted 2011-09-08T08:15:16.147

Reputation: 3 356

Thank you for your answer. Just updated it with the format.Kare 2017-04-23T20:21:07.927

Answer updated with JSON examplem1xolyd1an 2017-04-24T01:30:40.110

I've merged the question into this one, this answer may require small edits to make it fit in :)MeshCollider 2018-01-18T23:02:11.727

2

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

Dany V

Posted 2011-09-08T08:15:16.147

Reputation: 161

1nice site, why not compress the csv with gzip?xgdgsc 2018-01-27T13:15:24.803

1

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!

Steef Gregor

Posted 2011-09-08T08:15:16.147

Reputation: 76

1Just realised I post a question as an answer - sorry!Steef Gregor 2013-07-16T08:30:51.643

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!)ripper234 2013-07-16T08:40:43.483

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!Steef Gregor 2013-07-16T09:06:37.083

1

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 https://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!

Steef Gregor 2013-07-25T12:16:35.703

Thanks! I updated your answer with the content of your comment.ripper234 2013-07-25T15:05:44.913

1

This explains how to get a dump of past Mt Gox data and the Mt Gox API allows current data. Hope this helps!

Jordan Majd

Posted 2011-09-08T08:15:16.147

Reputation: 11

A bit outdated.MCCCS 2018-02-05T13:12:57.807

1

Yes, there are websites to do that.

MCCCS

Posted 2011-09-08T08:15:16.147

Reputation: 5 827

1This answer has been moved due to questions being merged, please double check it doesn't need any edits :)MeshCollider 2018-01-18T22:59:23.483

0

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

cdd

Posted 2011-09-08T08:15:16.147

Reputation: 21

Please disclose your affiliation or this will be deleted as spam :)MeshCollider 2018-01-18T23:02:47.223

0

You can get it from http://www.coinintraday.com . It offers many intraday data

danytrader

Posted 2011-09-08T08:15:16.147

Reputation: 1