Unified REST APITrading
Cancel All Orders
Cancel multiple orders.
Platform Support: Available on hyperliquid, aster, lighter. Not available on kuru.
Authorization
ApiKeyAuth X-API-KEY<token>
In: header
Request Body
application/json
symbol?string
Required for symbol-scoped cancellation
scope?enum<string>default: "symbol"
Available options:
symbolallscheduledTime?integer
Future timestamp for scheduled cancel
cancelScheduled?boolean
Abort scheduled cancel operation
timeInForce?enum<string>default: "immediate"
Available options:
immediatescheduledabort_scheduledResponse Body
application/json
curl -X POST "https://api.hypereth.io/v2/hyperliquid/cancelAllOrders" \ -H "Content-Type: application/json" \ -d '{}'{
"status": "ok",
"canceled": [
"123",
"124",
"125"
],
"message": "3 orders canceled",
"dexReceivedTimestamp": 1710000000900,
"hyperethTimestamp": 1710000001000
}Cancel Order POST
Cancel a specific order. **Important**: You must specify either `orderId` OR `clientOrderId` (not both). **Kuru Flip Orders**: When canceling a flip order on Kuru, set `isFlipOrder: true`.
Get Open Orders GET
Get all open/unfilled orders for the user. **Multi-account support**: Use `accountId` to query a specific account's orders. If not specified, defaults to the primary account.