nandibear.com
by Nandi Bear
May 14, 2020

As indicated in our previous articles (get payouts and get blocks) here's another example of using the pool's API (v2).
You can get the pool's most recent 10 minute average BCH hashrate (or BTC or BCH & BTC combined) by including the following code on the page you want the results to display on or you can save this as a file itself and call it on any page.
...
Read entire article: https://nandibear.com/bitcoin-com-mining-pool-api-v2-get-pools-hashrate-using-pure-php