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
- userstringREQUIRED
User address (0x...) to query open orders
Returns
- ordersarray
Array of open order objects
- coinstring
Asset name (e.g., "BTC", "ETH")
- sidestring
Order side ("B" for buy, "A" for ask/sell)
- limitPxstring
Limit price as a stringified number
- szstring
Order size/quantity as a stringified number
- oidinteger
Order ID
- timestampinteger
Order creation timestamp in milliseconds
- triggerConditionstring
Trigger condition ("N/A" if not a trigger order)
- isTriggerboolean
Whether this is a trigger order
- triggerPxstring
Trigger price as a stringified number ("0.0" if not a trigger order)
- childrenarray
Array of child orders (for TP/SL orders)
- isPositionTpslboolean
Whether this is a position-level TP/SL order
- reduceOnlyboolean
Whether this is a reduce-only order
- orderTypestring
Order type (e.g., "Limit", "Market")
- origSzstring
Original order size as a stringified number
- tifstring
Time in force ("Alo", "Gtc", "Ioc")
- cloidstring
Client order ID as a 0x-prefixed hex string
- assetinteger
Asset index (0 for BTC, 1 for ETH, etc.)
- namestring
Asset name (same as coin)
- isSpotboolean
Whether this is a spot market order
- countinteger
Total number of open orders
- cancelActionsobject
Pre-built cancel actions for convenience
- allobject
Cancel action to cancel all orders
- typestring
Action type ("cancel")
- cancelsarray
Array of all orders to cancel
- ainteger
Asset index
- ointeger
Order ID
- byAssetobject
Cancel actions grouped by asset name (e.g., { "BTC": { type: "cancel", cancels: [...] } })
- hintstring
Usage hint: Pass any cancelActions entry as the action in POST /exchange (no signature) to build a cancel hash