GET
/
v1
/
liquidations
Get Liquidated Positions of Account
curl --request GET \
  --url https://api.orderly.org/v1/liquidations \
  --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": {
    "meta": {
      "total": 9,
      "records_per_page": 25,
      "current_page": 1
    },
    "rows": [
      {
        "liquidation_id": 101,
        "timestamp": 1663313562090,
        "transfer_amount_to_insurance_fund": 0,
        "margin_ratio": 0.10436069,
        "account_mmr": 0.012,
        "position_notional": 28.415534,
        "collateral_value": 2.965465,
        "positions_by_perp": [
          {
            "total_position": 41.6,
            "mark_price": 123400,
            "symbol": "PERP_BTC_USDC",
            "position_qty": 0.00017,
            "liquidator_fee": 0.006,
            "cost_position_transfer": 21.002786,
            "transfer_price": 123545.8,
            "insurance_fund_fee": 0.006,
            "abs_insurance_fund_fee": 0.126017,
            "abs_liquidator_fee": 0.252034
          }
        ]
      }
    ]
  }
}

Headers

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

Query Parameters

symbol
string
start_t
number
end_t
number
page
number

start from 1

size
number
sort_by
string

liquidation_id/time

liquidation_id
number

return the designed liquidation_id only

Response

200 - application/json

OK

success
boolean
required
Example:

true

data
object
required
timestamp
integer
Example:

1702989203989