{"uid":"cap_CbQWHlXez7s-bG1sGYp8P","slug":"near-lending-health-rhea-burrow-42f8ad70","name":"NEAR Lending Health (Rhea/Burrow)","description":"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.","url":"https://402.com.tr/api/x402/near-lending-health?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["account"],"properties":{"account":{"type":"string","description":"NEAR account"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5fRADkdKuQMyljrzZ7Kcx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the health factor, collateral/debt breakdown in USD, liquidation distance, and a GO/HOLD/STOP signal for a NEAR account's Rhea Finance (Burrow) lending position.","exampleAgentPrompt":"Check the lending health of my NEAR account alice.near on Rhea Finance (Burrow) — I want to know my health factor, how much collateral and debt I have in USD, and whether I'm safe or close to liquidation.","exampleUseCases":[{"title":"Personal liquidation risk check","prompt":"What's the health factor for my NEAR account myaccount.near on Burrow? Tell me if I'm safe, at risk, or should act immediately."},{"title":"DeFi portfolio monitoring agent","prompt":"Monitor the Rhea Finance lending position for dao-treasury.near on NEAR — give me the current health factor, USD collateral vs debt, and how much collateral can drop before liquidation triggers."},{"title":"Automated risk alert workflow","prompt":"Check the Burrow lending health for investor.near and tell me if it's a GO, HOLD, or STOP — I need the exact dollar amounts of collateral and debt too so I can decide whether to top up."}],"resultDescription":"Returns a health factor computed using each asset's volatility ratio (collateral discounted, debt marked up), total collateral and debt in USD from live NEAR Intents prices, the dollar amount collateral can fall before liquidation, and a categorical signal: GO (safe), HOLD (caution), or STOP (liquidation imminent).","failureModes":["Account has no Burrow/Rhea position — returns empty or zero values","Invalid or non-existent NEAR account ID — returns error","NEAR Intents price feed temporarily unavailable — prices may be stale or call fails","Network or upstream contract RPC timeout — HTTP 5xx response","Missing required 'account' query parameter — returns 400 error"],"whenToPreferThis":"Use this endpoint when you need a fully computed, contract-accurate health factor for a NEAR account on Rhea Finance (Burrow) — not just raw on-chain data. It replicates the exact liquidation math the contract uses, sources live USD prices from NEAR Intents, and provides an actionable GO/HOLD/STOP signal, saving agents from implementing complex DeFi health factor logic themselves.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T18:41:47.222Z","isFirstParty":false,"canonicalSlug":"near-lending-health-rhea-burrow-42f8ad70"}