# NEAR Lending Health (Rhea/Burrow)

> NEAR Lending Health (Rhea/Burrow) is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-19).

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.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/near-lending-health?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/near-lending-health-rhea-burrow-42f8ad70
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CbQWHlXez7s-bG1sGYp8P

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability near-lending-health-rhea-burrow-42f8ad70
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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).

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/near-lending-health-rhea-burrow-42f8ad70/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
