Skip to main content
GET
/
lending-stocks
/
api
/
hooks
/
{marketId}
curl "https://api.trusset.org/lending-stocks/api/hooks/{marketId}" \
  -H "X-API-Key: trusset_your_key_here"
{
  "success": true,
  "data": {
    "hooks": [
      {
        "id": "hook_001",
        "marketId": "clx_market_001",
        "hookType": "monitorRisk",
        "name": "External Risk Feed",
        "riskUri": "https://risk.example.com/api/score",
        "checkFrequency": "5m",
        "active": true,
        "lastResult": true,
        "executionCount": 142
      }
    ]
  }
}
Returns all risk monitors, pre-liquidation checks, and post-liquidation action hooks for the specified market.

Path Parameters

marketId
string
required
Market ID.
curl "https://api.trusset.org/lending-stocks/api/hooks/{marketId}" \
  -H "X-API-Key: trusset_your_key_here"
{
  "success": true,
  "data": {
    "hooks": [
      {
        "id": "hook_001",
        "marketId": "clx_market_001",
        "hookType": "monitorRisk",
        "name": "External Risk Feed",
        "riskUri": "https://risk.example.com/api/score",
        "checkFrequency": "5m",
        "active": true,
        "lastResult": true,
        "executionCount": 142
      }
    ]
  }
}