Retrieve Account Activities

GET {{baseUrl}}/v1/accounts/activities

Returns an array of Activities

Notes: * 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. for example if in your first response the id of the last Activiy item returned in the array was 20220203000000000::045b3b8d-c566-4bef-b741-2bf598dd6ae7, you'd pass that value as page_token to get 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.

Request Params

KeyDatatypeRequiredDescription
account_idstringid of a single account to filter by
datestringBoth formats YYYY-MM-DD and YYYY-MM-DDTHH:MM:SSZ supported.
untilstringBoth formats YYYY-MM-DD and YYYY-MM-DDTHH:MM:SSZ supported.
afterstringBoth formats YYYY-MM-DD and YYYY-MM-DDTHH:MM:SSZ supported. Cannot be used with date.
directionstringThe chronological order of response based on the submission time. asc or desc. Defaults to desc.
page_sizenumberThe maximum number of entries to return in the response
page_tokenstringThe Activity ID of the end of your current page of results.
categorystringThe main activity category to get. Can be one of trade_activity or non_trade_activity.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{"id":"20240322000000000::fc9f8b08-7299-4c0c-bedf-778a641039ac","account_id":"20fbbb71-454f-4c69-a480-01d9e9c6f72f","activity_type":"CSD","date":"2024-03-22","net_amount":"1234.56","description":"","status":"executed"},{"id":"20240227000000000::f5dfa680-eca4-4b67-b812-c2fc5b9d9736","account_id":"e16f66a2-2aaa-345d-b279-37a23d7e694a","activity_type":"CSD","date":"2024-02-27","net_amount":"50000","description":"","status":"executed"}]