Skip to content
Fourohtwo

Liquidation risk check for a leveraged perp position

kronos.forgemesh.io/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 (within 25% of the current mark), notional and horizon_hours. Returns JSON with liquidation_price and distance, the adverse range bound, verdict (SURVIVES_RANGE, THIN_BUFFER, LIQUIDATION_INSIDE_RANGE or LIQUIDATED_AT_CURRENT_MARK), max

BaseUnchecked
GEThttps://kronos.forgemesh.io/api/kronos/futures/risk

UptimeNot 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://kronos.forgemesh.io/api/kronos/futures/risk?leverage=5&notional=2000&side=LONG&symbol=ETH");
console.log(await res.json());

Example input

{
  "leverage": 5,
  "notional": 2000,
  "side": "LONG",
  "symbol": "ETH"
}