<p>They most likely have an advanced block chain indexing backend. Basically they run a node (most likely bitcoinj with custom code) that listens for blocks from all the connected nodes they have. And once they have a block they add all it's info into a database that they run queries on for results.</p>

CC BY-SA 3.0
2013-12-28T08:23:49.120Z
2013-12-28T08:23:49.120Z
John T
<p>How does blockchain.info get their info? My intuition tells me that they have a modified client that reads and processes the blockchain (either directly from the network as it comes in or from the raw files on disk) and stores the various data and relationships in a database.</p>

<p>I'm also guessing that they may use the RPC interface for the standard bitcoind to do simple things like getdifficulty() or getblockcount() quikly.</p>

<p>Can anyone confirm this? Any ideas?</p>

CC BY-SA 3.0
2013-12-28T16:36:52.000Z
possible duplicate of [How can I read information from the blockchain?](http://bitcoin.stackexchange.com/questions/4601/how-can-i-read-information-from-the-blockchain)
Murch
<bitcoind><blockchain.info>
How does blockchain.info get its info? Is it via the RPC interface for bitcoind or by reading the raw blockchain directly?
Konstantin
# How does blockchain.info get its info? Is it via the RPC interface for bitcoind or by reading the raw blockchain directly?

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

How does blockchain.info get their info? My intuition tells me that they have a modified client that reads and processes the blockchain (either directly from the network as it comes in or from the raw files on disk) and stores the various data and relationships in a database.

I'm also guessing that they may use the RPC interface for the standard bitcoind to do simple things like getdifficulty() or getblockcount() quikly.

Can anyone confirm this? Any ideas?

**Tags:** bitcoind, blockchain.info

> **Comments:**
> **username_1**: possible duplicate of [How can I read information from the blockchain?](http://bitcoin.stackexchange.com/questions/4601/how-can-i-read-information-from-the-blockchain)  

---

## 1 answers

### Answer by username_2 on 2013-12-28. Score: 3

They most likely have an advanced block chain indexing backend. Basically they run a node (most likely bitcoinj with custom code) that listens for blocks from all the connected nodes they have. And once they have a block they add all it's info into a database that they run queries on for results.


---

