Skip to main content

Get position

Reads a wallet’s Zest position from mainnet and returns its computed health factor.

Query parameters

string
required
A Stacks mainnet address (starts with SP). Validated server-side.

Response

number | null
The health factor. null means the wallet has no debt (not at liquidation risk).
number
Total collateral value in USD, at live oracle prices.
number
Total borrowed value in USD.
number | null
sBTC price at which the health factor hits 1.0. null when not applicable.

Errors