# x402toll Crypto Liquidation Price Calculator

> x402toll Crypto Liquidation Price Calculator is a paid API for AI agents from x402toll.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Calculates the liquidation price and percentage move to liquidation for a leveraged long or short position using isolated margin.

## Facts

- Endpoint: POST https://x402toll.com/v1/crypto/liquidation-price
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402toll-crypto-liquidation-price-calculator-979637fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rp72Oo3ZMjtT-_7kqNW0m

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 x402toll-crypto-liquidation-price-calculator-979637fc -d '<json body>'
```

Example prompt: I opened a 10x leveraged long on ETH at an entry price of $3,200 with a 0.5% maintenance margin rate — what's my liquidation price and how far can it drop before I get wiped out?

## When to prefer this

Use this endpoint when you need a quick, reliable computation of isolated-margin liquidation price and distance for a single crypto leverage position — especially when you already know the entry price, leverage multiple, and side. Prefer this over manual calculation or general finance APIs that don't specialize in crypto derivatives risk math.

## Known failure modes

- Missing required fields (side, leverage, entryPrice) returns a 400-level error
- Invalid side value other than 'long' or 'short' causes validation failure
- Leverage of 0 or negative value may cause division errors or rejection
- Extremely high leverage with very low maintenance margin may return edge-case results
- Network or payment (x402) failures prevent the call from completing

## How this service works

Liquidation price for a leveraged long or short (isolated margin), plus the % move to liquidation.

## Output

Returns the exact liquidation price for the leveraged position and the percentage price move (up or down) that would trigger liquidation, given the entry price, leverage, side, and maintenance margin rate.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "side": {
   "enum": [
    "long",
    "short"
   ],
   "type": "string",
   "default": "long"
  },
  "leverage": {
   "type": "number"
  },
  "entryPrice": {
   "type": "number"
  },
  "maintenanceMarginRatePct": {
   "type": "number",
   "default": 0.5
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402toll-crypto-liquidation-price-calculator-979637fc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402toll.com](https://www.zero.xyz/host/x402toll.com/llms.txt)
