Young man smiling

Documentation

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

GET accounts

Retrieves the accounts associated with the user on behalf of which the API client is authorized.

Request parameters

No parameters.

Response properties

PropertyTypeDescription
accounts
Complex
List of account records.
Account
Complex
 
type
String
Type of the account (e.g., "Cash", "Margin"). See User Account Type section for all allowed values.
number
string
Eight-digit account number (e.g., "26598145").
status
Enumeration
Status of the account (e.g., Active). See Account Status for full list of values.
isPrimary
Boolean
Whether this is a primary account for the holder.
isBilling
Boolean
Whether this account is one that gets billed for various expenses such as fees, market data, etc.
clientAccountType
String
Type of client holding the account (e.g., "Individual"). See client Account Type for full list of values.
userId
Integer
Internal identifier of the user making the request.

Sample request

 
GET https://api01.iq.questrade.com/v1/accounts

Sample JSON response

 
 {
      "accounts": [
          {
              "type": "Margin",
              "number": "26598145",
              "status": "Active",
              "isPrimary": true,
              "isBilling": true,
              "clientAccountType": "Individual"
          }
      ]
 }
   
   

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.

Get Started

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.

Get Started

Start a free trial

Try out the features of your application in a simulated environment without affecting your real positions.

Get Started
See All