Lending health of one wallet on Base
agentdata-api.com/api/wallet/risk
Lending health of one wallet on Base: every borrowing position on Aave v3 (read on-chain) and Morpho Blue (via Morpho API) with health factor, band and how far collateral may fall before liquidation, weakest first. A snapshot of current state, not a forecast; Compound, Moonwell and other chains are not covered and the answer says so. Watch it with /api/watch?signal=wallet-health.
GET
https://agentdata-api.com/api/wallet/riskUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agentdata-api.com/api/wallet/risk?address=0xed89c7851dafe101d8aff48961db61f063eb61ae");
console.log(await res.json());Example input
{
"address": "0xed89c7851dafe101d8aff48961db61f063eb61ae"
}