# Aave V3 Liquidation Risk & Health Factor API

> Aave V3 Liquidation Risk & Health Factor API is a paid API for AI agents from liquidation-risk-mcp.mtree.workers.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Returns liquidation risk assessment and health factor data for Aave V3 positions, including provenance and machine-readable risk fields

## Facts

- Endpoint: POST https://liquidation-risk-mcp.mtree.workers.dev/v1/risk/aave_v3
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/liquidation-risk-mcp-mtree-workers-dev-b7b3f9a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NkjCeTRtDwjEz4N_sgB_a

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability liquidation-risk-mcp-mtree-workers-dev-b7b3f9a7 -d '<json body>'
```

Example prompt: Check the liquidation risk and current health factor for this Aave V3 position at wallet address 0xAbC123... — I want to know if it's close to getting liquidated and see the full risk evidence.

## When to prefer this

Choose this endpoint when an agent needs real-time liquidation risk and health factor data specifically for Aave V3 lending positions, especially in autonomous DeFi monitoring or risk management workflows that require machine-readable structured output with provenance

## Known failure modes

- Invalid or missing wallet address returns error
- Unrecognized Aave V3 position returns empty or null risk data
- Payment not fulfilled via x402 returns 402 Payment Required
- Network or RPC issues result in timeout or partial data
- Position data not indexed may return stale or unavailable response

## How this service works

Paid Aave V3 liquidation-risk verdict for agents before they borrow, lever, liquidate, or allow autopay. Returns buyer_decision, evidence_summary, execution_policy, next_action, live health factor, and liquidation trigger distance. Buyer-intent match: Aave liquidation risk, health factor API. Price 0.03 USDC on Base via x402. Demo/preview: https://liquidation-risk-mcp.mtree.workers.dev/demo/aave_v3. Contact: https://liquidation-risk-mcp.mtree.workers.dev/contact.

## Output

A JSON object containing the health factor score, liquidation risk assessment, route-specific evidence supporting the risk determination, provenance metadata, and machine-readable risk fields for Aave V3 positions

## Example request

```json
{
 "input": {
  "body": {
   "chain": "ethereum",
   "action": "borrow",
   "address": "0x1234567890123456789012345678901234567890"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string"
      },
      "action": {
       "type": "string",
       "description": "Buyer action being gated, e.g. borrow, liquidate, allow_autopay"
      },
      "address": {
       "type": "string",
       "description": "EVM wallet address to check"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/liquidation-risk-mcp-mtree-workers-dev-b7b3f9a7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from liquidation-risk-mcp.mtree.workers.dev](https://www.zero.xyz/host/liquidation-risk-mcp.mtree.workers.dev/llms.txt)
