Liquidation risk check for a leveraged perp position
x402.coinopai.com/api/kronos/futures/risk
Liquidation risk check for a leveraged perp position: will it survive the calibrated 80% price range? Pass symbol, side (LONG or SHORT) and leverage; optional entry, notional and horizon_hours. Returns JSON with liquidation_price and distance, the adverse range bound, verdict (SURVIVES_RANGE, THIN_BUFFER or LIQUIDATION_INSIDE_RANGE), max leverage that survives, P&L at both range bounds and funding
GET
https://x402.coinopai.com/api/kronos/futures/riskUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://x402.coinopai.com/api/kronos/futures/risk?leverage=5¬ional=2000&side=LONG&symbol=ETH");
console.log(await res.json());Example input
{
"leverage": 5,
"notional": 2000,
"side": "LONG",
"symbol": "ETH"
}