# ForgeMesh Futures Risk Analyzer

> ForgeMesh Futures Risk Analyzer is a paid API for AI agents from crypto.forgemesh.io, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-11).

Evaluates whether a leveraged perpetual futures position will survive the calibrated 80% price range, returning a verdict, liquidation price, max safe leverage, P&L at range bounds, and funding cost over a horizon.

## Facts

- Endpoint: GET https://crypto.forgemesh.io/api/kronos/futures/risk?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-futures-risk-analyzer-105d9239
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b9f3_jP5Lp3hUHzTVDbDd

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability forgemesh-futures-risk-analyzer-105d9239
```

Example prompt: Before I open a 5x long on ETH, check if that position would survive the calibrated 80% price range — use a $10,000 notional and a 24-hour horizon, and tell me the liquidation price, verdict, and max safe leverage.

## When to prefer this

Use this endpoint when you need a structured, pre-trade or in-trade risk gate for perpetual futures positions — specifically when you want to know not just the liquidation price but whether that liquidation falls inside the calibrated 80% probability price range. Prefer this over generic liquidation calculators when you need the SURVIVES_RANGE verdict, max safe leverage recommendation, and funding cost integrated into a single decision-ready response for BTC, ETH, SOL, XRP, or ADA perps.

## Known failure modes

- Missing required 'side' or 'leverage' query parameters returns a validation error
- Unsupported symbol (outside BTC/ETH/SOL/XRP/ADA) returns an error or UNKNOWN_RANGE verdict
- Entry price defaulting to current mark price may differ from intended entry if not specified
- Insufficient payment (x402) returns a 402 Payment Required response
- Extreme leverage values may result in edge-case computation errors
- Very short horizon_hours may produce unreliable funding cost estimates

## How this service works

Answers 'will this leveraged perp position survive the calibrated range?' for a side, entry, and leverage you specify: liquidation price and distance, the adverse 80%-range bound, a SURVIVES_RANGE / THIN_BUFFER / LIQUIDATION_INSIDE_RANGE verdict, the max leverage that still survives, P&L at both range bounds, and funding cost over the horizon — use it as a pre-trade gate or to stress an open position.

## Output

Returns a verdict enum (SURVIVES_RANGE, THIN_BUFFER, LIQUIDATION_INSIDE_RANGE, or UNKNOWN_RANGE), the liquidation price and distance from entry, whether the position survives the calibrated 80% range, the maximum leverage that still survives the range, P&L at both the upper and lower range bounds, and a funding impact breakdown over the specified horizon — plus a risk disclosure object.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "side",
      "leverage"
     ],
     "properties": {
      "side": {
       "enum": [
        "LONG",
        "SHORT"
       ],
       "type": "string"
      },
      "entry": {
       "type": "number",
       "description": "Entry price (defaults to current perp mark)"
      },
      "symbol": {
       "type": "string",
       "description": "BTC, ETH, SOL, XRP, or ADA"
      },
      "leverage": {
       "type": "number",
       "description": "Leverage to test, e.g. 3"
      },
      "notional": {
       "type": "number",
       "description": "Position notional in USD for funding cost (optional)"
      },
      "horizon_hours": {
       "type": "number",
       "description": "Hours held for funding cost (default: forecast horizon)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "verdict": {
       "enum": [
        "SURVIVES_RANGE",
        "THIN_BUFFER",
        "LIQUIDATION_INSIDE_RANGE",
        "UNKNOWN_RANGE"
       ],
       "type": "string"
      },
      "funding_impact": {
       "type": "object"
      },
      "risk_disclosure": {
       "type": "object"
      },
      "liquidation_price": {
       "type": "number"
      },
      "survives_calibrated_range": {
       "type": "boolean"
      },
      "max_leverage_surviving_range": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-futures-risk-analyzer-105d9239/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from crypto.forgemesh.io](https://www.zero.xyz/host/crypto.forgemesh.io/llms.txt)
