orderStatus
post
/info
Request order status.
Body
Request order status.
typeundefined · enumRequiredPossible values:
Type of request.
userstring · min: 42 · max: 42RequiredPattern:
User address.
^0[xX][0-9a-fA-F]+$oidany ofRequired
Order ID or Client Order ID.
integerOptional
string · min: 34 · max: 34OptionalPattern:
^0[xX][0-9a-fA-F]+$Responses
200
Order status response.
- If the order is found, returns detailed order information and its current status.
- If the order is not found, returns a status of "unknownOid".
application/json
Responseany of
Order status response.
- If the order is found, returns detailed order information and its current status.
- If the order is not found, returns a status of "unknownOid".
or
422
Failed to deserialize the JSON body into the target type
text/plain
500
Internal Server Error
application/json
post
/infoPOST /info HTTP/1.1
Host: api.hyperliquid.xyz
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"type": "orderStatus",
"user": "text",
"oid": 1
}{
"status": "order",
"order": {
"order": {
"coin": "text",
"side": "B",
"limitPx": "text",
"sz": "text",
"oid": 1,
"timestamp": 1,
"origSz": "text",
"triggerCondition": "text",
"isTrigger": true,
"triggerPx": "text",
"children": [],
"isPositionTpsl": true,
"reduceOnly": true,
"orderType": "Market",
"tif": "Gtc",
"cloid": "text"
},
"status": "open",
"statusTimestamp": 1
}
}Last updated