Returns balance data for a specific exchange and wallet address. Supports Hyperliquid, Lighter, and Aster.
GET/api/trading/{exchange}/balancesexchange (required - hyperliquid, lighter, or aster)x-wallet-id (required for Hyperliquid - Wallet UUID)walletAddress (required for Lighter/Aster - EVM wallet address)GET /api/aster/perp/:walletId/account
Path Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
walletId | string | Yes | Wallet ID (UUID) |
ASTER_API_KEY and ASTER_API_SECRET environment variables to be configured on the API server.success — Request statusexchange — Exchange identifieraddress — Wallet address (checksum format)balances — Array of asset balancestimestamp — Unix timestamp in millisecondsasset — Asset symbol (e.g., USDC)free — Available balance for tradingtotal — Total balance (free + locked)locked — Balance locked in orders/positions (Aster only)withdrawable — Amount available for withdrawalaccountValue — Total account value including positionsaccountIndex — Lighter account indexcollateral — Total collateralavailableBalance — Available for new positionsaccountType — Account type (standard/isolated)accountType — Account type (futures/spot)crossWalletBalance — Cross margin balancecrossUnPnl — Unrealized PnLmaxWithdrawAmount — Maximum withdrawable amount0xe7beccec683a6e141ead23237088cfbc348b22950xE7BECCEC683A6E141EAD23237088CFBC348B22950xE7bECcEC683a6e141EaD23237088CfbC348b2295Exchange name
hyperliquid, lighter, aster EVM wallet address (0x...)