<p>You probably mean <a href="https://bitcoin.org/en/glossary/extended-key" rel="nofollow noreferrer">extended key</a>. There are extended public keys (xpub) and extended private keys (xpriv).</p>

<p>An example xpub would be:</p>

<blockquote>
  <p>xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz</p>
</blockquote>

<p>They always start with <em>xpub</em> or <em>xpriv</em>.</p>

<p>You could use  <a href="https://blockchain.info/xpub/%3Cyour-xpub-goes-here%3E" rel="nofollow noreferrer">https://blockchain.info/xpub/</a> or <a href="https://goochain.net/" rel="nofollow noreferrer">goochain.net</a> or Electrum as a view-only wallet.</p>

CC BY-SA 4.0
2019-01-29T10:05:27.257Z
What about keys that start with "zpub". Where do you check balance online for these?
wilkas
CC BY-SA 4.0
2019-10-23T07:49:39.197Z
Yes try an explorer like blockonomics that support segwit xpubs https://blog.blockonomics.co/a-segwit-blockexplorer-47cd516dd8c5
dark knight
CC BY-SA 4.0
2022-11-20T01:10:59.773Z
@darkknight Do you know of an API that supports fetching a total balance for a zpub address? https://bitcoin.stackexchange.com/questions/116038/how-to-retrieve-total-btc-held-in-ledger-wallet/116040#116040 Thanks.
Ryan
CC BY-SA 4.0
2022-11-24T06:18:20.053Z
@ryan yes, I posted an answers on that question
dark knight
CC BY-SA 3.0
2017-11-20T07:48:53.633Z
2017-11-20T07:48:53.633Z
0xb10c
<p>If you have an extended public key, I would recommend that you use <a href="https://blockpath.com/wallets/new?action=appxpub" rel="nofollow noreferrer">Blockpath</a> to scan it. It goes through the most popular derivation paths to check for any spent or unspent funds.</p>

CC BY-SA 4.0
2019-11-29T13:00:33.857Z
2019-11-29T13:00:33.857Z
Thorkil Værge
<p><a href="https://bitcoin.stackexchange.com/a/63051/26481">Links in Answer above</a> are outdated/not working. Here is the updated answer. As of Nov 2022, following third party services are showing extended public key balance:</p>
<ul>
<li><a href="https://blockpath.com/" rel="nofollow noreferrer">Blockpath</a></li>
<li><a href="https://blockonomics.co/" rel="nofollow noreferrer">Blockonomics</a></li>
<li>Directly visiting the URL <a href="https://www.blockchain.com/btc/xpub/*your_xpub_here*" rel="nofollow noreferrer">https://www.blockchain.com/btc/xpub/*your_xpub_here*</a>. Searching xpub via UI on blockchain.com btc explorer is failing</li>
</ul>

CC BY-SA 4.0
2022-11-25T08:54:08.840Z
2022-11-25T08:54:08.840Z
dark knight
<p>The easiest way would be to install the wallet software that was used to create that wallet and restore the wallet using the master public key. This will create a watch-only wallet. </p>

<p>Alternatively if the key is a bip32 xpub and the derivation path is bip44 then you can view the addresses generated with it on blockchain.info. Just paste in the xpub in the search box on that site. </p>

<p>Note that electrum does not use bip44 so if it's an electrum wallet then you should just create a watch-only wallet.</p>

CC BY-SA 3.0
2017-11-20T07:32:31.867Z
2017-11-20T07:32:31.867Z
Abdussamad
<p>I have an extended public key, I need to check it's balance (I have no connection to wallet), is there a third party service for that ? 
Edit: This is not a bitcoin address. This generates multiple new addresses each time and I want a method to check the total balance given only the master public key . </p>

<balance><bip32-hd-wallets>
How can I check a public master address balance?
Haddar Macdasi
# How can I check a public master address balance?

(Asked by: username_0 on 2017-11-19)

I have an extended public key, I need to check it's balance (I have no connection to wallet), is there a third party service for that ?
Edit: This is not a bitcoin address. This generates multiple new addresses each time and I want a method to check the total balance given only the master public key .

**Tags:** balance, bip32-hd-wallets


---

## 4 answers

### Answer by username_1 on 2017-11-20. Score: 1 | Accepted answer

You probably mean [extended key](https://bitcoin.org/en/glossary/extended-key). There are extended public keys (xpub) and extended private keys (xpriv).

An example xpub would be:

> xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz

They always start with *xpub* or *xpriv*.

You could use [https://blockchain.info/xpub/](https://blockchain.info/xpub/%3Cyour-xpub-goes-here%3E) or [goochain.net](https://goochain.net/) or Electrum as a view-only wallet.

> **Comments:**
> **username_2**: What about keys that start with "zpub". Where do you check balance online for these?  
> **username_3**: Yes try an explorer like blockonomics that support segwit xpubs https://blog.blockonomics.co/a-segwit-blockexplorer-47cd516dd8c5  
> **username_4**: @username_3 Do you know of an API that supports fetching a total balance for a zpub address? https://bitcoin.stackexchange.com/questions/116038/how-to-retrieve-total-btc-held-in-ledger-wallet/116040#116040 Thanks.  
> **username_3**: @username_4 yes, I posted an answers on that question  

---

### Answer by username_5 on 2019-11-29. Score: 0

If you have an extended public key, I would recommend that you use [Blockpath](https://blockpath.com/wallets/new?action=appxpub) to scan it. It goes through the most popular derivation paths to check for any spent or unspent funds.


---

### Answer by username_3 on 2022-11-25. Score: 0

[Links in Answer above](https://bitcoin.stackexchange.com/a/63051/26481) are outdated/not working. Here is the updated answer. As of Nov 2022, following third party services are showing extended public key balance:

* [Blockpath](https://blockpath.com/)
* [Blockonomics](https://blockonomics.co/)
* Directly visiting the URL [https://www.blockchain.com/btc/xpub/\*your\_xpub\_here\*](https://www.blockchain.com/btc/xpub/*your_xpub_here*). Searching xpub via UI on blockchain.com btc explorer is failing


---

### Answer by username_6 on 2017-11-20. Score: 0

The easiest way would be to install the wallet software that was used to create that wallet and restore the wallet using the master public key. This will create a watch-only wallet.

Alternatively if the key is a bip32 xpub and the derivation path is bip44 then you can view the addresses generated with it on blockchain.info. Just paste in the xpub in the search box on that site.

Note that electrum does not use bip44 so if it's an electrum wallet then you should just create a watch-only wallet.


---

