Holdlens

Bitcoin Wallet Tracker: How to Track a BTC Wallet With an xpub

Published Oct 26, 2026

To track a Bitcoin wallet properly, give a tracker the wallet's extended public key, called an xpub, ypub or zpub depending on the address type, rather than a single address. A Bitcoin wallet spreads its coins across many addresses, including change addresses you never see, so one address in a block explorer usually shows only part of your balance. An xpub lets a tracker find every address the wallet has used or will use, and it cannot spend a single satoshi.

The catch is privacy, not theft. The Bitcoin standard that defines xpubs, BIP 32, says that leaking a public key can mean loss of privacy, and an xpub exposes your whole transaction history and every future address to whoever holds it. So the safest Bitcoin wallet tracker is one that keeps the xpub on your own machine, such as a watch-only wallet in Sparrow or the local-first app rotki. Cloud trackers like Koinly accept xpubs too, which is convenient but hands that map to a company. Tool details below were read on 18 October 2026 unless dated otherwise.

Why tracking one Bitcoin address is not enough

Bitcoin wallets are built to use fresh addresses. Each time you ask to receive, the wallet hands out a new address, and each time you spend, it usually sends the leftover amount to another new address it controls, called a change address. Koinly's own help guide puts it plainly: for any blockchain that generates a new address every time you receive, using the UTXO model, you need the xpub to import all transactions automatically.

That is why pasting a single address into a block explorer works for a one-off check, such as confirming a payment arrived, but fails as a portfolio view. After your first spend, part of the balance sits at a change address the explorer is not watching. It is also why a tracker that asks for one Bitcoin address often shows a smaller balance than your wallet does. The fix is not more addresses typed by hand; it is the key that generates them.

xpub, ypub and zpub, explained

An extended public key is the public half of the key tree defined in BIP 32. From it, software can derive every non-hardened public key below it, and so every receive and change address, without any private key. BIP 32 itself describes the intended use: an auditor given the account's extended public keys can see all incoming and outgoing payments, but not a single secret key. A portfolio tracker is exactly that auditor.

The three prefixes describe the same thing for different address types. Sparrow Wallet's documentation notes that some script types have aliases for the xpub, ypub and zpub among them, that identify the address type, and that these are synonymous. In practice, older addresses starting with 1 pair with an xpub, addresses starting with 3 with a ypub, and native SegWit addresses starting with bc1q with a zpub. Your tracker needs the one that matches, or it will look in the wrong place.

Matrix of four ways to track a Bitcoin wallet against three questions. One address in a block explorer: sees change addresses, no; can spend, no; who learns your addresses, only that one address is exposed. xpub in a local watch-only wallet such as Sparrow or rotki: sees change, yes; can spend, no; who learns your addresses, your own machine, plus any server you connect to. xpub in a cloud tracker such as Koinly: sees change, yes; can spend, no; who learns your addresses, the tracker company. Recovery phrase typed into any tool: never do this; it can spend everything.
Four ways to track a Bitcoin wallet. Sources: BIP 32, Sparrow Wallet docs, rotki docs, Koinly help centre; read 9-18 Oct 2026.

The privacy cost of sharing your xpub

BIP 32 is direct about the risk: private keys must be kept safe because leaking one means access to coins, while leaking a public key can mean loss of privacy. For an xpub that loss is total within the wallet. Anyone holding it can list every payment you received, every amount you sent, the change you kept and the addresses you will use next, indefinitely. They cannot take the coins, but they can learn your balance and link your spending, which is what scammers, data brokers and thieves would like to know.

The standard also warns that extended public keys must be treated more carefully than regular public keys, because an xpub combined with any single non-hardened private key below it reveals the parent private key. That is a narrow attack, but it is one more reason to share an xpub only where you would share your bank statement. Our wider guide on the privacy of crypto portfolio apps covers what cloud trackers collect beyond the key.

Bitcoin wallet trackers that read an xpub (dated)

