Get position
Reads a wallet’s Zest position from mainnet and returns its computed health factor.Query parameters
A Stacks mainnet address (starts with
SP). Validated server-side.Response
The health factor.
null means the wallet has no debt (not at liquidation risk).Total collateral value in USD, at live oracle prices.
Total borrowed value in USD.
sBTC price at which the health factor hits
1.0. null when not applicable.Errors
| Status | Meaning |
|---|---|
400 | Invalid Stacks address |
502 | Upstream read failed or Hiro rate limit |
