Skip to main content
Unconfirmed UTXOs have block_height: null in the response. A non-null block_height means the UTXO has been confirmed in that block.
To use these endpoints on testnet4 or signet, send requests to https://testnet.api.bestinslot.xyz or https://signet_api.bestinslot.xyz respectively. Your existing API key works on all networks.

Get All UTXOs of Wallet

Included in: Pro, Dedicated GET https://api.bestinslot.xyz/v3/mempool/all_utxos_of_wallet Returns all UTXOs (cardinal, ordinal, and runic) for a given wallet, including both confirmed and unconfirmed entries. Each UTXO includes inscription and Runes metadata where applicable.
wallet_addr
string
required
Bitcoin wallet address.
{
  "data": [
    {
      "txid": "f48fd528ecb4c32252a6b0ad4bcd07123ad0c583fb808f9bdd04a7c015c60446",
      "vout": 0,
      "block_height": 803100,
      "value": 9109,
      "address": "bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn",
      "script": "001465fe7b3cdc7c1762d34b900da053920e96d25d55",
      "script_type": "witness_v0_keyhash",
      "inscription_ids": [
        "b3521d61a5cfdb80c4957cf7e4ce6c7f3e263b8baba05c787f003f17cacef97bi0"
      ],
      "satpoints": [
        "f48fd528ecb4c32252a6b0ad4bcd07123ad0c583fb808f9bdd04a7c015c60446:0:0"
      ],
      "rune_ids": null,
      "amounts": null,
      "txfee": null,
      "vsize": null,
      "utxo": "f48fd528ecb4c32252a6b0ad4bcd07123ad0c583fb808f9bdd04a7c015c60446:0"
    },
    {
      "txid": "c04e49f6393a571b95f711038746ea78ba673e0a0a2a71be7daccefe6143b154",
      "vout": 1,
      "block_height": null,
      "value": 546,
      "address": "bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn",
      "script": "001465fe7b3cdc7c1762d34b900da053920e96d25d55",
      "script_type": "witness_v0_keyhash",
      "inscription_ids": null,
      "satpoints": null,
      "rune_ids": [
        "840000:3"
      ],
      "amounts": [
        "209286845"
      ],
      "txfee": "1274",
      "vsize": 253,
      "utxo": "c04e49f6393a571b95f711038746ea78ba673e0a0a2a71be7daccefe6143b154:1"
    }
  ],
  "block_height": 863641
}

Get Cardinal UTXOs of Wallet

Included in: Pro, Dedicated GET https://api.bestinslot.xyz/v3/mempool/cardinal_utxos_of_wallet Returns only cardinal (plain BTC, no inscriptions or Runes) UTXOs for a given wallet.
wallet_addr
string
required
Bitcoin wallet address.
{
  "data": [
    {
      "txid": "c04e49f6393a571b95f711038746ea78ba673e0a0a2a71be7daccefe6143b154",
      "vout": 3,
      "block_height": 863642,
      "value": 61150,
      "address": "bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn",
      "script": "001465fe7b3cdc7c1762d34b900da053920e96d25d55",
      "script_type": "witness_v0_keyhash",
      "inscription_ids": null,
      "satpoints": null,
      "rune_ids": null,
      "amounts": null,
      "txfee": null,
      "vsize": null,
      "utxo": "c04e49f6393a571b95f711038746ea78ba673e0a0a2a71be7daccefe6143b154:3"
    }
  ],
  "block_height": 863642
}

Get Ordinal UTXOs of Wallet

Included in: Pro, Dedicated GET https://api.bestinslot.xyz/v3/mempool/ordinal_utxos_of_wallet Returns only ordinal UTXOs (UTXOs containing inscriptions) for a given wallet.
wallet_addr
string
required
Bitcoin wallet address.
{
  "data": [
    {
      "txid": "f48fd528ecb4c32252a6b0ad4bcd07123ad0c583fb808f9bdd04a7c015c60446",
      "vout": 0,
      "block_height": 803100,
      "value": 9109,
      "address": "bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn",
      "script": "001465fe7b3cdc7c1762d34b900da053920e96d25d55",
      "script_type": "witness_v0_keyhash",
      "inscription_ids": [
        "b3521d61a5cfdb80c4957cf7e4ce6c7f3e263b8baba05c787f003f17cacef97bi0"
      ],
      "satpoints": [
        "f48fd528ecb4c32252a6b0ad4bcd07123ad0c583fb808f9bdd04a7c015c60446:0:0"
      ],
      "rune_ids": null,
      "amounts": null,
      "txfee": null,
      "vsize": null,
      "utxo": "f48fd528ecb4c32252a6b0ad4bcd07123ad0c583fb808f9bdd04a7c015c60446:0"
    }
  ],
  "block_height": 863642
}

Get Runic UTXOs of Wallet

Included in: Pro, Dedicated GET https://api.bestinslot.xyz/v3/mempool/runic_utxos_of_wallet Returns only runic UTXOs (UTXOs carrying Runes balances) for a given wallet.
wallet_addr
string
required
Bitcoin wallet address.
{
  "data": [
    {
      "txid": "c04e49f6393a571b95f711038746ea78ba673e0a0a2a71be7daccefe6143b154",
      "vout": 1,
      "block_height": 863642,
      "value": 546,
      "address": "bc1qvhl8k0xu0stk956tjqx6q5ujp6tdyh24v7eumn",
      "script": "001465fe7b3cdc7c1762d34b900da053920e96d25d55",
      "script_type": "witness_v0_keyhash",
      "inscription_ids": null,
      "satpoints": null,
      "rune_ids": [
        "840000:3"
      ],
      "amounts": [
        "209286845"
      ],
      "txfee": null,
      "vsize": null,
      "utxo": "c04e49f6393a571b95f711038746ea78ba673e0a0a2a71be7daccefe6143b154:1"
    }
  ],
  "block_height": 863642
}

