Get Account Activities of One Type

GET {{baseUrl}}/v2/account/activities/:activity_type

Returns account activity entries for a specific type of activity.

Request Params

KeyDatatypeRequiredDescription
datestringThe date for which you want to see activities.
untilstringThe response will contain only activities submitted before this date. (Cannot be used with date.)
afterstringThe response will contain only activities submitted after this date. (Cannot be used with date.)
directionstringasc or desc (default desc if unspecified.)
page_sizenullThe maximum number of entries to return in the response. (See the section on paging above.)
page_tokennullThe ID of the end of your current page of results.
categorynulltrade_activity or non_trade_activity, to specify the kind of results the server should return. (Cannot be used with /{activity_type} or ?activity_types=...)

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Apca-Api-Key-Idstring
Apca-Api-Secret-Keystring

RESPONSES

status: OK

[{"activity_type":"CSD","id":"pariatur do","cum_qty":"ut ad magna","leaves_qty":"veniam laboris proident","price":"aliquip incididunt in","qty":"aute dolore","side":"officia","symbol":"AAPL","transaction_time":"2018-11-26T22:29:26.729Z","order_id":"urn:uuid:288fa4b7-208b-de24-532d-30692ba23348","type":"fill","order_status":"new"}]