logo
Transactions And Reporting

Get transaction history for a user

get
https://api.snaptrade.com/api/v1/activities

Returns activities (transactions) for a user. Specifying start and end date is highly recommended for better performance

Query
userIdstringrequired
SnapTrade User ID
userSecretstringrequired
SnapTrade User Secret (generated when registering user)
startDatestring (format: date)
Date used to specify timeframe for a reporting call (in YYYY-MM-DD format)
endDatestring (format: date)
Date used to specify timeframe for a reporting call (in YYYY-MM-DD format)
accountsstring
Optional comma seperated list of account IDs used to filter the request on specific accounts
brokerageAuthorizationsstring
Optional comma seperated list of brokerage authorization IDs used to filter the request on only accounts that belong to those authorizations
typestring
Optional comma seperated list of types to filter activities by. This is not an exhaustive list, if we fail to match to these types, we will return the raw description from the brokerage. Potential values include - DIVIDEND - BUY - SELL - CONTRIBUTION - WITHDRAWAL - EXTERNAL_ASSET_TRANSFER_IN - EXTERNAL_ASSET_TRANSFER_OUT - INTERNAL_CASH_TRANSFER_IN - INTERNAL_CASH_TRANSFER_OUT - INTERNAL_ASSET_TRANSFER_IN - INTERNAL_ASSET_TRANSFER_OUT - INTEREST - REBATE - GOV_GRANT - TAX - FEE - REI - FXT

Responses

Authorization
Request
Installation
$
npm install snaptrade-typescript-sdk
1
Loading...