New Customer Offer: Pay 0% interest for up to six months on $5K USD when you join Questrade with code 0MARGIN. Open a new margin account.

Documentation

The Questrade API allows developers to create their own fully featured trading and analytical applications through their brokerage account.

GET accounts/:id/activities

Retrieve account activities, including cash transactions, dividends, trades, etc.

Request parameters

Request parameters
NameidTypeStringDefaultDescriptionThe account number
NamestartTimeTypeDateTimeDefaultDescriptionThe start time of the interval to retrieve orders
NameendTimeTypeDateTimeDefaultDescriptionThe end time of the interval to retrieve orders

Response properties

Response properties
PropertyactivitiesTypeArrayDescriptionArray of activity records
PropertyAccountActivityTypeComplexDescription
PropertyNested property, level 2. tradeDateTypeDateTimeDescriptionTrade date
PropertyNested property, level 2. transactionDateTypeDateTimeDescriptionTransaction date
PropertyNested property, level 2. settlementDateTypeDateTimeDescriptionSettlement date
PropertyNested property, level 2. actionTypeStringDescriptionActivity action
PropertyNested property, level 2. symbolTypeStringDescriptionSymbol name
PropertyNested property, level 2. symbolIdTypeuint64DescriptionSymbol ID
PropertyNested property, level 2. descriptionTypeStringDescriptionDescription
PropertyNested property, level 2. currencyTypeEnumerationDescriptionCurrency
PropertyNested property, level 2. quantityTypeDoubleDescriptionThe quantity
PropertyNested property, level 2. priceTypeDoubleDescriptionThe price
PropertyNested property, level 2. grossAmountTypeDoubleDescriptionGross amount
PropertyNested property, level 2. commissionTypeDoubleDescriptionThe commission
PropertyNested property, level 2. netAmountTypeDoubleDescriptionNet Amount
PropertyNested property, level 2. typeTypeStringDescriptionActivity Type

Maximum 31 days of data can be requested at a time.

Sample request

HTTP
GET https://api01.iq.questrade.com/v1/accounts/26598145/activities?startTime=2011-02-01T00:00:00-05:00&endTime=2011-02-28T00:00:00-05:00&

Sample response:

JSON
{
   "activities": [
        {
           "tradeDate": "2011-02-16T00:00:00.000000-05:00",
           "transactionDate": "2011-02-16T00:00:00.000000-05:00",
           "settlementDate":  "2011-02-16T00:00:00.000000-05:00",
           "action": "",
           "symbol":  "",
           "symbolId": 0,
           "description": "INT FR 02/04 THRU02/15@ 4 3/4%BAL 205,006 AVBAL 204,966",
           "currency": "USD",
           "quantity": 0,
           "price":  0,
           "grossAmount":  0,
           "commission":  0,
           "netAmount": -320.08,
           "type": "Interest"      
         },
              ...
      ]
 }

Already a Questrade client?

Create your first application using your Questrade account.

Integrate your application with Questrade API

Support

Report an issue

Have questions about Questrade's API? Tell us how we can help, send us an email.

Request a feature

We want your ideas on how we can improve our API. If you have a suggestion for a minor tweak, a major overhaul, or something brand new, please share it with us.

If you are using an api app developed by a third party, you are required to read, understand and accept the end-user license agreement for application program interface. If you are utilizing api access for an api-enabled app you built, you are required to read, understand and accept the Questrade personal application program interface ("api") license agreement ("license agreement"). This agreement can be found below. You may be bound by both agreements.

See All