# Wallet Liquidation Alert Threshold

> Wallet Liquidation Alert Threshold is a paid API for AI agents from wallet-portfolio-risk-mcp.mtree.workers.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Returns urgency level and drop-to-liquidation thresholds for an EVM wallet address by combining Aave V3 health factor and Compound III liquidation status on a specified chain.

## Facts

- Endpoint: POST https://wallet-portfolio-risk-mcp.mtree.workers.dev/v1/wallet/liquidation_alert_threshold
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wallet-liquidation-alert-threshold-35dfc48d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_37rfN6zJNdyZcB7-mf5Bs

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 wallet-liquidation-alert-threshold-35dfc48d -d '<json body>'
```

Example prompt: Check if my wallet 0x742d35Cc6634C0532925a3b844Bc454e4438f44e is at risk of liquidation on Ethereum mainnet — give me the urgency level and how far my position can drop before getting liquidated across both Aave V3 and Compound III.

## When to prefer this

Use this endpoint when you need a fast, lightweight liquidation risk snapshot for a single EVM wallet and chain, specifically covering Aave V3 and Compound III positions. Prefer this over full portfolio analytics when the goal is a quick urgency/alert check rather than a comprehensive portfolio breakdown. Best suited for real-time monitoring agents that need to fire alerts when a position is dangerously close to liquidation.

## Known failure modes

- Invalid or non-checksummed EVM wallet address returns a 400 error
- Unsupported chain ID returns an error indicating no data available
- Wallet has no active positions on Aave V3 or Compound III — returns empty or zero thresholds
- Payment not provided or insufficient USDC — returns 402 Payment Required via x402 protocol
- Network timeout or RPC failure for the specified chain returns a 503 error

## How this service works

Lightweight liquidation-alert slice for one EVM address and chain, combining Aave V3 health factor and Compound III liquidation status into urgency and drop-to-liquidation thresholds. Returns JSON. Price 0.10 USDC on Base via x402. Demo/preview: https://wallet-portfolio-risk-mcp.mtree.workers.dev/demo/liquidation_alert_threshold. Contact: https://wallet-portfolio-risk-mcp.mtree.workers.dev/contact.

## Output

A JSON object containing an urgency indicator (e.g. safe, warning, critical), the percentage drop-to-liquidation threshold, the Aave V3 health factor, and the Compound III liquidation status for the given wallet address and chain.

## Example request

```json
{
 "input": {
  "body": {
   "chain": "ethereum",
   "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
  },
  "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": [
        "ethereum",
        "base",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string",
       "description": "Chain to scan"
      },
      "address": {
       "type": "string",
       "description": "EVM address (0x... 20 bytes)"
      }
     }
    },
    "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/wallet-liquidation-alert-threshold-35dfc48d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wallet-portfolio-risk-mcp.mtree.workers.dev](https://www.zero.xyz/host/wallet-portfolio-risk-mcp.mtree.workers.dev/llms.txt)
