View Total Balances

List total balances across all your wallets for each cryptocurrency. See the Guide.

  1. You retrieve the total balances across all your wallets by calling the List Total Balances endpoint. The response returns each cryptocurrency with its balance and confirmed balance strings. This is useful for getting a high-level overview of your holdings without querying individual wallets.

    Prerequisites: You must have completed Get Started and Create Wallets.

    API Reference

// 1. List Total Balances
export ACCESS_TOKEN="<YOUR_ACCESS_TOKEN>"

curl -X GET \
  https://app.bitgo-test.com/api/v2/wallet/balances \
  -H "Authorization: Bearer $ACCESS_TOKEN"
Response
// 1. List Total Balances Response
{
    "balances": [
        {
            "coin": "tbtc4",
            "balanceString": "1322460",
            "confirmedBalanceString": "1322460",
            "spendableBalanceString": "1322460"
        },
        {
            "coin": "tlnbtc",
            "balanceString": "0",
            "confirmedBalanceString": "0",
            "spendableBalanceString": "0",
            "offchain": {
                "inboundBalance": "0",
                "inboundPendingBalance": "0",
                "inboundUnsettledBalance": "0",
                "outboundBalance": "0",
                "outboundPendingBalance": "0",
                "outboundUnsettledBalance": "0",
                "outboundLockedBalance": "0",
                "outboundReservedBalance": "0",
                "outboundSpendableBalance": "0"
            }
        },
        {
            "coin": "tsol",
            "balanceString": "3000000",
            "confirmedBalanceString": "3000000",
            "spendableBalanceString": "542864"
        },
        {
            "coin": "tsol:usdc",
            "balanceString": "0",
            "confirmedBalanceString": "0",
            "spendableBalanceString": "0"
        }
    ]
}