<p>Have a look at the API of <a href="http://bitcoincharts.com/about/markets-api/" rel="nofollow">Bitcoin Charts</a>. They have trade data available for all the major exchanges but delayed by 15 minutes. You can then fill up the gap using the available exchange APIs.</p>

CC BY-SA 3.0
2015-02-05T07:10:55.343Z
2015-02-05T07:10:55.343Z
P.P.
<p><a href="https://www.cluedex.com/api" rel="nofollow noreferrer">ClueDex</a> is the best solution when you don't want cached or delayed data. You can get raw ticks from any time period back to October 2017. Or, you can get OHLCV candle data from back to the same time frame and in almost any period--even create your own i.e. 15-second or 30-second periods, or whatever. Retrieve all OHLCV candles in a single query and specify the number of candle data you wish to have returned. </p>

<p>Most people want OHLCV candle data as this plugs into the <a href="https://www.ta-lib.org/" rel="nofollow noreferrer">TA-LIB</a> functions for analysis. Not every API delivers this, and ClueDex does so without a delay or caching.</p>

CC BY-SA 3.0
2018-04-05T06:04:56.423Z
2018-04-05T06:04:56.423Z
Laser-Lance
<p>If it's just for bitcoins, have a look at <a href="http://bitcoincharts.com/about/markets-api/" rel="nofollow">bitoincharts</a></p>

CC BY-SA 3.0
2014-04-07T09:44:27.710Z
2014-04-07T09:44:27.710Z
David
<p>I'm trying my hands on a trading bot, but I need a website to pull trade data for min. the last 3 days. This can be from any major exchange. Eg. the exact same as this:
<a href="https://www.bitstamp.net/api/transactions/" rel="nofollow">https://www.bitstamp.net/api/transactions/</a></p>

<p>But this only allows retrieval of transactions max. 1 hour old (or am I wrong?)</p>

CC BY-SA 3.0
2014-03-20T00:11:38.753Z
If you keep pulling data for 3 days, you'll have the data you need.
Highly Irregular
CC BY-SA 3.0
2014-03-20T17:16:38.127Z
yeah, but isn't there an already made solution?
Jabburen
<api><exchange-rate><raw-data>
Getting historic exchange data through an API
Jabburen
# Getting historic exchange data through an API

(Asked by: username_0 on 2014-03-19)

I'm trying my hands on a trading bot, but I need a website to pull trade data for min. the last 3 days. This can be from any major exchange. Eg. the exact same as this:
<https://www.bitstamp.net/api/transactions/>

But this only allows retrieval of transactions max. 1 hour old (or am I wrong?)

**Tags:** api, exchange-rate, raw-data

> **Comments:**
> **username_1**: If you keep pulling data for 3 days, you'll have the data you need.  
> **username_0**: yeah, but isn't there an already made solution?  

---

## 3 answers

### Answer by username_2 on 2015-02-05. Score: 2

Have a look at the API of [Bitcoin Charts](http://bitcoincharts.com/about/markets-api/). They have trade data available for all the major exchanges but delayed by 15 minutes. You can then fill up the gap using the available exchange APIs.


---

### Answer by username_3 on 2018-04-05. Score: 0

[ClueDex](https://www.cluedex.com/api) is the best solution when you don't want cached or delayed data. You can get raw ticks from any time period back to October 2017. Or, you can get OHLCV candle data from back to the same time frame and in almost any period--even create your own i.e. 15-second or 30-second periods, or whatever. Retrieve all OHLCV candles in a single query and specify the number of candle data you wish to have returned.

Most people want OHLCV candle data as this plugs into the [TA-LIB](https://www.ta-lib.org/) functions for analysis. Not every API delivers this, and ClueDex does so without a delay or caching.


---

### Answer by username_4 on 2014-04-07. Score: 0

If it's just for bitcoins, have a look at [bitoincharts](http://bitcoincharts.com/about/markets-api/)


---

