---
title: "Get Liquidation History"
method: GET
path: "/v1/perps/liquidation_history"
tags: ["Margin Account"]
---

# Get Liquidation History

`GET /v1/perps/liquidation_history`

Returns a paginated history of liquidation events for the authenticated account. For how liquidations work, see [Liquidations](/def).

## Query parameters

- `market` string
- `limit` integer
- `cursor` string
- `startTime` integer
- `endTime` integer

## Response `200`

Paginated list of liquidation events

- object
  - `success` boolean, required — Whether the request was successful
  - `error` string — Error message, present only on failure
  - `error_code` string — Semantic error code. See each endpoint's error responses for the specific codes it can return.
  - `deprecated` string — Deprecation notice, if applicable
  - `result` LiquidationEvent[]
    - `id` string, required — Liquidation event ID
    - `time` string, date-time, required — Time the liquidation completed
    - `initiatedAt` string, date-time, required — Time the liquidation was initiated
    - `accountId` string, required — Account that was liquidated
    - `status` 'queued' | 'start' | 'retry' | 'stop', required — Status of the liquidation event
    - `insuranceFundUsed` string, required — Amount drawn from the insurance fund to cover losses
    - `adl` boolean, required — Whether auto-deleveraging (ADL) was triggered
    - `retryCount` integer, required — Number of retry attempts before the liquidation completed
    - `triggeringPositions` ApiPosition[] — Positions that triggered the liquidation (populated for events after August 2024)
      - `market` string, required — Perps market
      - `direction` 'long' | 'short' | 'neutral', required — Position direction
      - `netQuantity` string, required — Size of the position in base currency
      - `averageEntryPrice` string, required — Average entry price
      - `usedMargin` string, required — Margin used for the position
      - `unrealizedPnl` string, required — Unrealized PNL relative to the mark price. Positive is profit, negative is loss.
      - `markPrice` string, required — Current mark price
      - `liquidationPrice` string, required — Price at which the position will be liquidated
      - `bankruptcyPrice` string, required — Price at which bankruptcy occurs during liquidation
      - `maintenanceMargin` string, required — Maintenance margin required for this position
      - `notionalValue` string, required — Notional value of the position
      - `leverage` string, required — Current effective leverage for this position
      - `netFundingSinceNeutral` string, required — Net funding payments since the position was opened
      - `returnOnEquity` string, required — Return on equity for this position
      - `stopLossTriggerPrice` string — Triggering price for stop loss order (optional)
      - `takeProfitTriggerPrice` string — Triggering price for take profit order (optional)
    - `filledQuoteSize` string — Total quote value of positions closed during liquidation (populated for events after February 2025)
    - `filledQuantity` string — Total base quantity of positions closed during liquidation (populated for events after February 2025)
    - `reclaimOrderMargin` boolean — If true, the liquidation only cancelled resting orders to free up margin without closing positions
  - `pageInfo` PageInfo
    - `prevCursor` string — Cursor value to get the previous page of results
    - `nextCursor` string — Cursor value to get the next page of results

## Other responses

- `400` — Bad request. The request was malformed or failed validation.
- `401` — Authentication required. Provide a valid JWT or API key.
- `403` — Access denied. The authenticated account does not have permission.
- `429` — Rate limit exceeded. Slow down request frequency.
- `500` — Internal server error.

---

[API](https://skmtc.net/ondoperps/apis/ondo-perps-rest-api.md) · [All operations](https://skmtc.net/ondoperps/apis/ondo-perps-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ondoperps/ondo-perps-rest-api/revisions/39df6b2fa672/schema)
