---
title: "DeFi Lending Health and Liquidation Monitor"
method: POST
path: "/v1/tools/assess_defi_lending"
tags: ["TODO_TAGS_REVIEW", "TODO_AP2_EXPORT_REVIEW"]
---

# DeFi Lending Health and Liquidation Monitor

`POST /v1/tools/assess_defi_lending`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/assess_defi_lending`
- Auth: none declared

Computes DeFi lending health factor, liquidation price, borrow capacity, and distance to liquidation for Aave v3, Morpho Blue, Fluid, Sky (MakerDAO v2), and Liquity v2. Handles LTV mode (Aave/Morpho/Fluid) and collateral-ratio mode (Sky/Liquity). Per-protocol liquidation mechanism notes. Not financial advice.

**Tool URL:** https://ainumbers.co/chaingraph/art-271-defi-lending-health.html

## Request body

- object
  - `collateral_amount` number, required
  - `collateral_price_usd` number: Amount in US dollars
  - `collateral_value_usd` number: Amount in US dollars
  - `debt_value_usd` number: Amount in US dollars
  - `liquidation_bonus_pct` number, required: Percentage value
  - `liquidation_threshold_pct` number, required: Percentage value
  - `protocol` unknown, required

## Response `200`

Successful tool execution result

- object
  - `borrow_capacity_usd` integer
  - `buffer_to_liquidation_pct` number
  - `collateral_value_usd` integer
  - `current_ltv_pct` integer
  - `debt_value_usd` integer
  - `distance_to_liquidation_pct` number
  - `health_factor` number
  - `health_status` string
  - `liquidation_bonus_pct` integer
  - `liquidation_mechanism` string
  - `liquidation_mechanism_note` string
  - `liquidation_penalty_usd` integer
  - `liquidation_price_usd` number
  - `liquidation_threshold_pct` integer
  - `not_financial_advice` string
  - `pii_note` string
  - `protocol` string
  - `regulatory_basis` string
  - `table_source` string
  - `table_version` string

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
