Position

Returns a list of liquidations

Changed on
get/v1/position/liquidation

Request

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
}

Changes

    • info

      added the non-success response with the status

    • breaking

      the // response's property type changed from number to no type for status

    • info

      added to the // response property allOf list for the response status

    • info

      the response's property default value Bad Request was removed for the status

    • info

      the response's property default value Forbidden was removed for the status

    • info

      the response's property default value Not Found was removed for the status

    • info

      the response's property default value Too Many Requests was removed for the status

    • info

      the response's property default value Unauthorized was removed for the status

    • info

      the response's property default value Unprocessable Entity was removed for the status

    • info

      the response's property default value 400 was removed for the status

    • info

      the response's property default value 401 was removed for the status

    • info

      the response's property default value 403 was removed for the status

    • info

      the response's property default value 404 was removed for the status

    • info

      the response's property default value 422 was removed for the status

    • info

      the response's property default value 429 was removed for the status

    • info

      removed the 0.00 enum value from the // response property for the response status

    • info

      removed the 1.00 enum value from the // response property for the response status

    • info

      response property message list-of-types was narrowed by removing types array from media type application/json of response 400