Unified REST APITrading

Get Open Orders

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.

GET
/getOpenOrders

Authorization

ApiKeyAuth
X-API-KEY<token>

In: header

Query Parameters

symbols?string

Filter to specific symbols (comma-separated)

orderType?enum<string>

Order type. Note: flip is only available on Kuru (spot DEX).

Flip Order (Kuru only): A flip order places an initial order at price, and when filled, automatically places an opposite-side order at flipPrice. This enables automated take-profit strategies.

Available options: limitmarketstopstop_markettake_profittake_profit_markettrailing_stop_marketflip
side?enum<string>
Available options: buysell
accountId?string

Account identifier for multi-account support. If not specified, uses the default account.

marketType?enum<string>

Optional market type filter. Use "spot" for spot markets or "perp" for perpetual/futures markets.

Available options: spotperp

Response Body

application/json

curl -X GET "https://api.hypereth.io/v2/hyperliquid/getOpenOrders?symbols=BTC%2CETH&accountId=acc_A"
{
  "orders": [
    {
      "id": "1234567890",
      "clientOrderId": "0x1234567890abcdef1234567890abcde0",
      "symbol": "BTC",
      "marketType": "future",
      "side": "buy",
      "type": "limit",
      "status": "open",
      "price": "65000.0",
      "amount": "0.01",
      "filled": "0.005",
      "remaining": "0.005",
      "average": "64950.0",
      "reduceOnly": false,
      "positionSide": "LONG",
      "timeInForce": "GTC",
      "stopPrice": null,
      "createdAt": 1710000000000,
      "updatedAt": 1710000001000,
      "dexProcessedTimestamp": 1710000001000,
      "dexReceivedTimestamp": 1710000001100,
      "hyperethTimestamp": 1710000001100
    },
    {
      "id": "1234567891",
      "clientOrderId": "0x1234567890abcdef1234567890abcde1",
      "symbol": "ETH/USDT",
      "marketType": "future",
      "side": "sell",
      "type": "stop",
      "status": "open",
      "price": "3200.0",
      "amount": "1.0",
      "filled": "0",
      "remaining": "1.0",
      "average": null,
      "reduceOnly": true,
      "positionSide": "SHORT",
      "timeInForce": "GTC",
      "stopPrice": "3250.0",
      "createdAt": 1710000002000,
      "updatedAt": 1710000002000,
      "dexProcessedTimestamp": 1710000002000,
      "dexReceivedTimestamp": 1710000002100,
      "hyperethTimestamp": 1710000002100
    }
  ],
  "total": 2,
  "dataTime": 1710000003000,
  "dexReceivedTimestamp": 1710000002900,
  "hyperethTimestamp": 1710000003000
}