List account orders
Returns a list of recent orders in the specified account.
Check your API key on the Customer Dashboard billing page to see if you have real-time data access:
- If you do, this endpoint returns real-time data.
- If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the manual refresh endpoint.
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see this guide on how to fix a disabled connection.
Path parameters
Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
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.
defaults to "all"
Number of days in the past to fetch the most recent orders. Defaults to the last 30 days if no value is passed in. Values greater than 90 will be capped at 90.
Response
OK
Example response
[
{
"brokerage_order_id": "66a033fa-da74-4fcf-b527-feefdec9257e",
"brokerage_group_order_id": "1234567890",
"order_role": "TRIGGER",
"universal_symbol": {
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"symbol": "VAB.TO",
"raw_symbol": "VAB",
"description": "VANGUARD CDN AGGREGATE BOND INDEX ETF",
"currency": {
"id": "87b24961-b51e-4db8-9226-f198f6518a89",
"code": "USD",
"name": "US Dollar"
},
"exchange": {
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"code": "TSX",
"mic_code": "XTSE",
"name": "Toronto Stock Exchange",
"timezone": "America/New_York",
"start_time": "09:30:00",
"close_time": "16:00:00",
"suffix": ".TO"
},
"type": {
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"code": "cs",
"description": "Common Stock",
"is_supported": true
},
"figi_code": "BBG000B9XRY4",
"figi_instrument": {
"figi_code": "BBG000B9Y5X2",
"figi_share_class": "BBG001S5N8V8"
},
"currencies": [
{
"id": "87b24961-b51e-4db8-9226-f198f6518a89",
"code": "USD",
"name": "US Dollar"
}
]
},
"option_symbol": {
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"ticker": "AAPL 261218C00240000",
"option_type": "CALL",
"strike_price": 240,
"expiration_date": "2026-12-18",
"underlying_symbol": {
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"symbol": "SPY",
"raw_symbol": "VAB",
"description": "SPDR S&P 500 ETF Trust",
"currency": {
"id": "87b24961-b51e-4db8-9226-f198f6518a89",
"code": "USD",
"name": "US Dollar"
},
"exchange": {
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"code": "ARCX",
"mic_code": "ARCA",
"name": "NYSE ARCA",
"timezone": "America/New_York",
"start_time": "09:30:00",
"close_time": "16:00:00",
"suffix": "None"
},
"type": {
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"code": "cs",
"description": "Common Stock",
"is_supported": true
},
"figi_code": "BBG000B9XRY4",
"figi_instrument": {
"figi_code": "BBG000B9Y5X2",
"figi_share_class": "BBG001S5N8V8"
},
"currencies": [
{
"id": "87b24961-b51e-4db8-9226-f198f6518a89",
"code": "USD",
"name": "US Dollar"
}
]
}
},
"quote_universal_symbol": {
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"symbol": "VAB.TO",
"raw_symbol": "VAB",
"description": "VANGUARD CDN AGGREGATE BOND INDEX ETF",
"currency": {
"id": "87b24961-b51e-4db8-9226-f198f6518a89",
"code": "USD",
"name": "US Dollar"
},
"exchange": {
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"code": "TSX",
"mic_code": "XTSE",
"name": "Toronto Stock Exchange",
"timezone": "America/New_York",
"start_time": "09:30:00",
"close_time": "16:00:00",
"suffix": ".TO"
},
"type": {
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"code": "cs",
"description": "Common Stock",
"is_supported": true
},
"figi_code": "BBG000B9XRY4",
"figi_instrument": {
"figi_code": "BBG000B9Y5X2",
"figi_share_class": "BBG001S5N8V8"
},
"currencies": [
{
"id": "87b24961-b51e-4db8-9226-f198f6518a89",
"code": "USD",
"name": "US Dollar"
}
]
},
"quote_currency": {
"id": "87b24961-b51e-4db8-9226-f198f6518a89",
"code": "USD",
"name": "US Dollar"
},
"total_quantity": "100",
"open_quantity": "10",
"canceled_quantity": "10",
"filled_quantity": "80",
"execution_price": "12.34",
"limit_price": "12.34",
"stop_price": "12.50",
"trailing_stop": {
"amount": "0.60"
},
"order_type": "Market",
"time_placed": "2024-07-30T22:51:49.746270Z",
"time_updated": "2024-08-05T00:05:57.409000Z",
"time_executed": "2024-08-05T00:05:57.409000Z",
"expiry_date": "2024-08-05T00:05:57.409000Z",
"symbol": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"child_brokerage_order_ids": {
"take_profit_order_id": "12345678",
"stop_loss_order_id": "12345678"
}
}
]Changes
Changed in 8 of the 65 revisions of this API.1347
- ○
added the non-success response with the status
503response-non-success-status-added
- ○
- ○
added the non-success response with the status
501response-non-success-status-added
- ○
- ▲
the response property
items/option_symbol/allOf[OptionsSymbol]/underlying_symbol/exchange/allOf[USExchange]/mic_codebecame nullable for the status200response-property-became-nullable
- ▲
the response property
items/quote_universal_symbol/allOf[UniversalSymbol]/exchange/allOf[Exchange]/mic_codebecame nullable for the status200response-property-became-nullable
- ▲
the response property
items/universal_symbol/allOf[UniversalSymbol]/exchange/allOf[Exchange]/mic_codebecame nullable for the status200response-property-became-nullable
- ▲
- ▲
the response property
items/option_symbolbecame nullable for the status200response-property-became-nullable
- ▲
the response property
items/quote_currencybecame nullable for the status200response-property-became-nullable
- ▲
the response property
items/quote_universal_symbolbecame nullable for the status200response-property-became-nullable
- ▲
the response property
items/universal_symbolbecame nullable for the status200response-property-became-nullable
- ▲
the
items/execution_priceresponse's property type/format changed fromnumber/tostring/decimalfor status200response-property-type-changed
- ▲
the
items/limit_priceresponse's property type/format changed fromnumber/tostring/decimalfor status200response-property-type-changed
- ▲
the
items/stop_priceresponse's property type/format changed fromnumber/tostring/decimalfor status200response-property-type-changed
- ▲
- ●
for the
queryrequest parameterdays, the max was set to90.00request-parameter-max-set
- ●
- ○
added the optional property
items/brokerage_group_order_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/order_roleto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
items/trailing_stopto the response with the200statusresponse-optional-property-added
- ○
- ▲
the
items/execution_priceresponse's property type/format changed fromstring/decimaltonumber/for status200response-property-type-changed
- ▲
the
items/limit_priceresponse's property type/format changed fromstring/decimaltonumber/for status200response-property-type-changed
- ▲
the
items/stop_priceresponse's property type/format changed fromstring/decimaltonumber/for status200response-property-type-changed
- ●
removed the optional property
items/brokerage_group_order_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/order_rolefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/trailing_stopfrom the response with the200statusresponse-optional-property-removed
- ○
removed the non-success response with the status
501response-non-success-status-removed
- ○
removed the non-success response with the status
503response-non-success-status-removed
This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