← Back to directory

Use when an agent must check if a wallet's loans are near liquidation. Input: ad...

https://1gateway.dev/v1/defi/health

Overview

Use when an agent must check if a wallet's loans are near liquidation. Input: address, optional chain (base, ethereum, arbitrum, all). Output: JSON per chain Aave v3 collateral, debt, borrowing power, LTV, health factor and liquidation distance %; Compound v3 supplied/borrowed base asset and isLiquidatable; summary with the lowest health factor. Read from contracts. Example: ?address=0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1

Protocol x402
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/wallet
Provider DeFi Health Factor
Source bazaar
Indexed 2026-11-09 04:07:46

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "address": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1", "chain": "all" }, "type": "http" }

Output Schema

{ "example": { "address": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1", "asOf": "2026-11-08T09:05:40.514Z", "cache": "miss", "chains": [ "base" ], "method": { "aave": "Aave v3 Pool.getUserAccountData (USD, Aave oracle). healthFactor < 1 = liquidatable; liquidationDistancePct = collateral value drop (debt unchanged) that bring…", "compound": "Compound v3 Comet balanceOf / borrowBalanceOf (base asset) and isLiquidatable (protocol answer); collateral per asset is not itemised. WETH markets priced with…", "notCovered": "Morpho Blue and Moonwell positions are not scanned." }, "notes": [ "Read-only contract calls; informational, not financial advice. Values move with prices every block." ], "positions": [ { "aave": null, "chain": "base", "checkedCompoundMarkets": [ "cUSDCv3" ], "compound": [] } ], "summary": { "anyLiquidatable": false, "hasPositions": false, "lowestAaveHealthFactor": null, "totalAaveCollateralUsd": 0, "totalAaveDebtUsd": 0 } }, "type": "json" }