Skip to main content

GET /api/v2/utxo/{addressOrXpub} - Blockbook REST API

Returns unspent transaction outputs (UTXOs) for a Zcash address, extended public key, or output descriptor via the Blockbook REST API.

Updated on
Sep 02, 2026
Please note that this REST method requires the Zcash Blockbook enabled on your Quicknode endpoint.

Path Parameters

xpub_or_address
string
REQUIRED

An address, an extended public key, or an output descriptor. Supported descriptor form: pkh(...). Must be an account-level key, not a master key. URL-encode the descriptor when placing it in the REST path.

Descriptors containing a / are not supported and return an error.

This includes:

  • key origin prefixes: pkh([73c5da0a/44'/133'/0']xpub...)
  • multipath selectors: pkh(xpub.../<0;1>/*)
  • explicit branch paths: pkh(xpub.../0/*)

Percent-encoding the slash does not help. Note the origin prefix cannot be shortened either, since it contains slashes of its own.

Use the bare form instead - pkh(xpub...) - which is fully supported. The branch selector is unnecessary: Blockbook automatically scans both the receive (0) and change (1) branches for the account.

Query Parameters

confirmed
boolean

When set to true, only returns confirmed UTXOs. When false or omitted, returns both confirmed and unconfirmed.

gap
integer

The gap limit used when deriving addresses from an extended public key (xpub). Defaults to 20.

Returns

When querying by xpub or descriptor, each UTXO includes address and path, which identify the derivation branch and index it came from. Both are omitted when querying a single address, since the address is already known.

txid
string

Transaction ID of the UTXO

vout
integer

Output index in the transaction

value
string

UTXO value in satoshis

height
integer

Block height where the UTXO was created

confirmations
integer

Number of confirmations

address
string

The address this UTXO belongs to. Returned only for xpub and descriptor queries; omitted for single-address queries.

path
string

BIP32 derivation path of the address, e.g. m/44'/133'/0'/0/0. The last two segments are the branch (0 = receive, 1 = change) and the address index. Returned only for xpub and descriptor queries; omitted for single-address queries.

Request
Response
1
[
2
{
3
"txid": "b9bc7e1675fe71ebffc5d252f28c02e41208bd4ab481d6f14884418bd8ea08a1",
4
"vout": 0,
5
"value": "125050000",
6
"height": 3371083,
7
"confirmations": 51,
8
"coinbase": true
9
},
10
{
11
"txid": "208e905668569cd5e14c1a7a82002bad7ccdc48f1cf9c93de2a8b32e15d42f34",
12
"vout": 0,
13
"value": "125194068",
14
"height": 3371053,
15
"confirmations": 81,
16
"coinbase": true
17
}
18
]
1
[
2
{
3
"txid": "b9bc7e1675fe71ebffc5d252f28c02e41208bd4ab481d6f14884418bd8ea08a1",
4
"vout": 0,
5
"value": "125050000",
6
"height": 3371083,
7
"confirmations": 51,
8
"coinbase": true
9
},
10
{
11
"txid": "208e905668569cd5e14c1a7a82002bad7ccdc48f1cf9c93de2a8b32e15d42f34",
12
"vout": 0,
13
"value": "125194068",
14
"height": 3371053,
15
"confirmations": 81,
16
"coinbase": true
17
}
18
]
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free