Post
Topic
(Unknown Title)
by
oshirowanen
on 04/06/2020, 08:57:01 UTC
You mean the balance? If so, you can't check that for an address that is not yours. See this[1][2].

I have tried using some of the existing 3rd party API's but those are either too close or expensive or both, so was thinking about creating something myself locally.

I'm not sure what do you mean by "too close" but there are a lot of APIs that provide that functionality for free (Blockchair, Blockonomics, BTC.com, etc.). Which APIs have you tried so far?

[1] https://bitcoin.stackexchange.com/questions/59237/determine-address-balance-using-bitcoin-core
[2] https://bitcoin.stackexchange.com/questions/58242/how-to-get-balance-by-any-address-using-rpc-bitcoind

Sorry, I've now clarified my question above.

I think I am looking for something similar to this, but possible even more low level, so I can create my own website.  As in, is it possible to extract all public keys and balances from each block and then save that data in a custom database?  And is that how websites like blockchain.info do it?