x402 Bazaar Logox402 Bazaar
← Back to discover
httppayaiultravioletadao

api402x.com

Measures an Aave V3 position's exposure to a risk Aave's own health factor structurally cannot show. Aave prices wstETH as (wstETH/stETH rate) x (ETH/USD) with stETH pinned to ETH at exactly 1:1, so a stETH secondary-market depeg does not move the published health factor at all. This route reads the position, independently recomputes the health factor from per-asset collateral, debt and liquidation thresholds (including any e-mode override), verifies that recomputation reproduces Aave's own number, and then answers the question Aave does not: at what stETH depeg does this position reach liquidation. Why pay instead of reading it yourself: getUserAccountData alone cannot answer it -- the aggregate hides which assets back the position -- and a naive recompute that ignores e-mode or the collateral flags produces a confidently wrong number. Positions holding no wstETH are reported as not exposed rather than forced into a score. Required query parameters: chain and borrower.

Resource URL

https://api402x.com/lending-depeg-exposure

Payment options

exactBase (8453)

$0.005 USDC

Max amount

Pay to
0xE606AE66542D4F1A56AA551841db41e3ECd26816
Timeout
300s

For agents

Prompt snippet for AI agents

Find and pay for this x402 resource:
URL: https://api402x.com/lending-depeg-exposure
Type: http
Sources: payai, ultravioletadao

Developer