<ApiPlayground endpoint="trading-perps-account" />

## Parameters

| Parameter | In | Required | Description |
| --- | --- | --- | --- |
| `address` | Path | Yes | Solana address, EVM `0x` address or GUM address. |
| `subaccountId` | Query | No | Filter to one sub-account index (0–4). Omit for all sub-accounts. |

## Response

| Field | Meaning |
| --- | --- |
| `account`, `address` | Canonical GUM account and the input address. |
| `exists` | `true` once a Perps trading account exists for this wallet. |
| `subaccounts` | Each sub-account's `accountValueUsd`, `availableToTradeUsd`, `freeBalanceUsd`, `maintenanceMarginUsd`, `leverages`, `positions` and `openOrders`. |
