<p>The current rpc interface don't have a command to check balance of a address</p>

CC BY-SA 4.0
2018-08-30T06:49:08.863Z
2018-08-30T06:49:08.863Z
老板鱼丸粗面
<p><code>getinfo</code> also includes a "balance" field that encompasses all spendable Bitcoin. <code>Getbalance</code> and <code>listreceivedbyaddress</code> can do slightly more advanced things, including confirmation count, but you don't seem to need them.</p>

<p>Reference this: <a href="https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list" rel="nofollow">https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list</a></p>

CC BY-SA 3.0
2012-07-17T08:54:06.953Z
2012-07-17T08:54:06.953Z
Lodewijk
<p>I had the same issue and searched high and low but finally found the exact answer needed
In the debug console type in the following command</p>
<p>￼
listaddressgroupings</p>
<p>This will return every address in that wallet and its balance</p>
<p>Hope this helps</p>

CC BY-SA 4.0
2021-01-16T15:56:32.977Z
2021-01-16T15:56:32.977Z
Nitroplatypus
<p>If you are only using Bitcoin through RPC commands, you might want to look into <a href="https://en.bitcoin.it/wiki/Accounts_explained" rel="nofollow">accounts</a>. Using those you can just call <a href="https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list" rel="nofollow"><code>getbalance</code></a> and you will know how much Bitcoins are in each of the accounts.</p>

<p>If you are using only addresses, you can only see how many Bitcoins you received with it through <a href="https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list" rel="nofollow"><code>listreceivedbyaddress</code></a>, which can be not reliable if you spend any money from them.</p>

<p>All in all, you ought to just use accounts, as they can encompass many addresses and provide a lot of functionality for separating your coins into many parts in the same wallet.</p>

CC BY-SA 3.0
2012-07-17T13:08:51.283Z
I think I will be using the multiple account suggestion. Thanks for your help!
Randy McKnight
CC BY-SA 3.0
2012-07-15T23:59:53.580Z
2012-07-15T23:59:53.580Z
ThePiachu
<p>The current rpc interface only allows you to see either
1. The balance of the entire wallet
2. How much was received by an address (which is okay... if you never spend)</p>

<p>Basically, I want to know how to get the balance of a specific address in my wallet. I've searched high and low and cannot find anything.</p>

<balance>
How do you get the balance of an address in your wallet using the rpc interface?
Randy McKnight
# How do you get the balance of an address in your wallet using the rpc interface?

(Asked by: username_0 on 2012-07-15)

The current rpc interface only allows you to see either
1. The balance of the entire wallet
2. How much was received by an address (which is okay... if you never spend)

Basically, I want to know how to get the balance of a specific address in my wallet. I've searched high and low and cannot find anything.

**Tags:** balance


---

## 4 answers

### Answer by username_4 on 2012-07-15. Score: 3 | Accepted answer

If you are only using Bitcoin through RPC commands, you might want to look into [accounts](https://en.bitcoin.it/wiki/Accounts_explained). Using those you can just call [`getbalance`](https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list) and you will know how much Bitcoins are in each of the accounts.

If you are using only addresses, you can only see how many Bitcoins you received with it through [`listreceivedbyaddress`](https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list), which can be not reliable if you spend any money from them.

All in all, you ought to just use accounts, as they can encompass many addresses and provide a lot of functionality for separating your coins into many parts in the same wallet.

> **Comments:**
> **username_0**: I think I will be using the multiple account suggestion. Thanks for your help!  

---

### Answer by username_1 on 2018-08-30. Score: 2

The current rpc interface don't have a command to check balance of a address


---

### Answer by username_2 on 2012-07-17. Score: 0

`getinfo` also includes a "balance" field that encompasses all spendable Bitcoin. `Getbalance` and `listreceivedbyaddress` can do slightly more advanced things, including confirmation count, but you don't seem to need them.

Reference this: <https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list>


---

### Answer by username_3 on 2021-01-16. Score: 0

I had the same issue and searched high and low but finally found the exact answer needed
In the debug console type in the following command

￼
listaddressgroupings

This will return every address in that wallet and its balance

Hope this helps


---

