---
title: "private/liquidate"
method: POST
path: "/private/liquidate"
tags: ["Liquidations"]
---

# private/liquidate

`POST /private/liquidate`

## Request

- Base URL: `https://api.derive.xyz/v3`
- URL: `https://api.derive.xyz/v3/private/liquidate`
- Auth: API key in header `X-DeriveWallet` and API key in header `X-DeriveTimestamp` and API key in header `X-DeriveSignature`

Bids on an open liquidation auction. Names the bidder's own subaccount, the account being auctioned, the fraction of it to absorb as a whole percent (a multiple of 0.01), and a signed limit price. The limit is compared against the discounted price of the whole remaining account — the quote's estimated_bid_price — not against the cash the bid actually moves, and it is negative for an insolvent auction where the security module pays the bidder. The realized fill is capped at the auction's current maximum proportion, so it can land below the requested percent. Quote the auction first with public/get_live_auctions or the auctions.watch channel: both the price and the fraction on offer move with wall-clock and with the account's mark.

## Request body

- PrivateLiquidateRequest
  - `liquidate_subaccount_id` integer, required: Subaccount being liquidated.
  - `nonce` string, required
  - `percent_of_acc` string, decimal, required: Fraction of the account to liquidate (`"1.0"` = 100%), decimal string or JSON number. Must be a whole percent, i.e. a multiple of `"0.01"`.
  - `price_limit` string, decimal, required: Max total cash paid for the filled portion; negative is a minimum payout in insolvent auctions. `"0"` opts out. Decimal string or JSON number.
  - `signature` string, required
  - `signature_expiry_sec` integer, required
  - `signer` string, required
  - `subaccount_id` integer, required: Bidder subaccount.

## Response `200`

Success

- PrivateLiquidateResponse
  - `op_uuid` string, required
  - `operation_id` integer, required

## Other responses

- `default`: JSON-RPC error (see Error Codes)

## Changes

- **2026-10-20** `0c500202be49`: 2 info
  - the endpoint scheme security `DeriveWallet AND DeriveTimestamp AND DeriveSignature` was added to the API
  - added the media type `application/json` for the response with the status `default`

[Operation history](https://skmtc.dev/lyra/apis/derive-v3-api/changes/private/liquidate/post.md)

---

[API](https://skmtc.dev/lyra/apis/derive-v3-api.md) - [All operations](https://skmtc.dev/lyra/apis/derive-v3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lyra/apis/derive-v3-api/revisions/415f8a73b10c?raw)
