Skip to content
Fourohtwo

DeFi math helper

payai.agentstools.dev/quant/defi

DeFi math helper: APR and APY conversion, funding annualization, impermanent loss, liquidation price, and leverage. Pure computation over your inputs.

SolanaAnswering
GEThttps://payai.agentstools.dev/quant/defi

Uptime100% of 5 checks in 30 days

30 days agoToday

Call it from an agent

curl -i "https://payai.agentstools.dev/quant/defi?n=12&op=apr_to_apy&apr=0.1"

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

Example input

{
  "n": 12,
  "op": "apr_to_apy",
  "apr": 0.1
}