Skip to main content

Documentation Index

Fetch the complete documentation index at: https://staging-docs.orderly.network/llms.txt

Use this file to discover all available pages before exploring further.

Open and partially-filled orders for an address. Combines top-level ordinary and algo orders into a single sorted stream. Weight: 5

Request

{
  "type": "openOrders",
  "address": "0x1234567890abcdef1234567890abcdef12345678",
  "symbol": "PERP_ETH_USDC",
  "limit": 100
}
FieldTypeRequiredDefaultNotes
addressstringYesWallet address
broker_idstringNoOptional
account_idstringNoOptional
symbolstringNoSymbol filter
limitintNo1001..500
cursorstringNoOpaque cursor

Response

FieldTypeNotes
order_idstring64-bit integer encoded as string
sidestringBUY / SELL / BOTH
typestringSee historicalOrders for the full enum
pricestring | nullnull for MARKET or trigger-without-price algo orders
trigger_pricestring | nullAlgo orders only
trigger_statusstring | nullPENDING / TRIGGERED / FAILED; null for ordinary orders or USELESS status
statusstringAlways "OPEN" for this endpoint
reduce_onlybool | nullAlgo orders only

Notes

  • Sort: (created_time DESC, order_id DESC); cursor compares (ts, id) lexicographically
{
  "success": true,
  "data": {
    "rows": [
      {
        "order_id": "123456789",
        "symbol": "PERP_ETH_USDC",
        "side": "BUY",
        "type": "STOP_MARKET",
        "price": null,
        "quantity": "1.5",
        "total_executed_quantity": "0.0",
        "trigger_price": "2450.00",
        "trigger_status": "PENDING",
        "status": "OPEN",
        "reduce_only": false,
        "created_time": 1715000000000,
        "updated_time": 1715001000000
      }
    ],
    "next_cursor": "eyJsYXN0X3RzIjoxNzE1MDAwMDAwMDAwLCJsYXN0X2lkIjoxMjM0NTZ9"
  },
  "ts": 1779269143700
}