Young man smiling

Documentation

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

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

ParameterTypeDescription
id
Integer
Internal symbol identifier.
Can occur in the ‘location’ header only.
Mutually exclusive with ‘ids’ parameter.
ids
Complex
Comma-separated list of symbol ids.
id
String
Internal symbol identifier.

Response properties

PropertyTypeDescription
quotes
Complex
List of Quote records.
Quote
Complex
 
symbol
String
Symbol name following Questrade’s symbology.
symbolId
Integer
Internal symbol identifier.
tier
Enumeration
Market tier.
bidPrice
Double
Bid price.
bidSize
Integer
Bid quantity.
askPrice
Double
Ask price.
askSize
Integer
Ask quantity.
astTradeTrHrs
Double
Price of the last trade during regular trade hours.
lastTradePrice
Double
Price of the last trade.
lastTradeSize
Integer
Quantity of the last trade.
lastTradeTick
Enumeration
Trade direction.
See Tick Type section for all allowed values.
volume
Integer
Volume.
openPrice
Double
Opening trade price.
highPrice
Double
Daily high price.
lowPrice
Double
Daily low price.
delay
Boolean
Whether a quote is delayed (true) or real-time. Please refer to IMPORTANT NOTE section for correct handling
isHalted
Boolean
Whether trading in the symbol is currently halted.

Sample request


GET https://api01.iq.questrade.com/v1/markets/quotes/3873

Sample 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

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
See All