Bitcoin Forum

Bitcoin => Project Development => Topic started by: thommartens on July 15, 2015, 10:16:18 PM



Title: Calculate the value of the BitCoin
Post by: thommartens on July 15, 2015, 10:16:18 PM
Hi,

I want to make an application in PHP for myself to experiment with.
In that app I want to display the current live value of the BitCoin.

Is there a way to calculate the value, or is if it's not possile, what is the "main source" of the BitCoin value.

And with the "main source" I mean, is there an offical API out where you can request the live BitCoin value.

I am pretty new into the BitCoin, so every answer is helpful.

Thanks,

Thom


Title: Re: Calculate the value of the BitCoin
Post by: achow101 on July 16, 2015, 02:19:56 AM
By value do you mean price? The price is not set, nor is there an official API for it. You can however go to each of the major exchanges and use their API to retrieve current market data and create your own price of Bitcoin calculation.


Title: Re: Calculate the value of the BitCoin
Post by: jerelimZ on July 16, 2015, 02:20:40 AM
Preev.com.
No other answer.


Title: Re: Calculate the value of the BitCoin
Post by: wonderloops on July 16, 2015, 02:21:37 AM
There is no 'main source'. You could either pick one of many exchange-rates (which differ from eachother), or make up your own index from them.

Some public API's can be found here

BTC-E (https://btc-e.com/api/3/ticker/btc_usd)
Bitstamp (https://www.bitstamp.net/api/ticker/)
Bitfinex (https://api.bitfinex.com/v1/pubticker/btcusd)


Title: Re: Calculate the value of the BitCoin
Post by: Dabs on July 16, 2015, 02:29:09 AM
bitcoinaverage.com


Title: Re: Calculate the value of the BitCoin
Post by: InceptionCoin on July 17, 2015, 10:50:16 AM
bitcoinaverage.com
Indeed, BitcoinAverage is the best choice, because it makes all work for you and has api https://bitcoinaverage.com/api.


Title: Re: Calculate the value of the BitCoin
Post by: melisande on July 31, 2015, 06:17:41 AM
Hi,

I want to make an application in PHP for myself to experiment with.
In that app I want to display the current live value of the BitCoin.

Is there a way to calculate the value, or is if it's not possile, what is the "main source" of the BitCoin value.

And with the "main source" I mean, is there an offical API out where you can request the live BitCoin value.

I am pretty new into the BitCoin, so every answer is helpful.

Thanks,

Thom
Since you claimed to be new to bitcoin, what you meant is live price streaming of bitcoin either in USD, EUR or other fiats.
You can achieve that by integrating bitcoinwisdom.com