Skip to main content

Send Order REST API Endpoint

Submit signed order action to the exchange.

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.

This endpoint is not a drop-in replacement for Hyperliquid's native /exchange endpoint. See the Exchange API Overview for key differences.


Body Parameters

action
object
REQUIRED

Order action object in wire format (from build-order or build-market-order response)

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

t
object

Order type specification

limit
object

Limit order type

tif
string

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

grouping
string or object

Order grouping strategy ("na", "normalTpsl", "positionTpsl"). When a priority fee is requested, the build response returns grouping as an object of the form { "p": 12345 }. Send the action exactly as returned by the build step. HIP-4 signed actions use grouping "na".

nonce
integer
REQUIRED

Nonce from build-order response (timestamp in milliseconds)

signature
object
REQUIRED

ECDSA signature of the hash

r
string

Signature r value (0x-prefixed hex string)

s
string

Signature s value (0x-prefixed hex string)

v
integer

Signature v value (27 or 28)

vaultAddress
string

Optional vault address

expiresAfter
integer

Optional expiration timestamp (ms)

slippage
number

Optional slippage tolerance

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. When the build response already includes grouping as an object { p }, any priorityFee sent must equal action.grouping.p.

Returns

success
boolean

Whether the order was successfully submitted

user
string

User address (0x-prefixed hex string)

exchangeResponse
object

Response from Hyperliquid exchange with order details

orders
array

Optional. Summary of each submitted order, including asset information, side, price, size, status, oid, and fill details when present.

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