Bitcoin Forum
October 16, 2024, 03:44:33 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: mtGox API NOT returning JSON / API has changed?  (Read 1860 times)
mr-sk (OP)
Member
**
Offline Offline

Activity: 117
Merit: 10


View Profile
June 14, 2011, 01:12:31 PM
 #1

Anyone have an idea why the MtGox API seems to be broken when I request:

Code:
curl https://mtgox.com/code/data/ticker.php
Code:
<HTML><HEAD><META HTTP-EQUIV="Refresh" CONTENT="0"><SCRIPT Language="JavaScript">var coupon1= 145096021;var coupon2= 161156383;var style1=  41591907;var style2=  29262254;var add = coupon1+coupon2+style1+style2;document.cookie="NSC_DOSP="+add+";path=/";window.location=window.location.href;window.focus();</SCRIPT></HEAD></HTML>

Strange right?

Also:

Code:
curl http://mtgox.com/code/data/ticker.php
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://mtgox.com/code/data/ticker.php">here</a>.</p>
</body></html>

MtGox's API page doesn't say anything about the API changing...

EDIT:

I don't hit the MtGox servers hard - I have rate-limiting on all my API calls and I cache the data locally as to not stress their servers.

Telegram
mr-sk (OP)
Member
**
Offline Offline

Activity: 117
Merit: 10


View Profile
June 14, 2011, 11:43:03 PM
 #2

Great, I'm stuck on the newbie and all day can't discuss technical issues on the correct forum...good way to foster a community...

Telegram
TECSHARE
In memoriam
Legendary
*
Offline Offline

Activity: 3318
Merit: 2008


First Exclusion Ever


View Profile WWW
June 15, 2011, 02:06:50 AM
 #3

It is also the only reason those posts aren't covered in a mountain of SPAM.

mr-sk (OP)
Member
**
Offline Offline

Activity: 117
Merit: 10


View Profile
June 17, 2011, 05:12:06 PM
 #4

Hey tecshare,

In all the forums I viewed (discussion, dev, etc) I didn't see any other comments when this was happening. So I couldn't determine if it was an isolated issue or not.

And, to top it off, you're just posting crap / spam yourself. Why not just link me to the thread that explains the issue, instead of posting crap?

Or better yet, go hang out on /b/. Internet smart ass tough guys...love em. You'll fit in perfect with your silly images too!


Telegram
rizzn
Member
**
Offline Offline

Activity: 108
Merit: 10



View Profile
July 12, 2011, 04:10:57 AM
 #5

Did you ever find any joy for your problem?

I keep experiencing this issue off and on. Haven't gotten a good solid day of access to MTGOX yet.
jcp
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
July 12, 2011, 05:05:10 AM
 #6

The normal https request has been working fine for me, but it isn't designed for frequent requests, so you might get blocked. If you need mtgox live trade data, you should look into the websockets API.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!