Skip to main content
POST
openOrders | Hyperliquid Info API

Credit Cost

1 per call

Processing

Realtime
The Hyperliquid info endpoint with type: "openOrders" is used to list a user’s resting open orders.
Estimate your monthly cost for this API using the Pricing Calculator.
  • Wire-equal to POST api.hyperliquid.xyz/info with {"type": "openOrders", "user": "..."}.
  • For orders enriched with trigger metadata, TP/SL flags, and the human-readable order type shown in the Hyperliquid web UI, use frontendOpenOrders instead.
  • The optional dex field scopes the query to a HIP-3 builder DEX; the empty string (default) returns orders on the canonical Hyperliquid perp DEX.
  • For a real-time stream of order placement and cancellation events, subscribe to walletTxs.
Returns a single user’s currently resting open orders as compact rows: coin, side, limit price, remaining size, order id, placement timestamp, original size, and client order id. This is the lightweight variant - reach for frontendOpenOrders when you also need trigger conditions, reduce-only / position-TP-SL flags, and the human-readable order type. User-keyed. Updated on every order placement, cancellation, or fill.

Endpoint

Request

string
required
Always "openOrders".
string
required
The wallet address (lowercase 0x-prefixed hex).
string
HIP-3 builder DEX identifier. Empty string (default) returns orders on the canonical Hyperliquid perp DEX.

Example

Response

An array of open-order objects. Empty when the user has no resting orders.

Field descriptions

limitPx, sz, and origSz are returned as decimal strings, preserving upstream precision. Do not parse them as floats.
string
Asset symbol - e.g. "BTC", "UNI" for perps; spot pairs use the @N form.
string
"B" for buy/long, "A" for ask/short.
string
Limit price.
string
Remaining (unfilled) order size.
int
Numeric order ID.
int
Order placement time in milliseconds since Unix epoch.
string
Original order size before any partial fills.
string | null
Client order ID set at placement, or null when none was provided.
Last reviewed: 2026-07-24