v1
latestOpenAPI 3.0.02026-07-26166415635.8 KBRetrieve Account Activities
Returns a list of activities
Notes:
-
Pagination is handled using the page_token and page_size parameters.
-
page_token represents the ID of the last item on your current page of results. For example, if the ID of the last activity in your first response is 20220203000000000::045b3b8d-c566-4bef-b741-2bf598dd6ae7, you would pass that value as page_token to retrieve the next page of results.
-
If specified with a direction of desc, for example, the results will end before the activity with the specified ID.
-
If specified with a direction of asc, results will begin with the activity immediately after the one specified.
-
page_size is the maximum number of entries to return in the response.
-
If date is not specified, the default and maximum value is 100.
-
If date is specified, the default behavior is to return all results, and there is no maximum page size.
Query parameters
id of a single account to filter by
A comma-separated list of activity types used to filter the results.
The activity category. Cannot be used with "activity_types" parameter.
Filter activities by their creation date (created_at), not the activity's settlement date. For non-trade activities such as fees, the creation date is typically the day after the trade date (in UTC). Both formats YYYY-MM-DD and YYYY-MM-DDTHH:MM:SSZ are supported.
Get activities created before this date. Both formats YYYY-MM-DD and YYYY-MM-DDTHH:MM:SSZ are supported.
Get activities created after this date. Both formats YYYY-MM-DD and YYYY-MM-DDTHH:MM:SSZ are supported.
The chronological order of response based on the submission time. asc or desc. Defaults to desc.
The maximum number of entries to return in the response.
Token used for pagination. Provide the ID of the last activity from the last page to retrieve the next set of results.
Response
Success
Example response
[
{
"account_id": "c8f1ef5d-edc0-4f23-9ee4-378f19cb92a4",
"id": "20220208125959696::88b5f678-fef5-447b-af15-f21e367e6d8c",
"cum_qty": "0.9723",
"leaves_qty": "0.5123",
"order_id": "fe060a1b-5b45-4eba-ba46-c3a3345d8255",
"order_status": "filled",
"price": "3.1415",
"qty": "0.38921",
"side": "buy",
"symbol": "AAPL",
"transaction_time": "2021-05-10T14:01:04.650275Z",
"type": "fill"
}
]