<p>Blockchain explorers run multiple nodes which receive all blocks and transactions. They store these blocks and transactions in various databases which allows them to write software which query those databases whenever a user requests information about a block or transaction. They will also do additional processing of the blocks and transactions to produce information such as addresses and be able to provide all of the transactions for a particular address.</p>

<p>When you lookup anything on a block explorer's website, you are not actually sending a query to their node, that would be far too inefficient. By using external databases to store information, they can quickly lookup data in order to return it to the user.</p>

CC BY-SA 4.0
2019-07-20T22:36:30.680Z
So your answer is included that the Webservice provider has a technology that can provide the information quickly to end-users.
They provide bad service(low latency) If they do not have a database technology(e.g. sharding). so they always do pre-processing for real-time query.  it is my understanding right? Thank you for your answer.
Hyunsoo
CC BY-SA 4.0
2019-07-20T22:22:36.050Z
2019-07-20T22:22:36.050Z
Ava Chow
<p>There are websites which have APIs that allow you to trace transactions and lookup information like specific address balances, etc. I am wondering how these web service providers are able to provide the data from the blockchain.</p>

<p>I think that they are running a full node 24/7 so that the end user does not need to run tun their own node and can instead query for data via the service's node.</p>

<blockchain><query>
What is a mechanism of method how to get the data in the blockchain(e.g. bitcoin, ethereum)?
Hyunsoo
# What is a mechanism of method how to get the data in the blockchain(e.g. bitcoin, ethereum)?

(Asked by: username_0 on 2019-07-20)

There are websites which have APIs that allow you to trace transactions and lookup information like specific address balances, etc. I am wondering how these web service providers are able to provide the data from the blockchain.

I think that they are running a full node 24/7 so that the end user does not need to run tun their own node and can instead query for data via the service's node.

**Tags:** blockchain, query


---

## 1 answers

### Answer by username_1 on 2019-07-20. Score: 0 | Accepted answer

Blockchain explorers run multiple nodes which receive all blocks and transactions. They store these blocks and transactions in various databases which allows them to write software which query those databases whenever a user requests information about a block or transaction. They will also do additional processing of the blocks and transactions to produce information such as addresses and be able to provide all of the transactions for a particular address.

When you lookup anything on a block explorer's website, you are not actually sending a query to their node, that would be far too inefficient. By using external databases to store information, they can quickly lookup data in order to return it to the user.

> **Comments:**
> **username_0**: So your answer is included that the Webservice provider has a technology that can provide the information quickly to end-users. They provide bad service(low latency) If they do not have a database technology(e.g. sharding). so they always do pre-processing for real-time query.  it is my understanding right? Thank you for your answer.  

---

