Documentation
The Questrade API allows developers to create their own fully featured trading and analytical applications through their brokerage account.
REST operations
GET markets/quotes/:id
Retrieves a single Level 1 market data quote for one or more symbols.
IMPORTANT NOTE: Questrade user needs to be subscribed to a real-time data package, to receive market quotes in real-time, otherwise call to get quote is considered snap quote and limit per market can be quickly reached. Without real-time data package, once limit is reached, the response will return delayed data. (Please check "delay" parameter in response always)
Request parameters
| Parameter | Type | Description |
|---|---|---|
| Parameterid | TypeInteger | DescriptionInternal symbol identifier. Can occur in the ‘location’ header only. Mutually exclusive with ‘ids’ parameter. |
| Parameterids | TypeComplex | DescriptionComma-separated list of symbol ids. |
| ParameterNested property, level 2. id | TypeString | DescriptionInternal symbol identifier. |
Response properties
| Property | Type | Description |
|---|---|---|
| Propertyquotes | TypeComplex | DescriptionList of Quote records. |
| PropertyNested property, level 2. Quote | TypeComplex | Description |
| PropertyNested property, level 3. symbol | TypeString | DescriptionSymbol name following Questrade’s symbology. |
| PropertyNested property, level 3. symbolId | TypeInteger | DescriptionInternal symbol identifier. |
| PropertyNested property, level 3. tier | TypeEnumeration | DescriptionMarket tier. |
| PropertyNested property, level 3. bidPrice | TypeDouble | DescriptionBid price. |
| PropertyNested property, level 3. bidSize | TypeInteger | DescriptionBid quantity. |
| PropertyNested property, level 3. askPrice | TypeDouble | DescriptionAsk price. |
| PropertyNested property, level 3. askSize | TypeInteger | DescriptionAsk quantity. |
| PropertyNested property, level 3. astTradeTrHrs | TypeDouble | DescriptionPrice of the last trade during regular trade hours. |
| PropertyNested property, level 3. lastTradePrice | TypeDouble | DescriptionPrice of the last trade. |
| PropertyNested property, level 3. lastTradeSize | TypeInteger | DescriptionQuantity of the last trade. |
| PropertyNested property, level 3. lastTradeTick | TypeEnumeration | DescriptionTrade direction. See Tick Type section for all allowed values. |
| PropertyNested property, level 3. volume | TypeInteger | DescriptionVolume. |
| PropertyNested property, level 3. openPrice | TypeDouble | DescriptionOpening trade price. |
| PropertyNested property, level 3. highPrice | TypeDouble | DescriptionDaily high price. |
| PropertyNested property, level 3. lowPrice | TypeDouble | DescriptionDaily low price. |
| PropertyNested property, level 3. delay | TypeBoolean | DescriptionWhether a quote is delayed (true) or real-time. Please refer to IMPORTANT NOTE section for correct handling |
| PropertyNested property, level 3. isHalted | TypeBoolean | DescriptionWhether trading in the symbol is currently halted. |
Sample request
GET https://api01.iq.questrade.com/v1/markets/quotes/3873Sample request
GET https://api01.iq.questrade.com/v1/markets/quotes?ids=38738,...Sample JSON response
{
"quotes": [
{
"symbol": "THI.TO",
"symbolId": 38738,
"tier": " ",
"bidPrice": 83.65,
"bidSize":6500,
"askPrice": 83.67,
"askSize": 9100,
"lastTradePriceTrHrs": 83.66,
"lastTradePrice": 83.66,
"lastTradeSize": 3100,
"lastTradeTick": "Equal",
"lastTradeTime": "2014-10-24T20:06:40.131000-04:00",
"volume": 80483500,
"openPrice": 83.66,
"highPrice": 83.86,
"lowPrice": 83.66,
"delay": 0,
"isHalted": false
},
...
]
}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.


