Skip to main content
Account snapshot with collateral, open positions, margin metrics, and PnL. Response shape depends on the parameters:
  • address + account_id (with or without broker_id) → flat object, one account
  • addressbroker_id) → object containing accounts[] with one entry per matching account
Weight: 5

Request

Account fields

Position fields

| Field | Type | Notes | | ------------------------- | -------------- | ------------------------------------------------------ | ------- | ------------- | | side | string | "LONG" if position_qty > 0, "SHORT" if < 0 | | position_qty | string | Signed | | notional | string | null | | qty | × mark_price | | average_open_price | string | null | cost_position / | holding | | | mark_price | string | null | Latest mark price for the symbol | | imr, mmr | string | null | Position-level (from position-calc or symbol metadata) | | est_liq_price | string | null | Estimated liquidation price | | leverage | int | null | Effective leverage | | margin_mode | string | null | "CROSS" or "ISOLATED" | | opened_at, updated_at | int64 | null | ms epoch; cached 10s |

Notes

  • Throws ADDRESS_NOT_FOUND (404) if no accounts match
  • If the position-calc service is unavailable, all margin / PnL-derived fields are null while other fields continue to be served
  • positions[] only contains open positions (holding ≠ 0)