<p>Mining pools export this functionality via API's.</p>

<p>For example, poolin's API docs are here: <a href="https://btc.com/api-doc" rel="nofollow noreferrer">https://btc.com/api-doc</a></p>

<p>Here's F2Pool's : <a href="https://www.f2pool.com/developer/api" rel="nofollow noreferrer">https://www.f2pool.com/developer/api</a></p>

<p>And so forth. </p>

<p>The way aggregators add value is by compiling all this data from different pools into a neat user interface.</p>

CC BY-SA 4.0
2019-10-16T20:13:48.103Z
2019-10-16T20:13:48.103Z
Jose Fonseca
<p>Webistes like <a href="https://miningpoolstats.stream/" rel="nofollow noreferrer">https://miningpoolstats.stream/</a> must communicate with the pools somehow. What protocol do they use to retrieve information such as the pool's hashrate and what blocks have been mined by that pool? If I make my own pool what is the necessary API to expose this information?</p>

CC BY-SA 4.0
2019-10-16T19:04:00.073Z
Possible duplicate of [How do we know which miner or pool mined a block?](https://bitcoin.stackexchange.com/questions/75115/how-do-we-know-which-miner-or-pool-mined-a-block)
Raghav Sood
CC BY-SA 4.0
2019-10-16T20:11:21.220Z
I don't think it's a duplicate. This question asks how they get API data from pools, not which miner or pool solved a block.
Jose Fonseca
<mining-pools><api>
how do mining pools expose their stats?
Brannon
# how do mining pools expose their stats?

(Asked by: username_0 on 2019-10-16)

Webistes like <https://miningpoolstats.stream/> must communicate with the pools somehow. What protocol do they use to retrieve information such as the pool's hashrate and what blocks have been mined by that pool? If I make my own pool what is the necessary API to expose this information?

**Tags:** mining-pools, api

> **Comments:**
> **username_1**: Possible duplicate of [How do we know which miner or pool mined a block?](https://bitcoin.stackexchange.com/questions/75115/how-do-we-know-which-miner-or-pool-mined-a-block)  
> **username_2**: I don't think it's a duplicate. This question asks how they get API data from pools, not which miner or pool solved a block.  

---

## 1 answers

### Answer by username_2 on 2019-10-16. Score: 1 | Accepted answer

Mining pools export this functionality via API's.

For example, poolin's API docs are here: <https://btc.com/api-doc>

Here's F2Pool's : <https://www.f2pool.com/developer/api>

And so forth.

The way aggregators add value is by compiling all this data from different pools into a neat user interface.


---