Bitcoin tracking options compared (tool pages read 9-18 Oct 2026)
ToolHow it tracks BitcoinWhere your xpub livesCost noted
Sparrow WalletWatch-only wallet from an xpubYour computer; a public server sees your public key dataNot checked
rotkixpub, ypub or zpub finds all addressesYour computer (local-first)Free tier limited to 1,000 events
Koinlyxpub, ypub, zpub or Bech32 addressKoinly's serversTracking free; pay for the tax report
ZerionBitcoin not listed among its 66 tracked chainsn/a for BitcoinFree, no signup
Block explorerOne address at a timeThe explorer sees what you look upFree

Sparrow is the most private route for a desktop user. Its quick-start guide shows an xpub or watch-only wallet as a standard wallet type that can see your transactions but not spend them, and it warns that connecting to a public server shares your public key information with whoever runs that server, which it does not recommend for significant funds. Running your own server removes that leak; using a public one is a reasonable start for small balances.

rotki keeps everything on your machine, encrypted, and accepts xpub, ypub and zpub keys for Bitcoin, which suits anyone who also tracks EVM wallets in one place. Koinly is the convenient cloud option: it supports Bech32 addresses and xpub, ypub and zpub keys for Bitcoin and several other UTXO coins, tracking is free, and you pay only for a tax report. If you also need tax reports, you can try Koinly's free tracking. Zerion, popular for EVM wallets, does not list Bitcoin among its tracked chains.

How to track a Bitcoin wallet with an xpub, step by step

Five steps to track a Bitcoin wallet with an xpub: one, find the extended public key in your wallet's settings, never the recovery phrase; two, check the prefix matches your addresses, xpub for 1, ypub for 3, zpub for bc1q; three, add it to a local watch-only wallet first; four, compare the balance with your wallet; five, add Taproot bc1p addresses or a CSV by hand if the tracker cannot read them.
Setting up xpub tracking safely. Sources: Sparrow Wallet docs and Koinly help centre, read 18 Oct 2026.

Two warnings belong with those steps. First, some guides, including Koinly's own, describe deriving an xpub by typing your recovery phrase into a key-generation tool when a wallet will not show it; Koinly itself flags that this may expose your seed phrase and should be avoided. Do not do it on any online computer. Second, Koinly says it is not currently possible to generate an xpub for Taproot addresses, those starting with bc1p, so you must import those by CSV or add each address by hand.

If you track exchanges as well as wallets, connect them with read-only API keys rather than any key that can trade or withdraw. Our crypto portfolio tracker ranking compares the all-in-one options, and the guide to tracking your crypto portfolio covers every connection method.

Edge cases

  • You want to track someone else's wallet. You can watch any public address in an explorer, but an address does not name its owner, and you will see only what that address did.
  • Your hardware wallet shows only a generic xpub. Koinly notes Ledger Live displays the generic xpub whatever the address type, so you may need the matching ypub or zpub for SegWit addresses.
  • Balances disagree after a spend. The tracker is probably missing change addresses; check that the key type matches your addresses and that the gap limit covers them.
  • You use several accounts in one wallet. Each account has its own xpub; add each one, or the tracker will show only the first.

Bitcoin wallet tracking: common questions

How do I track a Bitcoin wallet?
For your own wallet, add its extended public key (xpub, ypub or zpub) to a tracker so it can see every receive and change address. For a single address, such as a payment you are waiting for, paste it into a block explorer.
Is it safe to share my xpub?
It is safe for your coins, because an xpub cannot sign transactions. It is not private: BIP 32 says leaking a public key can mean loss of privacy, and an xpub exposes all the addresses that wallet has used or will use. Share it only with tools you trust.
What is the difference between xpub, ypub and zpub?
They are the same kind of extended public key, labelled for different address types: xpub for legacy addresses starting with 1, ypub for addresses starting with 3, and zpub for native SegWit addresses starting with bc1q.
Can I track a Bitcoin wallet without an xpub?
Yes, address by address, which works for a single address but misses change. For Taproot addresses, which start with bc1p, Koinly says no xpub can currently be generated, so you add the addresses or a CSV instead.
Can you find out who owns a Bitcoin wallet?
Not from the address alone. A block explorer shows the address's transactions and balance, not a name. Identity usually comes from outside data, such as an exchange account, which is why sharing your own xpub carelessly is a privacy risk.

Ready to pick a tracker? See the best crypto portfolio trackers, compared, or read how to track your portfolio safely with read-only keys.