<p>What is the most simple and reliable way to determine basic Bitcoin network attributes? By this I mean (estimated) total network hashing rate, difficulty, number of blocks solved, etc.</p>

<p>I know there are a ton of websites that can give me this. But I'm wondering if there is some easy and formalized way to read this data from somewhere that is not subject to suddenly change their layout (like a website). Also I'm not sure if a website would like me to use a program to fetch data from it.</p>

<p>My goal is simply to write a small local socket based program that can do some statistics and extrapolation based on current (and previous, stored locally) data.</p>

CC BY-SA 3.0
2013-12-14T18:59:56.107Z
you can use the "getinfo" command in bitcoind or bitcoin-qt to determine blocks and difficulty. not sure how to determine hashing rate without a third party.  see https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
hsmiths
CC BY-SA 3.0
2013-12-14T23:47:22.710Z
Hash rates are estimated from how often blocks are solved compared to network difficulty.
Jems
<live-data>
Determine basic Bitcoin network attributes
AttributedTensorField
# Determine basic Bitcoin network attributes

(Asked by: username_0 on 2013-12-14)

What is the most simple and reliable way to determine basic Bitcoin network attributes? By this I mean (estimated) total network hashing rate, difficulty, number of blocks solved, etc.

I know there are a ton of websites that can give me this. But I'm wondering if there is some easy and formalized way to read this data from somewhere that is not subject to suddenly change their layout (like a website). Also I'm not sure if a website would like me to use a program to fetch data from it.

My goal is simply to write a small local socket based program that can do some statistics and extrapolation based on current (and previous, stored locally) data.

**Tags:** live-data

> **Comments:**
> **username_1**: you can use the "getinfo" command in bitcoind or bitcoin-qt to determine blocks and difficulty. not sure how to determine hashing rate without a third party.  see https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)  
> **username_2**: Hash rates are estimated from how often blocks are solved compared to network difficulty.  

---

## 0 answers

