API Version 2:
The V2 API URL is:
Official docs are on: https://github.com/MtGox/mtgox-doc
Differences between v1 and v2:
- The URL is now something along the lines of BTCUSD/money/order/add instead of BTCUSD/private/order/add in api1. All current known methods are found in the money category.
- The requested path must now be included when you compute your hashed signature (Rest-Sign) for added security.
In version 1, Rest-Sign is created through base64-encoding the 256-digest HMAC hashing of your post data (which of course must include your nonce) with your API secret, previously base64 decoded. Now in version 2, you must simply add before your post data the relative path you are requesting (anything after the /api/2/ base, ie: BTCUSD/money/ticker), concatenated with a NUL character (ASCII code 0). So the signature is now made starting from your relative path + NUL character + post data (which must include your nonce!).
- fast ticker
Explanation of Methods
<@MagicalTux> it estimate the result of running an order at a given price based on market depth
Solves the problem of ticker lag. (supposedly)
https://github.com/adv0r/mtgox-api-v2-java Java lib for API V2, under development
https://bitbucket.org/pipe2grep/cryptocoinxchange C# lib for V2 API and socketIO
Python v 2.7.3
https://en.bitcoin.it/wiki/MtGox/API/HTTP#PHP The Perl example on the main page is compatible with v2