<p>To get the update interval for Mt.Gox HTTP v2 API endpoints, use the <strong>Cache-Control</strong> and <strong>Date/Expires</strong> HTTP headers.</p>

<p>I see a lot of misinformed information going around that the ticker_fast has a 1s cache time. I did some testing (with ticker and ticker_fast) and both the ticker and ticker_fast APIs won't update until their cache time has expired. This is a stateless API so everyone receives the same cache headers. The actual cache time varies somewhere between <strong>20-30 seconds</strong> (at the time of writing this post), this might adjusts on-the-fly depending on how much server load they are receiving.</p>

<p>Try it yourself:</p>

<p><a href="https://data.mtgox.com/api/2/BTCUSD/money/ticker_fast" rel="nofollow">https://data.mtgox.com/api/2/BTCUSD/money/ticker_fast</a>
<a href="https://data.mtgox.com/api/2/BTCUSD/money/ticker" rel="nofollow">https://data.mtgox.com/api/2/BTCUSD/money/ticker</a></p>

CC BY-SA 3.0
2014-01-04T21:13:08.267Z
2014-01-04T21:13:08.267Z
Druska
<p>if you want fast http ticker use the new fast_ticker : 
<a href="http://www.reddit.com/r/Bitcoin/comments/1c9npl/mtgox_fast_ticker_last_only_no_rate_limit_1second/">http://www.reddit.com/r/Bitcoin/comments/1c9npl/mtgox_fast_ticker_last_only_no_rate_limit_1second/</a></p>

<p><a href="http://data.mtgox.com/api/2/BTCUSD/money/ticker_fast">http://data.mtgox.com/api/2/BTCUSD/money/ticker_fast</a></p>

<p>and you will get 1 second only cached minimalist ticker ( last )</p>

<p>if you need more ( low, high, volume ) you have the normal ticker, most probably cached 30 seconds :</p>

<p><a href="http://data.mtgox.com/api/1/BTCUSD/ticker">http://data.mtgox.com/api/1/BTCUSD/ticker</a></p>

<p>the new data.mtgox.com is behind cloudflare now and the only ratelimits you will hit will now be cloudflare anti dos limits</p>

<p>old api urls not using data.mtgox are now deprecated and not guaranteed to work</p>

CC BY-SA 3.0
2013-04-15T01:42:02.487Z
Perfect answer! BTW, I'll use this fast ticker in the next version of Bitcoin Paranoid: 1.5
Felipe
CC BY-SA 3.0
2013-04-14T03:20:56.067Z
2013-04-14T03:20:56.067Z
neofutur
<p>I'm using the MtGox ticker API (from <a href="https://bitbucket.org/nitrous/mtgox-api/overview#markdown-header-moneytickerhttps://bitbucket.org/nitrous/mtgox-api/overview#markdown-header-moneyticker" rel="nofollow">MtGox API V2</a>) and I want to know the update interval. I think it is less than 3 minutes, but is it possible to know exactly? It is important to me because I'm developing an Android app that shows the current price to the user in notification bar.</p>

CC BY-SA 3.0
2013-04-14T02:40:57.060Z
I made now some tests and it seems to be less than one minute, but it variable. I don't know how they cache this value.
Felipe
<mtgox><api>
What is the refresh interval of MtGox ticker API?
Felipe
# What is the refresh interval of MtGox ticker API?

(Asked by: username_0 on 2013-04-14)

I'm using the MtGox ticker API (from [MtGox API V2](https://bitbucket.org/nitrous/mtgox-api/overview#markdown-header-moneytickerhttps://bitbucket.org/nitrous/mtgox-api/overview#markdown-header-moneyticker)) and I want to know the update interval. I think it is less than 3 minutes, but is it possible to know exactly? It is important to me because I'm developing an Android app that shows the current price to the user in notification bar.

**Tags:** mtgox, api

> **Comments:**
> **username_0**: I made now some tests and it seems to be less than one minute, but it variable. I don't know how they cache this value.  

---

## 2 answers

### Answer by username_2 on 2013-04-14. Score: 7 | Accepted answer

if you want fast http ticker use the new fast\_ticker :
<http://www.reddit.com/r/Bitcoin/comments/1c9npl/mtgox_fast_ticker_last_only_no_rate_limit_1second/>

<http://data.mtgox.com/api/2/BTCUSD/money/ticker_fast>

and you will get 1 second only cached minimalist ticker ( last )

if you need more ( low, high, volume ) you have the normal ticker, most probably cached 30 seconds :

<http://data.mtgox.com/api/1/BTCUSD/ticker>

the new data.mtgox.com is behind cloudflare now and the only ratelimits you will hit will now be cloudflare anti dos limits

old api urls not using data.mtgox are now deprecated and not guaranteed to work

> **Comments:**
> **username_0**: Perfect answer! BTW, I'll use this fast ticker in the next version of Bitcoin Paranoid: 1.5  

---

### Answer by username_1 on 2014-01-04. Score: 0

To get the update interval for Mt.Gox HTTP v2 API endpoints, use the **Cache-Control** and **Date/Expires** HTTP headers.

I see a lot of misinformed information going around that the ticker\_fast has a 1s cache time. I did some testing (with ticker and ticker\_fast) and both the ticker and ticker\_fast APIs won't update until their cache time has expired. This is a stateless API so everyone receives the same cache headers. The actual cache time varies somewhere between **20-30 seconds** (at the time of writing this post), this might adjusts on-the-fly depending on how much server load they are receiving.

Try it yourself:

<https://data.mtgox.com/api/2/BTCUSD/money/ticker_fast>
<https://data.mtgox.com/api/2/BTCUSD/money/ticker>


---

