Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
x >= 0x >= 0Response
Successfully retrieved list of positions
Alias of price for clarity in PnL calculations
x >= 0x >= 0x >= 0Margin mode: true for cross, false for isolated
Actual collateral currently assigned to this position.
Details:
- Quote-currency units (scaled integer)
- Used in equity and liquidation calculations
- Effective leverage is computed as notional(entry) / margin
- May differ from initial/maintenance requirements (due to PnL, fees, funding, manual add/remove)
- In cross mode, reflects the portion of cross margin allocated to this position
x >= 0Current market mark price (scaled integer)
x >= 0Market address
x >= 0Sequence number of the execution where this position was updated
x >= 0The address of the user vault
Side inferred from size ("buy" for long, "sell" for short)
Unix timestamp in seconds of the execution where this position was updated
x >= 01718000000
Unix timestamp in milliseconds of the execution where this position was updated
x >= 01718000000000
Unrealized PnL at current mark (scaled integer, signed)
User address
Initial margin requirement based on ENTRY price notional.
Details:
- Uses entry notional = |size| * entry_price / 10^base_decimals
- Multiplied by market's initial_margin_ratio (scaled by MARGIN_RATIO_SCALE)
- Does not fluctuate with current mark price
- Quote-currency units (scaled integer)
x >= 0Initial margin requirement based on current MARK price notional.
Details:
- Uses mark notional = |size| * mark_price / 10^base_decimals
- Multiplied by market's initial_margin_ratio (scaled by MARGIN_RATIO_SCALE)
- Fluctuates with mark price
- Quote-currency units (scaled integer)
x >= 0Computed leverage = notional / margin
x >= 0Estimated liquidation price for this position (scaled integer).
Notes:
- Considers funding indices, leverage limits, and maintenance ratios
- Applies the correct margin mode (cross vs isolated)
- Absent when not computable (e.g., zero size)
x >= 065000000000
Required maintenance margin for this position at current price/size
x >= 0