Documentation

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

GET accounts/:id/balances

Retrieves per-currency and combined balances for a specified account.

Request parameters

ParameterTypeDescription
id
String
Account number.
Can occur in the 'location' header only.

Response properties

PropertyTypeDescription
perCurrencyBalances
Complex
List of account records.
Balance
Complex
See below.
combinedBalances
Complex
List of Balance records.
Balance
Complex
See below.
sodPerCurrencyBalances
Complex
List of Balance records.
Balance
Complex
See below.
sodCombinedBalances
Complex
List of Balance records.
Balance
Complex
 
currency
Enumeration
Currency of the balance figure(e.g., "USD" or "CAD"). See Currency section for all allowed values.
cash
Double
Balance amount.
marketValue
Double
Market value of all securities in the account in a given currency.
totalEquity
Double
Equity as a difference between cash and marketValue properties.
buyingPower
Double
Buying power for that particular currency side of the account.
maintenanceExcess
Double
Maintenance excess for that particular side of the account.
isRealTime
Boolean
Whether real-time data was used to calculate the above values.

Sample request

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

Sample JSON response

 
 {
     "perCurrencyBalances": [
         {
              "currency": "CAD",
               "cash": 243971.7,
               "marketValue":  6017,
               "totalEquity":  249988.7,
               "buyingPower": 496367.2,
               "maintenanceExcess": 248183.6,
              "isRealTime": false
         },
         {
              "currency": "USD",
              "cash": 198259.05,
              "marketValue":  53745,
              "totalEquity":  252004.05,
              "buyingPower":  461013.3,
              "maintenanceExcess":  230506.65,
             "isRealTime": false
          }
     ],
         "combinedBalances": [
                 ...
     ],
         "sodPerCurrencyBalances": [
                 ...
     ],
        "sodCombinedBalances": [
                 ...
     ]
 }
   

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