v2

latestOpenAPI 3.0.3Apache 2.02026-07-3149289180.2 KB

Get Portfolio

Get current portfolio snapshot including open positions, margin summary, and withdrawable balance.

get/v1/account/portfolio

Response

Portfolio response.

withdrawablestring required

Withdrawable balance in USD

in_liquidationboolean required

Whether the account is currently under liquidation

timestampinteger required

Update timestamp in milliseconds

Example response

{
  "positions": [
    {
      "symbol": "NVDA-USDC",
      "size": "10.00",
      "entry_price": "2986.30",
      "leverage": 10,
      "initial_margin": "10.00",
      "maintenance_margin": "100.00",
      "position_value": "100.03",
      "liquidation_price": "2866.27",
      "unrealized_pnl": "-0.01",
      "return_on_equity": "-0.0027",
      "cumulative_funding": "514.09"
    }
  ],
  "margin": {
    "total_account_value": "13109.48",
    "total_initial_margin": "4.97",
    "total_maintenance_margin": "2.49",
    "total_position_value": "100.03"
  },
  "withdrawable": "13104.51",
  "timestamp": 1767225600000
}