Liquidations

public/get_liquidation_history

Changed on

Returns a paginated history of liquidation auctions, newest first, for a single subaccount or across all of them, optionally bounded by a start/end timestamp window over the auction start. Each entry gives the auctioned subaccount, whether the auction was solvent or insolvent, the fee charged at start, the start and end timestamps, and the bids that filled it with the fraction of the account each absorbed and the cash it moved.

post/public/get_liquidation_history

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    none declared

Request body

GetLiquidationHistoryRequest required

Parameters for public/get_liquidation_history. Omit subaccount_id to span every account. [start_timestamp, end_timestamp] is a unix-millisecond window over the auction start.

end_timestamp, integer nullable

End of the window, unix milliseconds (default: unbounded).

page, integer nullable

Page number, 1-based (default 1).

page_size, integer nullable

Results per page (default 100, max 1000).

start_timestamp, integer nullable

Start of the window, unix milliseconds (default 0).

subaccount_id, integer nullable

Response

Success

LiquidationHistoryResult required
auctions, AuctionHistory[] required
pagination, Pagination required

Response envelope for paginated RPCs.

Changes