Bitcoin Forum

Other => Off-topic => Topic started by: Mr. Coinman on July 03, 2013, 03:48:18 AM



Title: Real-time Plaintext BTC/USD Rates?
Post by: Mr. Coinman on July 03, 2013, 03:48:18 AM
Hi, I couldn't find a more appropriate board for this than Off-topic. If there's a better place to direct this question, please let me know.

I'm looking for a way to get real-time plain text BTC/USD rates. http://blockchain.info/tobtc allows you to do convert USD (and many other currencies) to BTC using URL parameters, like https://blockchain.info/tobtc?currency=USD&value=100. Is there a similar way to retrieve plain text BTC -> USD rates?


Title: Re: Real-time Plaintext BTC/USD Rates?
Post by: Jaxkr on July 03, 2013, 04:12:59 AM
Hi, I couldn't find a more appropriate board for this than Off-topic. If there's a better place to direct this question, please let me know.

I'm looking for a way to get real-time plain text BTC/USD rates. http://blockchain.info/tobtc allows you to do convert USD (and many other currencies) to BTC using URL parameters, like https://blockchain.info/tobtc?currency=USD&value=100. Is there a similar way to retrieve plain text BTC -> USD rates?
Just do the math. Get the exchange rate (dollars per BTC using the blockchain API). Multiply the amount of BTC by the exchange rate. Voila!


Title: Re: Real-time Plaintext BTC/USD Rates?
Post by: b!z on July 03, 2013, 09:27:44 AM
Preev or mtgox api


Title: Re: Real-time Plaintext BTC/USD Rates?
Post by: escrow.ms on July 03, 2013, 09:28:55 AM
Preev or mtgox api

Preev doesn't have api i think, they use mtgox's api :P