{"slug":"1gateway-dev-v1-defi-health-92e263","title":"Use when an agent must check if a wallet's loans are near liquidation","host":"1gateway.dev","method":"GET","resource":"https://1gateway.dev/v1/defi/health","category":"market","description":"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 isLiqui","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":29,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:137","eip155:143","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"address":"0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1","chain":"all"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"address":{"description":"EVM wallet (EIP-55 checksum if mixed case). Bad address → 400 before payment (not charged)","pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"chain":{"description":"Chain to check (default all)","enum":["base","ethereum","arbitrum","all"],"type":"string"}},"required":["address"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":true,"properties":{"address":{"type":"string"},"asOf":{"type":"string"},"cache":{"type":"string"},"chains":{"items":{"type":"string"},"type":"array"},"method":{"additionalProperties":true,"properties":{"aave":{"type":"string"},"compound":{"type":"string"},"notCovered":{"type":"string"}},"type":"object"},"notes":{"items":{"type":"string"},"type":"array"},"positions":{"items":{"additionalProperties":true,"properties":{"aave":{"type":"null"},"chain":{"type":"string"},"checkedCompoundMarkets":{"type":"array"},"compound":{"type":"array"}},"type":"object"},"type":"array"},"summary":{"additionalProperties":true,"properties":{"anyLiquidatable":{"type":"boolean"},"hasPositions":{"type":"boolean"},"lowestAaveHealthFactor":{"type":"null"},"totalAaveCollateralUsd":{"type":"integer"},"totalAaveDebtUsd":{"type":"integer"}},"type":"object"}},"required":["address","chains","summary","positions","asOf","cache","method","notes"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":27,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":16,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":26,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":39,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":41,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":33,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":29,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":31,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":18,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":18,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":27,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":39,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":32,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":18,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":26,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":16,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":26,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":41,"error":null}],"description_full":"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","last_updated":"2026-11-23T00:51:43.483Z","schemes":["exact"]}