get_balance_by_address
Fetch keyless, read-only perpetual futures balances for any public address across Pacifica, Hyperliquid, Lighter, and other venues; omit exchange to query every supported DEX.
Instructions
Balances of ANY account by its public address — keyless, read-only (public venue data; nothing is signed, no key is needed). Venues: pacifica (base58 Solana address), hyperliquid (0x address), lighter (0x address), lighter-rh (0x address), risex (0x address); omit exchange to read every one of them (a venue that fails, address format included, is listed in data.errors). data: { balance (equity / available / marginUsed / unrealizedPnl + venue extras; null on Lighter), spot (token balances; null where the venue does not publish them), accounts (Lighter: one row per account of the address; accountIndex narrows), dexes + accountMode (Hyperliquid: HIP-3 dexes with a non-zero account value; a dex that fails is in meta.errors / meta.warnings — unknown, not zero) }. Other venues: CAPABILITY_UNSUPPORTED; a wrong address format: INVALID_PARAMS. Same data as perp [-e <venue>] account balance --address <addr>.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Public account address (0x… for hyperliquid / lighter / lighter-rh / risex; base58 Solana for pacifica) | |
| exchange | No | Exchange: pacifica, hyperliquid, lighter, lighter-rh, risex (aliases accepted); omit for every one | |
| accountIndex | No | Lighter only: one account (sub-account) of the address |