<p>No, it only works for wallet addresses. You can add watch-only addresses without key via <code>importaddress</code>, though.</p>

CC BY-SA 3.0
2015-10-13T20:11:31.003Z
2015-10-13T20:11:31.003Z
Pieter Wuille
<p>In previous versions <code>getrecievedbyaddress</code> api call returned 0 for external addresses (not included into local wallet) and it was described in the docs. However, right now documentation for <code>getrecievedbyaddress</code> doesn't mention externall/local addresses.</p>

<p>Does this mean that I can use this api call for any address?</p>

<bitcoind><json-rpc>
Does getrecievedbyaddress work for all addresses?
John
# Does getrecievedbyaddress work for all addresses?

(Asked by: username_0 on 2015-10-13)

In previous versions `getrecievedbyaddress` api call returned 0 for external addresses (not included into local wallet) and it was described in the docs. However, right now documentation for `getrecievedbyaddress` doesn't mention externall/local addresses.

Does this mean that I can use this api call for any address?

**Tags:** bitcoind, json-rpc


---

## 1 answers

### Answer by username_1 on 2015-10-13. Score: 2

No, it only works for wallet addresses. You can add watch-only addresses without key via `importaddress`, though.


---

