Skip to main content

Build Order REST API Endpoint

Build order action (no signature). Accepts human-readable or wire format. Injects builder fee, returns hash to sign.

Updated on
May 19, 2026
info

Exchange API calls do not consume Quicknode API credits. Transactions through this endpoint are appended with a builder fee. See hyperliquidapi.com for a full breakdown. To white-label with your own builder code, contact us.


Body Parameters

action
object
REQUIRED

Order action object

type
string

Action type ("order")

orders
array

Array of order objects

asset
string

Asset name (e.g., "BTC", "HYPE", "xyz:SILVER")

side
string

Order side ("buy" or "sell")

price
string

Limit price (omit for market orders)

size
string

Order size/quantity

tif
string

Time in force: "ioc", "gtc", "alo", or "market"

vaultAddress
string

Optional vault address

priorityFee
integer or string

Optional priority fee rate. The value is interpreted as p / 100000000 of filled notional, so 10000 equals 1 basis point and the maximum is 80000 (8 basis points). Applies only to IOC orders; every order in the action must be IOC or a market-style IOC order. Charged from the undelegated staking HYPE balance (use Build Priority Funding Deposit to fund it). Not supported for HIP-4 orders.

Returns

hash
string

Hash to sign with wallet (0x-prefixed hex string)

nonce
integer

Unique nonce for this action (timestamp in milliseconds)

action
object

Processed action object in wire format with builder fee injected

type
string

Action type ("order")

orders
array

Array of order objects in wire format

a
integer

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

b
boolean

Buy side (true for buy, false for sell)

p
string

Price as a stringified number

s
string

Size/quantity as a stringified number

r
boolean

Reduce-only flag (true for reduce-only orders)

t
object

Order type specification

limit
object

Limit order type

tif
string

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

grouping
string

Order grouping strategy: "na" (Normal Action), "normalTpsl" (Normal with TP/SL), or "positionTpsl" (Position TP/SL)

isSpot
boolean

Whether this is a spot market order

builderFee
string

Builder fee as percentage string (e.g., "0.04%")

builderFeeRaw
integer

Builder fee in basis points (e.g., 40 = 0.04%)

builder
string

Builder address (0x-prefixed hex string)

priorityFee
integer

Priority fee rate, if specified in the request. The value is interpreted as p / 100000000 of filled notional, so 10000 equals 1 basis point and the maximum is 80000 (8 basis points).

nextStep
string

Instructions for next step: sign the hash with private key (ECDSA), then POST /exchange with action, nonce, and signature (r, s, v)

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