Bitcoin Forum
September 10, 2024, 05:46:33 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Simplest way of obtaining MtGox exchange rate via an API?  (Read 337 times)
knocte (OP)
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
May 04, 2013, 08:53:54 PM
 #1

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/
steve417674
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 04, 2013, 11:49:51 PM
 #2

I found these docs to be more helpful:

https://bitbucket.org/nitrous/mtgox-api/overview
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!