latestOpenAPI 3.1.02026-08-1051108155.9 KB

6e6f8dad92bf

Position

Returns a list of liquidations

get/v1/position/liquidation

Query parameters

order'desc'

Direction to paginate through objects

limitinteger

Limit the number of objects to return

cursorstring

Pointer to the current object in pagination dataset

orderBy'createdAt'
Example:createdAt

Order by field

Response

hasNextboolean required

Whether there are more objects to paginate through

nextCursorstring

Pointer to the next page in pagination dataset

Example response

{
  "data": [
    {
      "cause": "MarkUpdate",
      "cost": "1000.5",
      "createdAt": 1712019600000,
      "fundingChargeUsd": "1200.5",
      "id": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
      "liquidationPrice": "1200.5",
      "positionId": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
      "productId": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
      "subaccountId": "9036443a-441a-4a66-87f2-bd5c44cdca7a"
    }
  ],
  "hasNext": true
}