<p>I'm actually working on doing this. To get the balance of an address you have to scan the entire blockchain. This can take a while but blockchain.info returns the balance instantly, which means they've already scanned the entire blockchain and are tracking all addresses. That's a lot of data to store, several gigabytes worth.</p>

CC BY-SA 3.0
2013-12-06T19:43:50.037Z
Interesting, thanks! I thought it would have been easier.
Jonovono
CC BY-SA 3.0
2013-12-06T18:25:53.933Z
2013-12-06T23:07:28.553Z
2013-12-06T23:07:28.553Z
Bitlab.co
<p>I am trying to figure out how blockchain.info gets the following API functions and is there any way to do these calls on a server (without using their API) perhaps through bitcoind?</p>

<pre><code>https://blockchain.info/q/addressfirstseen/
https://blockchain.info/q/addressbalance/
</code></pre>

<p>Thanks. </p>

<blockchain><bitcoind><client><bitcoin-core><blockchain.info>
How does blockchain.info get the addressbalance / seen date?
Jonovono
# How does blockchain.info get the addressbalance / seen date?

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

I am trying to figure out how blockchain.info gets the following API functions and is there any way to do these calls on a server (without using their API) perhaps through bitcoind?

```
https://blockchain.info/q/addressfirstseen/
https://blockchain.info/q/addressbalance/

```

Thanks.

**Tags:** blockchain, bitcoind, client, bitcoin-core, blockchain.info


---

## 1 answers

### Answer by username_1 on 2013-12-06. Score: 3

I'm actually working on doing this. To get the balance of an address you have to scan the entire blockchain. This can take a while but blockchain.info returns the balance instantly, which means they've already scanned the entire blockchain and are tracking all addresses. That's a lot of data to store, several gigabytes worth.

> **Comments:**
> **username_0**: Interesting, thanks! I thought it would have been easier.  

---

