<p>For an address that is in your wallet, you can use the <code>listreceivedbyaddress</code> command. You would use the command as follows to get the transactions related to an address <code>&lt;address&gt;</code>:</p>

<pre><code>bitcoin-cli listreceivedbyaddress 0 true true &lt;address&gt;
</code></pre>

<p>The <code>0</code> means list all transactions, including unconfirmed ones. The first <code>true</code> indicates that the address should still appear in the output even if there are no transactions; it just won't have any transactions listed under it. The second <code>true</code> means to include watching only addresses in the output. This only matters if your address is a watch only address.</p>

<p>If the address is not in your wallet, you cannot get all transactions for an address. This is because that would require maintaining an address index which Bitcoin Core does not do. Address indexes require more computing power and are not useful to the functioning of the node.</p>

CC BY-SA 4.0
2018-09-16T02:07:00.647Z
2018-09-16T02:07:00.647Z
Ava Chow
<p>I have written a program in Python3 that allows you to search for any address on bitcoin core whether it belongs to your wallet or not.</p>
<p>Here is the github link:</p>
<p><a href="https://github.com/ORP967/Bitcoin_Core_RPC_par_address" rel="nofollow noreferrer">https://github.com/ORP967/Bitcoin_Core_RPC_par_address</a></p>
<p>Let me know what you think or if you have any improvements you might have.</p>

CC BY-SA 4.0
2022-01-23T23:06:29.017Z
2022-01-23T23:06:29.017Z
ORP967
<p>yes. try this command:
<strong>bitcoin-cli -regtest getrawtransaction  1</strong>.</p>

<p>This command will give you all transactions for the required address.</p>

CC BY-SA 4.0
2018-09-16T02:01:47.793Z
That is not at all what getrawtransaction does. It gives you the raw transaction for a specific transaction. It has nothing to do with addresses.
Ava Chow
CC BY-SA 4.0
2018-07-12T11:40:19.933Z
2018-07-12T11:40:19.933Z
prachi
<p>You can use command "listtransaction".</p>

<p><a href="http://chainquery.com/bitcoin-api/listtransactions" rel="nofollow noreferrer">http://chainquery.com/bitcoin-api/listtransactions</a></p>

<p>Good luck =)</p>

CC BY-SA 4.0
2018-07-12T01:34:56.273Z
No, that only lists transactions that affect your own wallet.
Pieter Wuille
CC BY-SA 4.0
2018-05-31T09:01:42.187Z
2018-05-31T09:01:42.187Z
Дима Марков
<p>Is it possible to get all transactions from a single address with bitcoind?</p>

<bitcoin-core><bitcoind>
Is it possible to get all transactions from a single address with bitcoind?
2523454
# Is it possible to get all transactions from a single address with bitcoind?

(Asked by: username_0 on 2018-02-07)

Is it possible to get all transactions from a single address with bitcoind?

**Tags:** bitcoin-core, bitcoind


---

## 4 answers

### Answer by username_1 on 2018-09-16. Score: 1

For an address that is in your wallet, you can use the `listreceivedbyaddress` command. You would use the command as follows to get the transactions related to an address `<address>`:

```
bitcoin-cli listreceivedbyaddress 0 true true <address>

```

The `0` means list all transactions, including unconfirmed ones. The first `true` indicates that the address should still appear in the output even if there are no transactions; it just won't have any transactions listed under it. The second `true` means to include watching only addresses in the output. This only matters if your address is a watch only address.

If the address is not in your wallet, you cannot get all transactions for an address. This is because that would require maintaining an address index which Bitcoin Core does not do. Address indexes require more computing power and are not useful to the functioning of the node.


---

### Answer by username_2 on 2022-01-23. Score: 0

I have written a program in Python3 that allows you to search for any address on bitcoin core whether it belongs to your wallet or not.

Here is the github link:

<https://github.com/username_2/Bitcoin_Core_RPC_par_address>

Let me know what you think or if you have any improvements you might have.


---

### Answer by username_3 on 2018-07-12. Score: -1

yes. try this command:
**bitcoin-cli -regtest getrawtransaction 1**.

This command will give you all transactions for the required address.

> **Comments:**
> **username_1**: That is not at all what getrawtransaction does. It gives you the raw transaction for a specific transaction. It has nothing to do with addresses.  

---

### Answer by username_4 on 2018-05-31. Score: -1

You can use command "listtransaction".

<http://chainquery.com/bitcoin-api/listtransactions>

Good luck =)

> **Comments:**
> **username_5**: No, that only lists transactions that affect your own wallet.  

---

