Skip to content

Get Orders

Use this page to fetch grouped Trading API V3 order snapshots through the REST API.

This is the main REST V3 retrieval page for single orders, multi-order items, and strategy orders. Use it to review grouped order state after create, modify, or cancel requests.

Use the same retrieval endpoint for:

  • single orders
  • independent multi-order items
  • strategy orders

For strategy orders created with isMultiLeg: true, Trading API V3 returns one strategy-level order with isMulti: true and a non-empty legs list.

Endpoint

Method: GET
Endpoint: sentinel/orders

Basic Usage

curl --location 'https://uatapi.nubra.io/sentinel/orders' \
--header 'Authorization: Bearer {{session_token}}' \
--header 'x-device-id: {{x_device_id}}' \
--header 'x-app-version: 0.4.5' \
--header 'x-device-os: sdk' \
--header 'Cookie: deviceId={{x_device_id}}'

Response Shape

{
  "orders": {
    "open": [
      {
        "intentOrderId": 9979,
        "exchange": "NSE",
        "status": "OPEN",
        "orderPrice": 127000,
        "timestamps": {
          "intentCreatedAt": "2026-06-15T09:36:41.321238924Z",
          "sentToColoAt": "2026-06-15T09:36:41.329677462Z"
        },
        "intentOrderType": "REGULAR"
      }
    ],
    "cancelled": [
      {
        "intentOrderId": 9972,
        "exchange": "NSE",
        "status": "CANCELLED",
        "orderPrice": 127500,
        "timestamps": {
          "intentCreatedAt": "2026-06-15T09:26:31.228469923Z",
          "sentToColoAt": "2026-06-15T09:27:27.301932449Z",
          "cancelledAt": "2026-06-15T09:27:31.295763424Z",
          "lastModifiedAt": "2026-06-15T09:27:26.29550221Z",
          "lastUpdatedAt": "2026-06-15T09:27:31.295763424Z"
        },
        "intentOrderType": "REGULAR"
      }
    ],
    "executed": [],
    "rejected": [],
    "gtt": []
  }
}

Response Notes

  • orders are grouped by status bucket instead of being returned as one flat list
  • common buckets include open, cancelled, executed, rejected, and gtt
  • each order object contains the normalized V3 order model
  • strategy orders still appear as one strategy-level order row; inspect isMulti, legs, orderQty, and intentOrderType inside that grouped response
  • use the gtt bucket when validating good-till orders returned by the API

Use GET sentinel/orders for:

  • checking whether create requests were accepted
  • verifying whether modify requests actually changed orderPrice
  • inspecting lastModifiedAt, cancelledAt, and lastUpdatedAt
  • locating a specific order by filtering on intentOrderId in the returned buckets
  • checking whether a strategy order is still open as one grouped order or has progressed to later lifecycle states
NEO Assistant