Orders

Cancel a pending order

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
orderIdstring Β· uuidRequired

Order identifier

Responses
chevron-right
200

Order cancelled successfully

application/json
orderIdstring Β· uuidRequired

Order identifier

Example: 550e8400-e29b-41d4-a716-446655440004
statusstringRequired

Order status after cancellation

Example: CANCELLED
cancelledAtstring Β· date-timeRequired

Cancellation timestamp

Example: 2023-07-14T10:35:00Z
delete
/orders/{orderId}/cancel
200

Order cancelled successfully

Cancel a TWAP order and all its pending chunks

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
orderIdstring Β· uuidRequired

TWAP Order identifier

Responses
chevron-right
200

TWAP order cancelled successfully

application/json
orderIdstringRequired

Order identifier that was cancelled

Example: a1b2c3d4e5f67890abcdef1234567890
statusstringRequired

Status of the cancellation operation

Example: CANCELLED
cancelledAtstring Β· date-timeRequired

Cancellation timestamp

Example: 2023-07-14T10:35:00Z
post
/orders/{orderId}/twap/cancel
200

TWAP order cancelled successfully

Get all open orders

get

Retrieve all open orders (LIMIT, TP, SL) for the authenticated user with detailed order information including target ratios and asset allocations

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
200

Open orders retrieved successfully

application/json
orderIdstringRequired

Order identifier

Example: ord-123
addressstringRequired

User wallet address

Example: 0x1234...abcd
clientIdobject Β· nullableRequired

Client identifier

Example: client-123
positionIdobject Β· nullableRequired

Associated position identifier

Example: pos-456
parametersobjectRequired

Order parameters (varies by order type)

Example: {"leverage":3,"usdValue":2000,"reduceOnly":false}
orderTypestring Β· enumRequired

Order type

Example: TRIGGERPossible values:
statusstring Β· enumRequired

Order status

Example: OPENPossible values:
createdAtstring Β· date-timeRequired

Order creation timestamp

Example: 2024-01-01T00:00:00.000Z
updatedAtstring Β· date-timeRequired

Last update timestamp

Example: 2024-01-01T00:00:00.000Z
get
/orders/open

Get TWAP orders with monitoring data

get

Retrieve list of TWAP orders with detailed execution progress, chunk status, and fill information

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
200

TWAP orders with monitoring data retrieved successfully

application/json
orderIdstringRequired

TWAP order identifier

Example: ord-twap-456
positionIdstring Β· nullableRequired

Associated position ID (for close orders)

Example: pos-789
addressstringRequired

User wallet address

Example: 0x1234...abcd
orderTypestringRequired

Order type (TWAP)

Example: TWAP
statusstring Β· enumRequired

Overall order status

Example: EXECUTINGPossible values:
totalUsdValuenumberRequired

Total order value in USD

Example: 5000
filledUsdValuenumberRequired

USD value already filled

Example: 2500
remainingUsdValuenumberRequired

USD value remaining to fill

Example: 2500
twapDurationstringRequired

TWAP duration setting

Example: 4h
twapIntervalSecondsobject Β· nullableOptional

TWAP interval in seconds (effective)

Example: 30
twapChunkUsdValueobject Β· nullableOptional

Base USD value per TWAP chunk

Example: 100
randomizeExecutionbooleanRequired

Whether execution timing is randomized

Example: true
reduceOnlybooleanRequired

Is this a reduce-only order (close position)

Example: false
estimatedCompletionTimestring Β· date-time Β· nullableRequired

Estimated completion time

Example: 2024-01-01T04:00:00.000Z
actualCompletionTimestring Β· date-time Β· nullableRequired

Actual completion time

Example: 2024-01-01T04:02:30.000Z
remainingChunksnumberRequired

Number of chunks remaining to execute

Example: 5
createdAtstring Β· date-timeRequired

Order creation timestamp

Example: 2024-01-01T00:00:00.000Z
updatedAtstring Β· date-timeRequired

Last update timestamp

Example: 2024-01-01T00:30:00.000Z
get
/orders/twap

Execute a spot order

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
assetstringRequired

Asset to buy

Example: USDH
isBuybooleanRequired

To buy/sell Asset

Example: true
amountnumber Β· min: 0.1Required

Asset size to buy

Example: 1.5
Responses
chevron-right
200

Spot order executed successfully

application/json
orderIdstringRequired

Unique identifier for the initial order

Example: a1b2c3d4e5f67890abcdef1234567891
statusstring Β· enumRequired

Current status of the position/order

Example: EXECUTEDPossible values:
createdAtstring Β· date-timeRequired

Creation timestamp

Example: 2023-07-14T10:30:00Z
assetstringRequired

Spot Asset

Example: USDH
hyperliquidResultobjectOptional

Raw response from Hyperliquid

post
/orders/spot
200

Spot order executed successfully

Last updated