Skip to main content

Open Orders REST API Endpoint

Returns enriched open orders with pre-built cancel actions for a user address.

Updated on
May 19, 2026
info

Exchange API calls do not consume Quicknode API credits. If you are on a free trial plan, see hyperliquidapi.com for your URL and fee schedule. To white-label with your own builder code, contact us.


Body Parameters

user
string
REQUIRED

User address (0x...) to query open orders

Returns

orders
array

Array of open order objects

coin
string

Asset name (e.g., "BTC", "ETH")

side
string

Order side ("B" for buy, "A" for ask/sell)

limitPx
string

Limit price as a stringified number

sz
string

Order size/quantity as a stringified number

oid
integer

Order ID

timestamp
integer

Order creation timestamp in milliseconds

triggerCondition
string

Trigger condition ("N/A" if not a trigger order)

isTrigger
boolean

Whether this is a trigger order

triggerPx
string

Trigger price as a stringified number ("0.0" if not a trigger order)

children
array

Array of child orders (for TP/SL orders)

isPositionTpsl
boolean

Whether this is a position-level TP/SL order

reduceOnly
boolean

Whether this is a reduce-only order

orderType
string

Order type (e.g., "Limit", "Market")

origSz
string

Original order size as a stringified number

tif
string

Time in force ("Alo", "Gtc", "Ioc")

cloid
string

Client order ID as a 0x-prefixed hex string

asset
integer

Asset index (0 for BTC, 1 for ETH, etc.)

name
string

Asset name (same as coin)

isSpot
boolean

Whether this is a spot market order

count
integer

Total number of open orders

cancelActions
object

Pre-built cancel actions for convenience

all
object

Cancel action to cancel all orders

type
string

Action type ("cancel")

cancels
array

Array of all orders to cancel

a
integer

Asset index

o
integer

Order ID

byAsset
object

Cancel actions grouped by asset name (e.g., { "BTC": { type: "cancel", cancels: [...] } })

hint
string

Usage hint: Pass any cancelActions entry as the action in POST /exchange (no signature) to build a cancel hash

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free