Skip to main content
GET
/
lending-stocks
/
api
/
liquidations
/
{marketId}
/
liquidatable-loans
curl "https://api.trusset.org/lending-stocks/api/liquidations/{marketId}/liquidatable-loans" \
  -H "X-API-Key: trusset_your_key_here"
{
  "success": true,
  "data": {
    "totalActiveLoans": 12,
    "liquidatableLoans": [
      {
        "loanId": 7,
        "borrower": "0xabc...def",
        "collateralAmount": "50.000000000000000000",
        "principal": "8500.000000",
        "accruedInterest": "45.000000",
        "healthFactor": "0.920000000000000000"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.trusset.org/llms.txt

Use this file to discover all available pages before exploring further.

Scans all active loans in the market and returns those eligible for liquidation. Health factor values below 1.0 indicate the loan is undercollateralized.

Path Parameters

marketId
string
required
Market ID.
curl "https://api.trusset.org/lending-stocks/api/liquidations/{marketId}/liquidatable-loans" \
  -H "X-API-Key: trusset_your_key_here"
{
  "success": true,
  "data": {
    "totalActiveLoans": 12,
    "liquidatableLoans": [
      {
        "loanId": 7,
        "borrower": "0xabc...def",
        "collateralAmount": "50.000000000000000000",
        "principal": "8500.000000",
        "accruedInterest": "45.000000",
        "healthFactor": "0.920000000000000000"
      }
    ]
  }
}