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

CC BY-SA 4.0
2022-08-06T19:08:41.907Z
The first two links are no longer available (404)
RedGrittyBrick
CC BY-SA 3.0
2014-02-16T20:31:14.823Z
2014-02-16T20:31:14.823Z
Peter
<p>What can I do to programmatically get statistics such as current Bitcoin difficulty, Bitcoin award per block, USD/BTC exchange rate?</p>

<bitcoind><bitcoin-core><server><services>
Automatically Get Bitcoin Difficulty, Bitcoins/Block, Exchange Rate Statistics
Branka
# Automatically Get Bitcoin Difficulty, Bitcoins/Block, Exchange Rate Statistics

(Asked by: username_0 on 2014-02-14)

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

**Tags:** bitcoind, bitcoin-core, server, services


---

## 1 answers

### Answer by username_1 on 2014-02-16. Score: 1 | Accepted answer

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](http://bitcoincharts.com/about/markets-api/).

See list of other bitcoin stats [here](http://blockexplorer.com/q).

> **Comments:**
> **username_2**: The first two links are no longer available (404)  

---

