Skip to main content
GET
/
v1
/
chains
/
{chainAlias}
/
wallets
/
{publicKey}
/
addresses
Get derived addresses from a Bitcoin extended public key (xpub).
curl --request GET \
  --url https://api.moralis.com/v1/chains/{chainAlias}/wallets/{publicKey}/addresses \
  --header 'X-Api-Key: <api-key>'
{
  "addresses": [
    {
      "address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
      "path": "m/44'/0'/0'/0/0",
      "transfers": 3
    }
  ],
  "meta": {
    "syncedAt": {
      "0x1": 19800000
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.moralis.com/llms.txt

Use this file to discover all available pages before exploring further.

Pass bitcoin (or bitcoin-mainnet) as chainAlias and your Bitcoin extended public key as publicKey. The response lists every derived address along with its transfer count, so you can show only the addresses that have actually been used.

Authorizations

X-Api-Key
string
header
required

Path Parameters

publicKey
string
required

The Bitcoin extended public key (xpub)

chainAlias
enum<string>
required

The alias of the chain.

Available options:
bitcoin-mainnet,
bitcoin

Response

200 - application/json
addresses
object[]
required

Derived addresses from the xpub key

meta
object
required