The account activities API provides access to a historical record of transaction activities that have impacted your account. Trade execution activities and non-trade activities, such as dividend payments, are both reported through this endpoint. See the bottom of this page for a full list of the types of activities that may be reported.
Paging of Results
Pagination is handled using the page_token and page_size parameters. page_token represents the ID of the end of your current 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.
[GET] Get account activities of one type
GET/v2/account/activities/{activity_type}
Returns account activity entries for a specific type of activity.
Parameters
Path Parameters
activity_type
string
The activity type you want to view entries for. A list of valid activity types can be found at the bottom of this page.
Query Parameters
date
string<timestamp>
The date for which you want to see activities.
until
string<timestamp>
The response will contain only activities submitted before this date. (Cannot be used with date.)
after
string<timestamp>
The response will contain only activities submitted after this date. (Cannot be used with date.)
direction
string
asc or desc (default desc if unspecified.)
page_size
int
The maximum number of entries to return in the response. (See the section on paging above.)
page_token
string
The ID of the end of your current page of results. (See the section on paging above.)