Skip to content
Fourohtwo

Impermanent loss for a Uniswap v2 or v3 position

saylorinnovations.com/api/defi/impermanent-loss

Impermanent loss for a Uniswap v2 or v3 position: LP value against simply holding, the fee income needed to break even, and whether fees cover the loss.

SolanaDown
GEThttps://saylorinnovations.com/api/defi/impermanent-loss

Uptime75.0% of 4 checks in 30 days

30 days agoToday

Call it from an agent

curl -i "https://saylorinnovations.com/api/defi/impermanent-loss?days=90&deposit_usd=1000&fee_apr_percent=30&price_change_percent=100"

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

Example input

{
  "days": "90",
  "deposit_usd": "1000",
  "fee_apr_percent": "30",
  "price_change_percent": "100"
}

More from Saylor Innovations Data DeskProvider status