info endpoint with type: "liquidatable" checks whether a user’s positions are currently at risk of liquidation on the Hyperliquid exchange. This endpoint provides critical risk management information including liquidation status, leverage ratios, margin usage, and account health metrics.
type (string, required) — The request type. Must be "liquidatable" to check user’s liquidation status.user (string, required) — Address in 42-character hexadecimal format (e.g., 0x31ca8395cf837de08b24da3f660e77761dfb974b).liquidatable (boolean) — Whether the user’s positions are currently liquidatable:
true — Positions are at risk and may be liquidatedfalse — Positions are healthy and not at liquidation riskleverage (string) — Current effective leverage ratio of the user’s positionsmarginUsed (string) — Amount of margin currently used for open positionsmarginRemaining (string) — Amount of available margin before liquidation thresholdaccountValue (string) — Total account value including unrealized profit and losstotalRawUsd (string) — Total raw USD value of the account before adjustmentstotalNtlPos (string) — Total notional position value across all assetsliquidatable: false with sufficient margin remainingliquidatable: true indicating immediate liquidation dangerinfo endpoint with type: "liquidatable" is essential for trading applications that need to:
Liquidation status information for the user
Information about user's liquidation status and risk metrics
Whether the user's positions are currently liquidatable
Current leverage ratio of the user's positions
Amount of margin currently used
Amount of margin remaining before liquidation
Total account value including unrealized PnL
Total raw USD value of the account
Total notional position value