Author

Topic: Simplest way of obtaining MtGox exchange rate via an API? (Read 344 times)

newbie
Activity: 6
Merit: 0
newbie
Activity: 44
Merit: 0
Hey guys,

I want to do a simple app that refreshes every minute to tell me the current exchange rate by Mtgox but I have a problem interpreting the JSON that some APIs return:

 - Mtgox's fast ticker returns [this JSON][1]. The question is, what's the value that I have to retrieve? There are a lot and I don't understand them, and I don't find proper docs.

 - Bitcoincharts' API has the [Markets Data endpoint][2], and it returns the market I want under the symbol "mtgoxUSD", however it tells me the date time of latest trade, the last buy/ask, but doesn't tell me **the exchange rate of the latest trade**.

Am I missing something?
Thanks

  [1]: http://data.mtgox.com/api/2/BTCUSD/money/ticker_fast
  [2]: http://bitcoincharts.com/about/markets-api/
Jump to: