Skip to main content
GET
Hyperliquid position health
Template perp.hyperliquid.positionHealth@1 · Perps · Hyperliquid · reads Web API
Carry these notices when you show or pass the value on:
  • Source: Hyperliquid public info API (api.hyperliquid.xyz), values as published. Hyperliquid does not endorse this republication. Oracle and mark prices are derived by Hyperliquid’s validators from other exchanges’ prices; markets on HIP-3 dexes are run by their deployers, who set their own oracle prices.

Authorizations

Authorization
string
header
required

Session token from POST /v1/session (sign in with the subscription owner's or a delegate's wallet). Each value uses one round of the plan's quota.

Query Parameters

user
string
required

the account's address (0x and 40 hex digits)

dex
enum<string>
default:core

core (Hyperliquid's own perps) or a HIP-3 dex: xyz, io; each dex margins its positions separately

Available options:
core,
io,
xyz
coin
string
required

the coin of the position as Hyperliquid names it on that dex (BTC, ETH, kPEPE; NVDA on xyz), 1-20 letters and digits

field
enum<string>
default:marginRatio

marginRatio (cross maintenance margin / cross account value; liquidation at 1) or liquidationPrice (the coin's mark price at which the position is liquidated)

Available options:
marginRatio,
liquidationPrice
signaturesRequired
integer
default:3

Signatures the round needs (default 3). Tolerance-mode sources need at least 3; the gateway bounds it by the protocol minimum, your plan and the live nodes.

Required range: 1 <= x <= 255

Response

The threshold-signed value (data.attestation) and its rendering (data.value); Molpha-Source-Id names the derived source.

data
object
status
string
Example:

"completed"