<p>You may be able to use <a href="https://en.bitcoin.it/wiki/Pywallet" rel="nofollow">pywallet</a> to get these.</p>

<p>Download a more updated version <a href="https://github.com/jackjack-jj/pywallet" rel="nofollow">here</a>.</p>

CC BY-SA 3.0
2013-04-05T23:46:36.033Z
2013-04-05T23:46:36.033Z
Colin Dean
<p>The proper command is <code>$ bitcoin-cli listreceivedbyaddress 0 true</code>. It will list all addresses in your wallet, regardless of have being used or not</p>
<p>This answer was originally a comment by <a href="https://bitcoin.stackexchange.com/users/69675/cr">CR</a> to Eyal's answer</p>

CC BY-SA 4.0
2022-07-06T04:28:35.930Z
2022-07-06T04:28:35.930Z
develCuy
<p><code>listaddressgroupings</code></p>

<p>I used the command <code>listaddressgroupings</code> from the bitcoin-qt console window and it listed all my addresses.  I then looked for one of my old send transactions here:</p>

<p><a href="https://blockchain.info/">https://blockchain.info/</a></p>

<p>And found the change address.  It matches one of the addresses in the list.</p>

CC BY-SA 3.0
2013-04-06T20:20:14.290Z
I think you are correct. I will let you know and accept this if this is indeed correct.
Karel Bílek
CC BY-SA 3.0
2013-04-07T16:33:44.507Z
I did that and there's nothing in my groupings.
Colin Dean
CC BY-SA 3.0
2013-04-07T18:17:56.963Z
When I use that command, I see every address that I've ever used.  Are you sure that the wallet is loaded?  It shows other tranactions and non-change addresses?  You can find your change addresses by looking up your addresses on blockchain.info
Eyal
CC BY-SA 3.0
2015-08-11T20:28:45.193Z
This also showed me the balance of each address, which was precisely what I needed.
Michael Hampton
CC BY-SA 3.0
2017-02-07T19:49:31.733Z
is this only working when the address was linked to an account? edit: or do i have to complete syncing the chain? atm listaddressgroupings returns an emty array even though I called getnewaddress several times
tobi
CC BY-SA 4.0
2021-11-04T04:30:49.747Z
I wish the GUI app would show these addresses!
Mr. Young
CC BY-SA 4.0
2022-02-26T21:29:31.703Z
This only shows used addresses in your wallet. The proper command is `listreceivedbyaddress 0 true` which lists all addresses in your wallet regardless of whether or not they have been used.
CR.
CC BY-SA 3.0
2013-04-06T17:19:20.917Z
2013-04-06T17:19:20.917Z
Eyal
<p>I want to get all my addresses - <em>including the auto-generated "change" addresses</em> - from a running bitcoind somehow.</p>

<p>I haven't been able to do it in a simple way. "getaddressesbyaccount" and all the other API options are only listing the "public" addresses and sometimes few additional ones, but never the already used change addresses. Can I do that somehow?</p>

<bitcoind><address><change>
How to get all addresses - including the "change" addresses - from bitcoind?
Karel Bílek
# How to get all addresses - including the "change" addresses - from bitcoind?

(Asked by: username_0 on 2013-04-03)

I want to get all my addresses - *including the auto-generated "change" addresses* - from a running bitcoind somehow.

I haven't been able to do it in a simple way. "getaddressesbyaccount" and all the other API options are only listing the "public" addresses and sometimes few additional ones, but never the already used change addresses. Can I do that somehow?

**Tags:** bitcoind, address, change


---

## 3 answers

### Answer by username_3 on 2013-04-06. Score: 22 | Accepted answer

`listaddressgroupings`

I used the command `listaddressgroupings` from the bitcoin-qt console window and it listed all my addresses. I then looked for one of my old send transactions here:

<https://blockchain.info/>

And found the change address. It matches one of the addresses in the list.

> **Comments:**
> **username_0**: I think you are correct. I will let you know and accept this if this is indeed correct.  
> **username_1**: I did that and there's nothing in my groupings.  
> **username_3**: When I use that command, I see every address that I've ever used.  Are you sure that the wallet is loaded?  It shows other tranactions and non-change addresses?  You can find your change addresses by looking up your addresses on blockchain.info  
> **username_4**: This also showed me the balance of each address, which was precisely what I needed.  
> **username_5**: is this only working when the address was linked to an account? edit: or do i have to complete syncing the chain? atm listaddressgroupings returns an emty array even though I called getnewaddress several times  
> **username_6**: I wish the GUI app would show these addresses!  
> **username_7**: This only shows used addresses in your wallet. The proper command is `listreceivedbyaddress 0 true` which lists all addresses in your wallet regardless of whether or not they have been used.  

---

### Answer by username_1 on 2013-04-05. Score: 2

You may be able to use [pywallet](https://en.bitcoin.it/wiki/Pywallet) to get these.

Download a more updated version [here](https://github.com/jackjack-jj/pywallet).


---

### Answer by username_2 on 2022-07-06. Score: 1

The proper command is `$ bitcoin-cli listreceivedbyaddress 0 true`. It will list all addresses in your wallet, regardless of have being used or not

This answer was originally a comment by [CR](https://bitcoin.stackexchange.com/users/69675/cr) to username_3's answer


---

