Skip to content

bullpen hyperliquid subaccount list

Last updated: July 13, 2026

List Hyperliquid subaccounts for an address

Usage

bullpen hyperliquid subaccount list [OPTIONS]

Live Help

List Hyperliquid subaccounts for an address

Usage: bullpen hyperliquid subaccount list [OPTIONS]

Options:
      --address <ADDRESS>
          Ethereum address to query. Defaults to the authenticated account

      --no-multi-wallet-warning
          Suppress the table-mode warning shown when multiple EVM wallet accounts exist

      --output <OUTPUT>
          Output format for command results

          [possible values: table, json]

      --env <ENV>
          Target environment to connect to (overrides config.toml)

          [env: BULLPEN_ENV=]
          [possible values: staging, production]

      --config <CONFIG>
          Path to a custom config.toml file (overrides $BULLPEN_CONFIG and the default location).

          Explicit --config and BULLPEN_CONFIG paths fail closed: if the file is missing, the CLI exits validation instead of silently loading defaults. Credentials still resolve via BULLPEN_HOME, so set BULLPEN_HOME too when isolating a session.

      --read-only
          Enable read-only mode: blocks all mutating commands

      --non-interactive
          Suppress interactive prompts; does NOT imply --yes for money-moving commands

          [env: BULLPEN_NON_INTERACTIVE=]

  -h, --help
          Print help (see a summary with '-h')

EXAMPLES:
  # List Hyperliquid subaccounts for an address
  bullpen hyperliquid subaccount list --address 0x1111111111111111111111111111111111111111

  # Export Hyperliquid subaccounts as JSON
  bullpen hyperliquid subaccount list --address 0x1111111111111111111111111111111111111111 --output json

Example Commands

bullpen hyperliquid subaccount list --address 0x1111111111111111111111111111111111111111
bullpen hyperliquid subaccount list --address 0x1111111111111111111111111111111111111111 --output json

JSON Output

Contract: JSON Output Contract.

Successful output is a single JSON document. The shape below is representative for this command family; commands may add fields without breaking the shared contract.

Schema version: 1 when a command emits schema_version; otherwise treat the current command shape as contract version 1.

Top-level Keys

key type nullable notes
address string no Hyperliquid master address queried
total_perp_account_value string/decimal no Sum of reported subaccount perp account values
total_spot_usdc_balance string/decimal no Sum of reported subaccount spot USDC balances
sub_accounts array no Subaccount rows with name, address, master, perp value, cross value, spot USDC, and spot token count
sub_accounts[].name string no Hyperliquid subaccount display name
sub_accounts[].sub_account_user string no Hyperliquid subaccount user address
sub_accounts[].master string no Master account address that owns this subaccount
sub_accounts[].perp_account_value string/decimal no Subaccount perp account value
sub_accounts[].cross_account_value string/decimal yes Cross-margin account value when Hyperliquid returns one
sub_accounts[].spot_usdc_balance string/decimal yes Subaccount spot USDC balance when present
sub_accounts[].spot_balance_count integer no Number of spot balance rows returned for this subaccount

Example

bullpen hyperliquid subaccount list --address 0x1111111111111111111111111111111111111111 --output json
{
  "address": "0x1111111111111111111111111111111111111111",
  "total_perp_account_value": "12.5",
  "total_spot_usdc_balance": "15",
  "sub_accounts": [
    {
      "name": "Alpha",
      "sub_account_user": "0x3333333333333333333333333333333333333333",
      "master": "0x1111111111111111111111111111111111111111",
      "perp_account_value": "12.5",
      "cross_account_value": "12.25",
      "spot_usdc_balance": "15",
      "spot_balance_count": 1
    }
  ]
}

Stability

Patch releases may add nullable or optional fields. Minor releases may add required fields or increment schema_version. Major releases may remove or rename fields.