Documentation
The Questrade API allows developers to create their own fully featured trading and analytical applications through their brokerage account.
REST operations
GET accounts/:id/balances
Retrieves per-currency and combined balances for a specified account.
Request parameters
| Parameter | Type | Description |
|---|---|---|
| Parameterid | TypeString | DescriptionAccount number. Can occur in the 'location' header only. |
Response properties
| Property | Type | Description |
|---|---|---|
| PropertyperCurrencyBalances | TypeComplex | DescriptionList of account records. |
| PropertyNested property, level 2. Balance | TypeComplex | DescriptionSee below. |
| PropertycombinedBalances | TypeComplex | DescriptionList of Balance records. |
| PropertyNested property, level 2. Balance | TypeComplex | DescriptionSee below. |
| PropertyNested property, level 2. sodPerCurrencyBalances | TypeComplex | DescriptionList of Balance records. |
| PropertyNested property, level 2. Balance | TypeComplex | DescriptionSee below. |
| PropertysodCombinedBalances | TypeComplex | DescriptionList of Balance records. |
| PropertyNested property, level 2. Balance | TypeComplex | Description |
| PropertyNested property, level 3. currency | TypeEnumeration | DescriptionCurrency of the balance figure(e.g., "USD" or "CAD"). See Currency section for all allowed values. |
| PropertyNested property, level 3. cash | TypeDouble | DescriptionBalance amount. |
| PropertyNested property, level 3. marketValue | TypeDouble | DescriptionMarket value of all securities in the account in a given currency. |
| PropertyNested property, level 3. totalEquity | TypeDouble | DescriptionEquity as a difference between cash and marketValue properties. |
| PropertyNested property, level 3. buyingPower | TypeDouble | DescriptionBuying power for that particular currency side of the account. |
| PropertyNested property, level 3. maintenanceExcess | TypeDouble | DescriptionMaintenance excess for that particular side of the account. |
| PropertyNested property, level 3. isRealTime | TypeBoolean | DescriptionWhether real-time data was used to calculate the above values. |
Sample request
GET https://api01.iq.questrade.com/v1/accounts/26598145/balancesSample 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
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.


