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

Request parameters
ParameteridTypeIntegerDescriptionInternal symbol identifier. Can occur in the ‘location’ header only. Mutually exclusive with ‘ids’ parameter.
ParameteridsTypeComplexDescriptionComma-separated list of symbol ids.
ParameterNested property, level 2. idTypeStringDescriptionInternal symbol identifier.

Response properties

Response properties
PropertyquotesTypeComplexDescriptionList of Quote records.
PropertyNested property, level 2. QuoteTypeComplexDescription
PropertyNested property, level 3. symbolTypeStringDescriptionSymbol name following Questrade’s symbology.
PropertyNested property, level 3. symbolIdTypeIntegerDescriptionInternal symbol identifier.
PropertyNested property, level 3. tierTypeEnumerationDescriptionMarket tier.
PropertyNested property, level 3. bidPriceTypeDoubleDescriptionBid price.
PropertyNested property, level 3. bidSizeTypeIntegerDescriptionBid quantity.
PropertyNested property, level 3. askPriceTypeDoubleDescriptionAsk price.
PropertyNested property, level 3. askSizeTypeIntegerDescriptionAsk quantity.
PropertyNested property, level 3. astTradeTrHrsTypeDoubleDescriptionPrice of the last trade during regular trade hours.
PropertyNested property, level 3. lastTradePriceTypeDoubleDescriptionPrice of the last trade.
PropertyNested property, level 3. lastTradeSizeTypeIntegerDescriptionQuantity of the last trade.
PropertyNested property, level 3. lastTradeTickTypeEnumerationDescriptionTrade direction. See Tick Type section for all allowed values.
PropertyNested property, level 3. volumeTypeIntegerDescriptionVolume.
PropertyNested property, level 3. openPriceTypeDoubleDescriptionOpening trade price.
PropertyNested property, level 3. highPriceTypeDoubleDescriptionDaily high price.
PropertyNested property, level 3. lowPriceTypeDoubleDescriptionDaily low price.
PropertyNested property, level 3. delayTypeBooleanDescriptionWhether a quote is delayed (true) or real-time. Please refer to IMPORTANT NOTE section for correct handling
PropertyNested property, level 3. isHaltedTypeBooleanDescriptionWhether trading in the symbol is currently halted.

Sample request

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

Sample request

HTTP
GET https://api01.iq.questrade.com/v1/markets/quotes?ids=38738,...

Sample JSON response

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

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