Get Cardinal Balance of Wallet

Included in: Pro, Dedicated GET https://api.bestinslot.xyz/v3/mempool/cardinal_balance_of_wallet Returns the total cardinal BTC balance for a wallet, split into confirmed and unconfirmed amounts. Values are returned as strings in satoshis.
wallet_addr
string
required
Bitcoin wallet address.
{
  "data": {
    "total_unused_confirmed_balance": "61150",
    "total_unused_unconfirmed_balance": "0"
  },
  "block_height": 863642
}

Get All Cardinal UTXOs in Mempool

Included in: Dedicated GET https://api.bestinslot.xyz/v3/mempool/all_cardinal_utxos Returns all cardinal UTXOs currently in the mempool across all addresses. Because these are unconfirmed transactions, block_height is always null.
{
  "data": [
    {
      "txid": "2f8de7eb0b12a9517c2ac122f37bb51867ee9a78b0c27308f2c09628af8e207e",
      "vout": 0,
      "block_height": null,
      "value": 2522422,
      "address": "bc1q9xap3eck8tqdz3y86wzhf85xewr8a75slq88nj",
      "script": "001429ba18e7163ac0d14487d385749e86cb867efa90",
      "script_type": "witness_v0_keyhash",
      "inscription_ids": null,
      "satpoints": null,
      "rune_ids": null,
      "amounts": null,
      "txfee": "774",
      "vsize": 177,
      "utxo": "2f8de7eb0b12a9517c2ac122f37bb51867ee9a78b0c27308f2c09628af8e207e:0"
    }
  ],
  "block_height": 889388
}

Get All Ordinal UTXOs in Mempool

Included in: Dedicated GET https://api.bestinslot.xyz/v3/mempool/all_ordinal_utxos Returns all ordinal UTXOs (UTXOs containing inscriptions) currently in the mempool across all addresses. Because these are unconfirmed transactions, block_height is always null.
{
  "data": [
    {
      "txid": "375e43025d156cf496563859f46e6d590d49b86f0df158671be290eaadb13287",
      "vout": 0,
      "block_height": null,
      "value": 330,
      "address": "bc1pxmahywzrmzlrjndrg3ele2whalmv70elnzdq0ml2nvmhfc5k039snhqpt7",
      "script": "512036fb723843d8be394da34473fca9d7eff6cf3f3f989a07efea9b3774e2967c4b",
      "script_type": "witness_v1_taproot",
      "inscription_ids": [
        "375e43025d156cf496563859f46e6d590d49b86f0df158671be290eaadb13287i0"
      ],
      "satpoints": [
        "375e43025d156cf496563859f46e6d590d49b86f0df158671be290eaadb13287:0:0"
      ],
      "rune_ids": null,
      "amounts": null,
      "txfee": "158",
      "vsize": 151,
      "utxo": "375e43025d156cf496563859f46e6d590d49b86f0df158671be290eaadb13287:0"
    }
  ],
  "block_height": 889388
}

Get All Runic UTXOs in Mempool

Included in: Dedicated GET https://api.bestinslot.xyz/v3/mempool/all_runic_utxos Returns all runic UTXOs (UTXOs carrying Runes balances) currently in the mempool across all addresses. Because these are unconfirmed transactions, block_height is always null.
{
  "data": [
    {
      "txid": "a63fa5a8d71f255d7ce5b699cbd4f21ed18014f0aa64df3f2eaf16bb2ad8213e",
      "vout": 0,
      "block_height": null,
      "value": 294,
      "address": "bc1q8ys49pxp3c6um7enemwdkl4ud5fwwg2rpdegxu",
      "script": "001439215284c18e35cdfb33cedcdb7ebc6d12e72143",
      "script_type": "witness_v0_keyhash",
      "inscription_ids": null,
      "satpoints": null,
      "rune_ids": [
        "1:0"
      ],
      "amounts": [
        "1"
      ],
      "txfee": "272",
      "vsize": 194,
      "utxo": "a63fa5a8d71f255d7ce5b699cbd4f21ed18014f0aa64df3f2eaf16bb2ad8213e:0"
    }
  ],
  "block_height": 889388
}

Get All Runes Events in Mempool

Included in: Dedicated GET https://api.bestinslot.xyz/v3/mempool/all_runes_events Returns all Runes protocol events currently pending in the mempool.
{
  "data": [
    {
      "event_type": "input",
      "txid": "081173c52b85daf229d7dd593e547886d31dd9bc73cf712ecb8ef225f11b6561",
      "outpoint": "96b5d45828720428f3853419250f15a72eb6feebd29d26b5f9e361bdb42a0e94:0",
      "pkscript": "001439215284c18e35cdfb33cedcdb7ebc6d12e72143",
      "wallet_addr": "bc1q8ys49pxp3c6um7enemwdkl4ud5fwwg2rpdegxu",
      "rune_id": "1:0",
      "amount": "1",
      "rune_name": "UNCOMMONGOODS",
      "spaced_rune_name": "UNCOMMON•GOODS",
      "decimals": 0,
      "sale_info": null
    }
  ],
  "block_height": 889389
}