HyperliquidHyperliquid REST APIUser data

Get Open Orders

Returns all currently active orders for a user across all markets.

Rate Limit: 20 weight

POST
/v1/info/openOrders

Request Body

application/json

type*enum<string>required

Request type identifier

Available options: openOrders
user*stringrequired

User's Ethereum address

Example: 0x31ca8395cf837de08b24da3f660e77761dfb974b
dex?stringdefault: ""

Perp dex name for multi-dex support

Response Body

application/json

application/json

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