Skip to main content
GET
Returns liquidation totals from two sources side by side: counters read from the market contract and its auction venue, and record counts grouped by status from the Trusset database. The endpoint reconciles pending liquidations from the chain before counting, so adopted records are included.

Path Parameters

string
required
The market’s record ID, as id on List Markets, not its contract address. See Market IDs. At most 100 characters.

Response Fields

object
stuck counts intermediate states produced by the automated sell orchestrator, which external securities markets do not use. It is always 0 here and carries no signal. A settlement that has genuinely stalled shows up as a long-lived pending record. Compare createdAt on Get Pending Liquidations against the 7 day write-off window to find them.
onChain.pendingLiquidationDebt above zero with database.pending at zero means the market still carries debt that no open record here accounts for. A router record settled at zero directly on-chain, before its collateral left the router, produces exactly this. The market’s own record then stays open until the write-off, and List Settled Liquidations flags the collateral left behind as collateralStranded.

Error Codes

A failed database read answers 200 with every database count at 0.