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

Retrieves information about supported markets.

Request parameters

No parameters.

Response properties

Response properties
PropertymarketsTypeComplexDescriptionList of Quote records.
PropertyMarketTypeComplexDescription
PropertyNested property, level 2. nameTypeStringDescriptionMarket name.
PropertyNested property, level 2. tradingVenuesTypeComplexDescriptionList of trading venue codes.
PropertyNested property, level 3. codeTypeEnumerationDescriptionOrder execution venue code.
PropertyNested property, level 2. defaultTradingVenueTypeEnumerationDescriptionDefault trading venue code.
PropertyNested property, level 2. primaryOrderRoutesTypeComplexDescriptionList of primary order route codes.
PropertyNested property, level 3. codeTypeEnumerationDescriptionOrder route code.
PropertyNested property, level 2. secondaryOrderRoutesTypeComplexDescriptionList of secondary order route codes.
PropertyNested property, level 3. codeTypeEnumerationDescriptionOrder route code.
PropertyNested property, level 2. level1FeedsTypeComplexDescriptionList of level 1 market data feed codes.
PropertyNested property, level 3. codeTypeEnumerationDescriptionLevel 1 market data feed code.
PropertyNested property, level 2. level2FeedsTypeComplexDescriptionList of level 2 market data feed codes.
PropertyNested property, level 3. codeTypeEnumerationDescriptionLevel 2 market data feed code.
PropertyNested property, level 2. extendedStartTimeTypeDateTimeDescriptionPre-market opening time for current trading date.
PropertyNested property, level 2. startTimeTypeDateTimeDescriptionRegular market opening time for current trading date.
PropertyNested property, level 2. endTimeTypeDateTimeDescriptionRegular market closing time for current trading date.
PropertyNested property, level 2. extendedEndTimeTypeDateTimeDescriptionExtended market closing time for current trading date.
PropertyNested property, level 2. currencyTypeEnumerationDescriptionCurrency code (ISO format).
PropertyNested property, level 2. snapQuotesLimitTypeIntegerDescriptionNumber of snap quotes that the user can retrieve from a market.

Sample request

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

Sample JSON response

JSON
{
   "markets": [
	{
		"name": "TSX",
		"tradingVenues": [
			"TSX",
			"ALPH",
			"CHIC",
			"OMGA",
  		    "PURE"
                    ]
		"defaultTradingVenue": "AUTO",
		"primaryOrderRoutes": [
			"AUTO"
		],
		"secondaryOrderRoutes": [
			"TSX",
		    "AUTO" 
		],
		"level1Feeds": [
			"ALPH",
			"CHIC",
			"OMGA",
			"PURE",
		    "TSX"
		],
		"extendedStartTime": "2014-10-06T07:00:00.000000-04:00",
		"startTime": "2014-10-06T09:30:00.000000-04:00",
		"endTime": "2014-10-06T16:00:00.000000-04:00",
		"currency": "CAD",
		"snapQuotesLimit": 99999
	   },
		...
      ]
}

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