GET
/
v1
/
positions
curl --request GET \
  --url https://api-evm.orderly.network/v1/positions \
  --header 'orderly-account-id: <orderly-account-id>' \
  --header 'orderly-key: <orderly-key>' \
  --header 'orderly-signature: <orderly-signature>' \
  --header 'orderly-timestamp: <orderly-timestamp>'
{
  "success": true,
  "timestamp": 1702989203989,
  "data": {
    "current_margin_ratio_with_orders": 1.2385,
    "free_collateral": 450315.09115,
    "initial_margin_ratio": 0.1,
    "initial_margin_ratio_with_orders": 0.1,
    "maintenance_margin_ratio": 0.05,
    "maintenance_margin_ratio_with_orders": 0.05,
    "margin_ratio": 1.2385,
    "open_margin_ratio": 1.2102,
    "total_collateral_value": 489865.71329,
    "total_pnl_24_h": 123,
    "rows": [
      {
        "IMR_withdraw_orders": 0.1,
        "MMR_with_orders": 0.05,
        "average_open_price": 27908.14386047,
        "cost_position": -139329.358492,
        "est_liq_price": 117335.92899428,
        "fee_24_h": 123,
        "imr": 0.1,
        "last_sum_unitary_funding": 70.38,
        "mark_price": 27794.9,
        "mmr": 0.05,
        "pending_long_qty": 123,
        "pending_short_qty": 123,
        "pnl_24_h": 123,
        "position_qty": -5,
        "settle_price": 27865.8716984,
        "symbol": "PERP_BTC_USDC",
        "timestamp": 1685429350571,
        "unsettled_pnl": 354.858492
      }
    ]
  }
}

Headers

orderly-timestamp
string
required
orderly-account-id
string
required
orderly-key
string
required
orderly-signature
string
required

Response

200 - application/json
success
boolean
required
timestamp
integer
data
object
required