Skip to main content
GET
Scans every active loan in the market and returns those eligible for liquidation. A loan qualifies when its health factor is strictly below 1.0. This is a full scan of the market’s loan book, so response time grows with the number of loans. Poll it on a schedule rather than per page view.

Path Parameters

string
required
Market ID.

Response Fields

object
When the chain read fails the endpoint returns 200 with totalActiveLoans: 0, an empty liquidatableLoans, and an onChainError string. An empty list is therefore not proof that no loan is liquidatable. Always check for onChainError before concluding the book is healthy.
Health factors are computed against the oracle’s stored price. If the price is stale the figures here are stale too. Push a current NAV with Sync Oracle Price before acting on this list, or pass a signedPrice when liquidating so the contract prices against a fresh value.