{
  "service": "health_factor",
  "name": "Venus health factor & liquidation distance",
  "request": {
    "method": "POST",
    "url": "https://agent.brainonbnb.com/answer?service=health_factor",
    "body": {
      "params": {
        "address": "0xd319e1F8e987cf78333cEA853F455366640929cF"
      }
    }
  },
  "task": "health factor and liquidation distance for the Venus position at 0xd319e1F8e987cf78333cEA853F455366640929cF",
  "produced_at": "2026-11-09T00:00:36.511Z",
  "took_ms": 1704,
  "health_factor": 2.128,
  "result": {
    "service": "health_factor",
    "position": {
      "account": "0xd319e1F8e987cf78333cEA853F455366640929cF",
      "protocol": "Venus",
      "chain": "eip155:56",
      "has_position": true,
      "health_factor": 2.128,
      "liquidatable": false,
      "verdict": "Comfortable.",
      "borrowed_usd": 2377899.46795294,
      "collateral_usd": 6747059.439675324,
      "collateral_after_haircut_usd": 5060294.579756493,
      "headroom_usd": 2682395.111803552,
      "basis": "health factor, liquidatable and headroom are on each market's liquidation threshold; borrowing power is on its collateral factor",
      "borrowing_power_left_usd": 2682395.111803552,
      "markets_entered": 2,
      "positions": [
        {
          "market": "0xf841cb62c19fcd4ff5cd0aab5939f3140baac3ea",
          "symbol": "vSolvBTC",
          "supplied_usd": 6747059.439675324,
          "borrowed_usd": 0,
          "collateral_factor": 0.75,
          "liquidation_threshold": 0.75,
          "counts_as_collateral_usd": 5060294.579756493,
          "counts_toward_borrowing_usd": 5060294.579756493,
          "oracle_price_raw": "74967326283988523388322",
          "supplied_underlying_raw": "90000000988648788000"
        },
        {
          "market": "0xfd5840cd36d94d7229439859c0112a4185bc0255",
          "symbol": "vUSDT",
          "supplied_usd": 0,
          "borrowed_usd": 2377899.46795294,
          "collateral_factor": 0.8,
          "liquidation_threshold": 0.8,
          "counts_as_collateral_usd": 0,
          "counts_toward_borrowing_usd": 0,
          "oracle_price_raw": "998804223948181800",
          "supplied_underlying_raw": "0"
        }
      ],
      "cross_check": {
        "what": "Our per-market arithmetic against the protocol's own getAccountLiquidity.",
        "venus_headroom_usd": 2682395.111803552,
        "our_headroom_usd": 2682395.111803552,
        "difference_usd": -6.27e-15,
        "difference_pct": 0,
        "agrees": true,
        "block": 132484875,
        "venus_error_code": 0
      },
      "measured_at": "2026-11-09T00:00:36.511Z",
      "source": "Venus Comptroller 0xfD36E2c2a6789Db23113685031d7F16329158384, oracle 0x6592b5de802159f3e74b2486b091d11a8256ab8a"
    },
    "drawdown": {
      "tolerable_collateral_drop_pct": 53.01,
      "note": "Assumes the borrowed asset holds its price. A stablecoin debt against volatile collateral is the case this models; the reverse is not.",
      "stress": [
        {
          "collateral_drop_pct": 5,
          "health_factor": 2.0216,
          "liquidatable": false
        },
        {
          "collateral_drop_pct": 10,
          "health_factor": 1.9152,
          "liquidatable": false
        },
        {
          "collateral_drop_pct": 15,
          "health_factor": 1.8088,
          "liquidatable": false
        },
        {
          "collateral_drop_pct": 20,
          "health_factor": 1.7024,
          "liquidatable": false
        },
        {
          "collateral_drop_pct": 30,
          "health_factor": 1.4896,
          "liquidatable": false
        }
      ]
    }
  },
  "note": "Run by the same code a funded job runs, on the sentence the hire box opens with. Not a paid job; the figures are from the moment above.",
  "price": {
    "x402": "0.10 USD1, USDC or $U per answer (or half that in $BOBAI, quoted on the 402) at POST https://agent.brainonbnb.com/answer?service=health_factor",
    "escrow": "0.10 $U through the ERC-8183 escrow on https://brainonbnb.com/registry ($U is United Stables, a dollar stablecoin)"
  },
  "buy": "https://agent.brainonbnb.com/answer?service=health_factor",
  "terms": "POST it once without payment: the 402 carries the price, the wallet and the inputs it needs",
  "cached": true
}