---
title: "GET /orders/{orderId}"
method: GET
path: "/orders/{orderId}"
---

# GET /orders/{orderId}

`GET /orders/{orderId}`

## Path parameters

- `orderId` string, required

## Response `200`

Ok

- OrderResponseObject
  - `id` string, required
  - `subaccountId` string, required
  - `clientId` string, required
  - `clobPairId` string, required
  - `side` 'BUY' | 'SELL', required
  - `size` string, required
  - `totalFilled` string, required
  - `price` string, required
  - `type` 'LIMIT' | 'MARKET' | 'STOP_LIMIT' | 'STOP_MARKET' | 'TRAILING_STOP' | 'TAKE_PROFIT' | 'TAKE_PROFIT_MARKET' | 'TWAP' | 'TWAP_SUBORDER', required
  - `reduceOnly` boolean, required
  - `orderFlags` string, required
  - `goodTilBlock` string
  - `goodTilBlockTime` string
  - `createdAtHeight` string
  - `clientMetadata` string, required
  - `triggerPrice` string
  - `builderAddress` string
  - `feePpm` string
  - `orderRouterAddress` string
  - `duration` string
  - `interval` string
  - `priceTolerance` string
  - `timeInForce` 'GTT' | 'FOK' | 'IOC', required
  - `status` union, required
    - 'OPEN' | 'FILLED' | 'CANCELED' | 'BEST_EFFORT_CANCELED' | 'UNTRIGGERED' | 'ERROR'
    - 'BEST_EFFORT_OPENED'
  - `postOnly` boolean, required
  - `ticker` string, required
  - `updatedAt` string
  - `updatedAtHeight` string
  - `subaccountNumber` integer, required

## Changes

- **2025-08-13** `bb4c0d2cb346` — 3 warning, 3 info
  - added the new `ERROR` enum value to the `status/anyOf[#/components/schemas/OrderStatus]/` response property for the response status `200`
  - added the new `TWAP` enum value to the `type` response property for the response status `200`
  - added the new `TWAP_SUBORDER` enum value to the `type` response property for the response status `200`
  - added the optional property `duration` to the response with the `200` status
  - …2 more
- **2025-08-04** `bc604aa08d39` — 1 info
  - added the optional property `orderRouterAddress` to the response with the `200` status
- **2025-06-16** `4394fa410648` — 2 info
  - added the optional property `builderAddress` to the response with the `200` status
  - added the optional property `feePpm` to the response with the `200` status
- **2024-05-21** `ef610e3b14d0` — 3 info
  - removed the `FAILED_HARD_TRADE` enum value from the `type` response property for the response status `200`
  - removed the `HARD_TRADE` enum value from the `type` response property for the response status `200`
  - removed the `TRANSFER_PLACEHOLDER` enum value from the `type` response property for the response status `200`
- …earlier changes not shown

[Full history](https://skmtc.dev/dydxprotocol/apis/indexer-api/changes/orders/:orderId/get.md)

---

[API](https://skmtc.dev/dydxprotocol/apis/indexer-api.md) · [All operations](https://skmtc.dev/dydxprotocol/apis/indexer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dydxprotocol/indexer-api/revisions/5005547cef75/schema)
