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

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

Request parameters

No parameters.

Response properties

Response properties
PropertyaccountsTypeComplexDescriptionList of account records.
Property Nested property, level 2. AccountTypeComplexDescription
PropertyNested property, level 3. typeTypeStringDescriptionType of the account (e.g., "Cash", "Margin"). See User Account Type section for all allowed values.
PropertyNested property, level 3. numberTypestringDescriptionEight-digit account number (e.g., "26598145").
PropertyNested property, level 3. statusTypeEnumerationDescriptionStatus of the account (e.g., Active). See Account Status for full list of values.
PropertyNested property, level 3. isPrimaryTypeBooleanDescriptionWhether this is a primary account for the holder.
PropertyNested property, level 3. isBillingTypeBooleanDescriptionWhether this account is one that gets billed for various expenses such as fees, market data, etc.
PropertyNested property, level 3. clientAccountTypeTypeStringDescriptionType of client holding the account (e.g., "Individual"). Seeclient Account Typefor full list of values.
PropertyuserIdTypeIntegerDescriptionInternal identifier of the user making the request.

Sample request

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

Sample JSON response

JSON
{
      "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.

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