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?
Asked
Active
Viewed 1,024 times
1
-
1Possible duplicate of How do we know which miner or pool mined a block? – Raghav Sood Oct 16 '19 at 19:04
-
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 Oct 16 '19 at 20:11
1 Answers
1
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.

Jose Fonseca
- 646
- 3
- 8