API ReferenceMargin & Lending

Liquidation records

GET/api/v1/px/liquidationsBearer

PX Discovery & AccountE6 decimal strings throughoutA | B

This account's liquidation history. A non-zero badDebtE6 means the proceeds did not cover the debt and the insurance pool absorbed the shortfall — the record is a fact that already happened, not an open item.

Send Authorization: Bearer <token>. The token is issued by POST /api/v1/auth/verify, and expires after 24h idle or 7d after issuance.

Response

200Liquidation records
  • liquidationsobject(PxLiquidation)[]

    Liquidation records, newest first

  • liquidationIdstring

    Liquidation record id

    Example"liquidation_01K5H2M3N7"

  • questionstringnullable

    Market question

    Example"Will BTC clos…c 31, 2026?"

  • marketSlugstringnullable

    Market slug

  • outcomestring

    The side that was liquidated, A or B

  • seizedQuantityE6string

    Size seized, as an E6 string

  • proceedsE6string

    Proceeds from the disposal, as an E6 string

  • debtRepaidE6string

    The part of it applied to debt, as an E6 string

  • penaltyE6string

    Liquidation penalty, as an E6 string

  • badDebtE6string

    Bad debt. Non-zero means the proceeds did not cover the debt and the insurance pool absorbed the shortfall

  • createdAtstringnullable

    Time the liquidation happened

Switch status codes in the response example to view errors. For all codes, see the Errors page.