HyperliquidHyperliquid REST APIUser data

Get Order Status

Check the current status and details of a specific order.

Rate Limit: 20 weight

POST
/v1/info/orderStatus

Request Body

application/json

type*enum<string>required

Request type identifier

Available options: orderStatus
user*stringrequired

User's Ethereum address

oid*objectrequired

Order ID (numeric) or client order ID (string)

Example: 127244980388

Response Body

application/json

application/json

curl -X POST "https://api.hypereth.io/v1/info/orderStatus" \  -H "Content-Type: application/json" \  -d '{    "type": "orderStatus",    "user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",    "oid": 127244980388  }'
{
  "status": "order",
  "order": {
    "order": {
      "coin": "BTC",
      "side": "A",
      "limitPx": "43250.0",
      "sz": "0.5",
      "oid": 127244980388,
      "timestamp": 1681923833000,
      "origSz": "1.0",
      "cloid": "my_order_001"
    },
    "status": "open",
    "statusTimestamp": 0
  }
}
{
  "error": "Insufficient margin for order placement",
  "code": 1001,
  "details": {}
}