Mt Gox Web Socket API Help Needed - repost

This project received 5 bids from talented freelancers with an average bid price of $157 AUD.

Get free quotes for a project like this
Employer working
Project Budget
$30 - $250 AUD
Total Bids
Project Description


[You must have experience on Mt Gox web socket and know your networks to bid]

I am trying to successfully get streaming data from Mt Gox Web Socket API. If you have no idea what I am talking about then stop reading now. Also, include the word 'stream' as the first word of your bid so I know you have read this properly.

So, the progress I have made so far is: I have the HTTP v2 API working, so that's cool but for web sockets - I can successfully initiate the handshake bu am unable to subscribe to a channel and get some data returned. I am using a version of BASIC for this btw. Below is the data being sent and the returned data and the area where I am having issues:

[url removed, login to view]
GET /mtgox/Currency=USD HTTP/1.1
Upgrade: websocket
Connection: Upgrade
Host: [url removed, login to view]
Origin: [url removed, login to view]
Sec-WebSocket-Key: UWaphFPiSqq3f2gOmaD5Sg==
Sec-WebSocket-Version: 13


4{"message":"Now online (no channels)","op":"remark"}

Which is expected but when I try to initiate a subscribe, I just keep on getting disconnected:


Now, please be advised that I have put \x00 and \xFF in the above as I believe that is the correct notation for PHP and Python. As I am using Basic, I have set the first byte to 0 and the last to 255 and included the ANSI text above. Done the same with converting the JSON ANSI string above to UTF-8 but still no luck..Have tried to use Wireshark to get a handle on exactly what is being sent but my wireless hardware is not allowing promiscuous something or other.

I expect this to be a max of 1 hours work for soemone with experience of this web socket and general good HTTP / networking experience.


Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online