Author

Topic: MtGox API question (Read 1963 times)

full member
Activity: 209
Merit: 100
January 13, 2012, 01:45:57 AM
#4
If you want realtime data, you may want to consider the streaming WebSocket API:

https://bitcointalksearch.org/topic/beta-mtgox-websocket-api-testers-wanted-5855

I don't really know much about websockets. Looks like its time to read up on some documentation  Smiley
hero member
Activity: 728
Merit: 500
165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
January 12, 2012, 07:21:41 PM
#3
If you want realtime data, you may want to consider the streaming WebSocket API:

https://bitcointalksearch.org/topic/beta-mtgox-websocket-api-testers-wanted-5855
legendary
Activity: 1904
Merit: 1002
January 12, 2012, 07:20:22 PM
#2
https://mtgox.com/api
Quote
All of the API methods below have cached results, ticker, depth . . . have a 10 seconds cache . No need to poll more often, you wont have more results, you could just be blocked by the prolexic anti ddos features.

I need to get the prices for all currencies. To do this I would have to go to the ticker for each currency. Eg.
Code:
http://mtgox.com/api/0/data/ticker.php?Currency=USD
http://mtgox.com/api/0/data/ticker.php?Currency=AUD
http://mtgox.com/api/0/data/ticker.php?Currency=EUR
etc.
Will doing this get my server blocked from the DDOS protection?

Run it for a few days on your dev box and find out.  Open a support ticket on support.mtgox.com for a direct answer.  They may even change your limits if they agree your application needs special treatment.
full member
Activity: 209
Merit: 100
January 12, 2012, 07:17:46 PM
#1
https://mtgox.com/api
Quote
All of the API methods below have cached results, ticker, depth . . . have a 10 seconds cache . No need to poll more often, you wont have more results, you could just be blocked by the prolexic anti ddos features.

I need to get the prices for all currencies. To do this I would have to go to the ticker for each currency. Eg.
Code:
http://mtgox.com/api/0/data/ticker.php?Currency=USD
http://mtgox.com/api/0/data/ticker.php?Currency=AUD
http://mtgox.com/api/0/data/ticker.php?Currency=EUR
etc.
Will doing this get my server blocked from the DDOS protection?
Jump to: