Skip to content
Fourohtwo

saylorinnovations.com/api/defi/health-factor

Aave-style lending health factor from collateral, debt and liquidation threshold: status, liquidation price, drop to liquidation, repay or add needed for a target.

SolanaAnswering
GEThttps://saylorinnovations.com/api/defi/health-factor

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i "https://saylorinnovations.com/api/defi/health-factor?debt_usd=5000&ltv_percent=80&collateral_usd=10000&collateral_price=3500&liquidation_threshold_percent=82.5"

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "debt_usd": "5000",
  "ltv_percent": "80",
  "collateral_usd": "10000",
  "collateral_price": "3500",
  "liquidation_threshold_percent": "82.5"
}

More from Saylor Innovations Data DeskProvider status