Skip to main content
GET
/
api
/
v1
/
subaccounts
List subaccounts
curl --request GET \
  --url https://staging.zerolatencylabs.com/api/v1/subaccounts \
  --header 'X-API-KEY: <api-key>'
[
  {
    "portfolio_count": 0,
    "subaccount_index": 1,
    "total_cash": "25000.00"
  }
]

Authorizations

X-API-KEY
string
header
required

Base64-encoded API key issued by POST /api/v1/api-keys.

Response

Visible subaccount summaries

portfolio_count
integer<int32>
required

Count of non-closed portfolios (ACTIVE and IN_LIQUIDATION) under this subaccount.

Required range: x >= 0
Example:

0

status
enum<string>
required

Lifecycle status of the subaccount.

Available options:
ACTIVE,
CLOSED
subaccount_index
integer<int32>
required

Zero-based index of the subaccount within its parent account.

Required range: x >= 0
total_cash
string
required

Aggregate free cash across non-closed portfolios, in USDC.

Example:

"25000.00"