# Aave v3 Position Health Check

> Aave v3 Position Health Check is a paid API for AI agents from x402-services-production.up.railway.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Returns Aave v3 lending position health for a wallet: health factor, collateral, debt, liquidation buffer, and a risk verdict

## Facts

- Endpoint: POST https://x402-services-production.up.railway.app/api/lending/health
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aave-v3-position-health-check-db62d355
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_28g5U9Up-442r8CCcaNP-

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 aave-v3-position-health-check-db62d355 -d '<json body>'
```

Example prompt: Check my Aave v3 lending position health on Base for wallet 0xAbC1234567890abcdef1234567890abcdef12345 — I want to see my health factor, collateral, debt, and whether I'm at risk of liquidation.

## When to prefer this

Use this endpoint when you need to assess liquidation risk for a specific wallet on Aave v3. It consolidates health factor, collateral, debt, and a risk verdict in one call, saving multiple on-chain queries. Prefer this over generic blockchain explorers when you specifically need structured Aave lending health metrics.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Wallet with no Aave v3 position returns empty or zero values
- Unsupported chain string returns a validation error
- Network timeouts or RPC node failures may cause 5xx responses
- Payment of $0.05 USDC required; missing x402 payment header returns 402

## How this service works

Aave v3 position health: health factor, collateral, debt, liquidation buffer, and a risk verdict for a wallet. Send { address, chain? }. Know your liquidation risk before it hits.

## Output

Returns the Aave v3 position's health factor (numeric), total collateral, total debt, liquidation buffer, and a plain-language risk verdict indicating how close the wallet is to being liquidated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "address"
 ],
 "properties": {
  "chain": {
   "type": "string",
   "description": "base (default), ethereum, arbitrum, optimism, polygon"
  },
  "address": {
   "type": "string",
   "description": "0x wallet address"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aave-v3-position-health-check-db62d355/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-services-production.up.railway.app](https://www.zero.xyz/host/x402-services-production.up.railway.app/llms.txt)
