Get account order detail (V2)
Returns the detail of a single order using the brokerage order ID provided as a path parameter.
The V2 order response format includes all legs of the order in the legs list field. If the order is single legged, legs will be a list of one leg.
This endpoint is always realtime and does not rely on cached data.
This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
Path parameters
Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
Query parameters
SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
SnapTrade User Secret. This is a randomly generated string and should be stored securely. If compromised, please rotate it via the rotate user secret endpoint.
Response
OK
Example response
{
"brokerage_order_id": "66a033fa-da74-4fcf-b527-feefdec9257e",
"brokerage_group_order_id": "1234567890",
"order_role": "TRIGGER",
"order_type": "MARKET",
"time_in_force": "DAY",
"time_placed": "2024-07-30T22:51:49.746270Z",
"time_executed": "2024-08-05T00:05:57.409000Z",
"quote_currency": "USD",
"execution_price": "12.34",
"limit_price": "12.34",
"stop_price": "12.50",
"trailing_stop": {
"amount": "0.60"
},
"legs": [
{
"instrument": {
"symbol": "AAPL",
"description": "Apple Inc.",
"asset_type": "EQUITY",
"exchange_mic_code": "XNAS",
"figi_code": "BBG000B9XRY4"
},
"execution_price": "12.34",
"total_quantity": "10",
"canceled_quantity": "1",
"filled_quantity": "9"
}
]
}