Rest API
Get Account Balances
This endpoint retrieves the account balances.
GET
Response fields are calculated as follows:
margin = (total positions + total orders) / leverage
maintenanceMargin = total positions × 3% (maintenance margin rate)
positionPnl = realized PnL (For unrealized PnL, see positions endpoint)
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Example value: ETH-USD
. To get all supported markets, call /api/v1/markets endpoint. Omit this parameter to get results across all markets.
Response
200 - application/json
The response is of type object
.