Get Order by ID
GET {{baseUrl}}/v2/orders/:order_id
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
nested | boolean | If true, the result will roll up multi-leg orders under the legs field of primary order. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Apca-Api-Key-Id | string | ||
Apca-Api-Secret-Key | string |
RESPONSES
status: OK
{"id":"d27f7175-073d-455d-a95d-89f43bb3ab77","client_order_id":"ab7dcbfb-f862-4145-b5e0-27d1b562f5f4","created_at":"2024-03-22T20:38:24.849157813Z","updated_at":"2024-03-22T20:38:24.849157813Z","submitted_at":"2024-03-22T20:38:24.848207033Z","filled_at":null,"expired_at":null,"canceled_at":null,"failed_at":null,"replaced_at":null,"replaced_by":null,"replaces":null,"asset_id":"b0b6dd9d-8b9b-48a9-ba46-b9d54906e415","symbol":"AAPL","asset_class":"us_equity","notional":null,"qty":"2","filled_qty":"0","filled_avg_price":null,"order_class":"","order_type":"limit","type":"limit","side":"buy","time_in_force":"gtc","limit_price":"150","stop_price":null,"status":"accepted","extended_hours":false,"legs":null,"trail_percent":null,"trail_price":null,"hwm":null,"subtag":null,"source":null}