user13460: What can I do to programmatically get statistics such as current Bitcoin difficulty, Bitcoin award per block, USD/BTC exchange rate?

user13544: You can get...

difficulty from: http://blockexplorer.com/q/getdifficulty
reward per block from: http://blockexplorer.com/q/bcperblock
exchange rate from: http://api.bitcoincharts.com/v1/weighted_prices.json

or from: http://api.bitcoincharts.com/v1/markets.json


You might want to read this.
See list of other bitcoin stats here.

13460: <p>What can I do to programmatically get statistics such as current Bitcoin difficulty, Bitcoin award per block, USD/BTC exchange rate?</p>
 13544: <p>You can get...</p>

<ul>
<li>difficulty from: <a href="http://blockexplorer.com/q/getdifficulty" rel="nofollow">http://blockexplorer.com/q/getdifficulty</a></li>
<li>reward per block from: <a href="http://blockexplorer.com/q/bcperblock" rel="nofollow">http://blockexplorer.com/q/bcperblock</a></li>
<li>exchange rate from: <a href="http://api.bitcoincharts.com/v1/weighted_prices.json" rel="nofollow">http://api.bitcoincharts.com/v1/weighted_prices.json</a>
<ul>
<li>or from: <a href="http://api.bitcoincharts.com/v1/markets.json" rel="nofollow">http://api.bitcoincharts.com/v1/markets.json</a></li>
</ul></li>
</ul>

<p>You might want to read <a href="http://bitcoincharts.com/about/markets-api/" rel="nofollow">this</a>.</p>

<p>See list of other bitcoin stats <a href="http://blockexplorer.com/q" rel="nofollow">here</a>.</p>
