402.com.tr/api/x402/near-lending-health
Health factor of an account's Rhea Lending (Burrow) position on NEAR, computed as the contract does — collateral discounted and debt marked up by each asset's volatility ratio — with collateral and debt in USD, how far collateral can fall before liquidation, and GO / HOLD / STOP. Positions from the contract, prices from NEAR Intents.
GET
https://402.com.tr/api/x402/near-lending-healthUptime0.0% 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://402.com.tr/api/x402/near-lending-health?account=tether.multisafe.near");
console.log(await res.json());Example input
{
"account": "tether.multisafe.near"
}