13
4
I know blockchain.info has an API: https://blockchain.info/q/addressbalance/134dV6U7gQ6wCFbfHUz2CMh6Dth72oGpgH gets the bitcoin address's balance,but it's not open source and must connect to the Internet.
And I find the open source website blockexplorer.com has not show the right balance: http://blockexplorer.com/testnet/address/134dV6U7gQ6wCFbfHUz2CMh6Dth72oGpgH It gets 0 but not 1250000 from blockchain.info.
I tried bitcoin-qt client debug console: getbalance 134dV6U7gQ6wCFbfHUz2CMh6Dth72oGpgH But it returns 0 whenever the address is not mine.
How can I get someone else's bitcoin address's balance? The bitcoin database is big and hard to check every transaction to get the balance.
Is there any source code or API easy to use?
1Did you found any method to get else's bitcoin address' balance ? – coding_idiot – 2014-02-25T06:04:37.557
Why does it need to be open source? You'll need to connect to the Internet anyway. – stommestack – 2014-04-30T18:59:49.133
@coding_idiot Not yet. ABE has the function, but I failed to use it. It's too big the database. – Gank – 2014-06-24T11:20:16.653
@JopVernooij The website will block my IP, if I quest too much query. :) – Gank – 2014-06-24T11:21:06.480
Without internet, you won't be able to get the actual balance. Either you connect to some site or online API, or you use a local Bitcoin client but that will still need internet to get the current data from the Bitcoin p2p network. – Madzi Konjo – 2014-11-10T10:33:10.127