Claim Liquidated Positions
Endpoint
POST /v1/liquidation
Mainnet: https://api.orderly.org/v1/liquidation
Testnet: https://testnet-api.orderly.org/v1/liquidation
Rate limit: 5 requests per second.
Authentication
Send the signed-request headers with an application/json body.
orderly-timestamp— required; signed-request timestamp in milliseconds.orderly-account-id— required; authenticated account ID.orderly-key— required; public API key.orderly-signature— required; signature generated for the request.
Request body
liquidation_id(integer, required).ratio_qty_request(integer, required).limit_price(object, required) — provides a limit price for each symbol in the claim. Whenposition_qtyis positive, the claim is rejected ifmark_priceis above its limit. Whenposition_qtyis negative, it is rejected ifmark_priceis below its limit. The nestedlimit_price.symbolvalue is a required number.extra_liquidation_ratio(integer, optional).symbols(object, optional) — for high-risk tier liquidations only. Each entry includesratio_qty_request(number, required) to set the requested liquidation ratio for that symbol andsymbol(string, required). This applies to symbols with liquidation tier 2.
Response
HTTP 200 — application/json. success is a required boolean. data is a required object containing liquidation_id (integer, required), timestamp (number, required), type (string, required; the claim value is claim), and positions_by_perp (required array).
Each returned position can include symbol (string), abs_liquidator_fee, cost_position_transfer, liquidator_fee, position_qty, and transfer_price (numbers).
The response-root timestamp is the server time in milliseconds (integer).