Crypto & DeFi

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

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

Payment: x402 ($0.05 USDC on eip155:8453). Call unpaid to receive an HTTP 402 with requirements, then retry with the PAYMENT-SIGNATURE header. Method: long: entry*(1 - 1/L + mmr); short: entry*(1 + 1/L - mmr), L = leverage, mmr = maintenance margin rate

post/v1/crypto/liquidation-price

Request

  • Base URL: (relative, and it does not resolve against the document’s source URL)
  • URL: /v1/crypto/liquidation-price
  • Auth: none declared

Request body

side'long' | 'short'
entryPricenumber required
leveragenumber required
maintenanceMarginRatePctnumber

Response

Verified result + provenance (formula, sources, reproducible SHA-256 hash).

Changes

No recorded changes to this operation across all 1 revision of this API.