Account Activities
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
Parameters
Path Parameters
Query Parameters
date
.)date
.)asc
or desc
(default desc
if unspecified.)Response
Array of TradeActivity or NonTradeActivity objects[GET] Get account activities of multiple types
Parameters
Query Parameters
Response
Array of TradeActivity and NonTradeActivity objectsTradeActivity Entity
Example
{
"activity_type": "FILL",
"cum_qty": "1",
"id": "20190524113406977::8efc7b9a-8b2b-4000-9955-d36e7db0df74",
"leaves_qty": "0",
"price": "1.63",
"qty": "1",
"side": "buy",
"symbol": "LPCN",
"transaction_time": "2019-05-24T15:34:06.977Z",
"order_id": "904837e3-3b76-47ec-b432-046db621571b",
"type": "fill"
}
Properties
FILL
buy
or sell
fill
or partial_fill
NonTradeActivity Entity
Example
{
"activity_type": "DIV",
"id": "20190801011955195::5f596936-6f23-4cef-bdf1-3806aae57dbf",
"date": "2019-08-01",
"net_amount": "1.02",
"symbol": "T",
"qty": "2",
"per_share_amount": "0.51"
}
Properties
Activity Types
FILL
: Order fills (both partial and full fills)TRANS
: Cash transactions (both CSD and CSW)MISC
: Miscellaneous or rarely used activity types (All types except those in TRANS, DIV, or FILL)ACATC
: ACATS IN/OUT (Cash)ACATS
: ACATS IN/OUT (Securities)CSD
: Cash deposit(+)CSW
: Cash withdrawal(-)DIV
: DividendsDIVCGL
: Dividend (capital gain long term)DIVCGS
: Dividend (capital gain short term)DIVFEE
: Dividend feeDIVFT
: Dividend adjusted (Foreign Tax Withheld)DIVNRA
: Dividend adjusted (NRA Withheld)DIVROC
: Dividend return of capitalDIVTW
: Dividend adjusted (Tefra Withheld)DIVTXEX
: Dividend (tax exempt)INT
: Interest (credit/margin)INTNRA
: Interest adjusted (NRA Withheld)INTTW
: Interest adjusted (Tefra Withheld)JNL
: Journal entryJNLC
: Journal entry (cash)JNLS
: Journal entry (stock)MA
: Merger/AcquisitionNC
: Name changeOPASN
: Option assignmentOPEXP
: Option expirationOPXRC
: Option exercisePTC
: Pass Thru ChargePTR
: Pass Thru RebateREORG
: Reorg CASC
: Symbol changeSSO
: Stock spinoffSSP
: Stock split