# Delx Commerce — Liquidation Cascade Steps Calculator

> Delx Commerce — Liquidation Cascade Steps Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes a sequence of liquidation price levels across multiple leverage steps for a leveraged trading position.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/liq-cascade-steps?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-liquidation-cascade-steps-calculator-13a7e009
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mh6HhNgGT4r8STpRmIZTU

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 delx-commerce-liquidation-cascade-steps-calculator-13a7e009 -d '<json body>'
```

Example prompt: I entered a long position at $1500 with 10x leverage and a 0.5% maintenance margin — can you calculate a 5-step liquidation cascade so I can see how my liq price shifts as leverage steps down?

## When to prefer this

Use this endpoint when you need a structured, multi-step breakdown of liquidation prices across decreasing leverage levels for a long futures or perpetual position. It is ideal for risk dashboards, trading bots setting cascaded stop-alerts, or agents helping users understand deleverage risk without requiring signup or subscription.

## Known failure modes

- Missing required fields (entry, steps, leverage, maintenance) return a 400 error
- Invalid leverage values (e.g. zero or negative) may cause computation errors
- Non-integer step counts may be rejected or truncated
- Payment failure via x402 protocol returns a 402 response before computation occurs

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON array of cascade steps, each containing the step index, the effective leverage at that step, and the approximate liquidation price for a long position. The schema tag 'delx/util-liq-cascade-steps/v1' is included for verifiability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "entry": {
   "type": "number",
   "description": "Entry price of the position"
  },
  "steps": {
   "type": "integer",
   "description": "Number of cascade steps to emit"
  },
  "leverage": {
   "type": "number",
   "description": "Position leverage multiplier"
  },
  "maintenance": {
   "type": "number",
   "description": "Maintenance margin fraction"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "steps": [
   {
    "step": 1,
    "leverage": 10,
    "liq_price_long_approx": 90.5
   },
   {
    "step": 2,
    "leverage": 5,
    "liq_price_long_approx": 80.5
   },
   {
    "step": 3,
    "leverage": 3.333333333333333,
    "liq_price_long_approx": 70.5
   }
  ],
  "schema": "delx/util-liq-cascade-steps/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-liquidation-cascade-steps-calculator-13a7e009/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
