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
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
Changed in 1 of the 2 revisions of this API.1
- ○
added the non-success response with the status
response-non-success-status-added
- ○