Bitcoin Forum
May 07, 2024, 04:40:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Calculate the value of the BitCoin  (Read 690 times)
thommartens (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
July 15, 2015, 10:16:18 PM
 #1

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
1715100055
Hero Member
*
Offline Offline

Posts: 1715100055

View Profile Personal Message (Offline)

Ignore
1715100055
Reply with quote  #2

1715100055
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715100055
Hero Member
*
Offline Offline

Posts: 1715100055

View Profile Personal Message (Offline)

Ignore
1715100055
Reply with quote  #2

1715100055
Report to moderator
1715100055
Hero Member
*
Offline Offline

Posts: 1715100055

View Profile Personal Message (Offline)

Ignore
1715100055
Reply with quote  #2

1715100055
Report to moderator
achow101
Staff
Legendary
*
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
July 16, 2015, 02:19:56 AM
 #2

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.

jerelimZ
Sr. Member
****
Offline Offline

Activity: 447
Merit: 250


View Profile
July 16, 2015, 02:20:40 AM
 #3

Preev.com.
No other answer.


 
         ▄▄█████████▄▄
      ▄█████████████████▄
   ▄████▀            ▀████▄
  █████                █████▄
 ███████████████████████████▄
████▀▀▀▀▀▀▀████████▀▀▀▀▀▀▀███▄
████        ██████        ████
████        ██████        ████
████        ██████        ████
████        ██████        ████
 ████▄      ██████      ▄████
  ▀████     ██████    ▄████▀
    ▀████▄▄▄██████▄▄▄████▀
      ▀▀██████████████▀▀
TIDEX



wonderloops
Full Member
***
Offline Offline

Activity: 228
Merit: 100



View Profile
July 16, 2015, 02:21:37 AM
 #4

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
Bitstamp
Bitfinex
Dabs
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
July 16, 2015, 02:29:09 AM
 #5

bitcoinaverage.com

InceptionCoin
Member
**
Offline Offline

Activity: 108
Merit: 10


View Profile
July 17, 2015, 10:50:16 AM
 #6

bitcoinaverage.com
Indeed, BitcoinAverage is the best choice, because it makes all work for you and has api https://bitcoinaverage.com/api.

Skilled C++ and Python programmer. Looking around to create solid longterm coin by myself. Do you have any ideas? Feel free to PM me.
melisande
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
July 31, 2015, 06:17:41 AM
 #7

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
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!