Skip to main content

Send Modify REST API Endpoint

Submit signed batch modify 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

Batch modify action object in wire format (from build-modify response)

type
string

Action type ("batchModify")

modifies
array

Array of order modifications

oid
integer

Order ID to modify

order
object

Modified order parameters in wire format

a
integer

Asset index

b
boolean

Buy side

p
string

New price

s
string

New size

r
boolean

Reduce-only flag

t
object

Order type specification

limit
object

Limit order type

tif
string

Time in force

nonce
integer
REQUIRED

Nonce from build-modify response

signature
object
REQUIRED

Wallet signature

r
string

Signature r value

s
string

Signature s value

v
integer

Signature v value

vaultAddress
string

Optional vault address

expiresAfter
integer

Optional expiration timestamp (ms)

Returns

success
boolean

Whether the modification was successfully submitted

user
string

User address (0x-prefixed hex string)

exchangeResponse
object

Response from Hyperliquid exchange with modification details

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