The information below is intended for technical or production staff of media outlets who plan to download and access election results on election day (November 30).

Run your tests prior to election day. No technical support will be available on November 30.

Any technical questions can be directed to Tharshan Sundaramoorthy, Manager, Toronto Elections at or Media Relations at

The presentation below highlights how media representatives can access election night results data in a machine-readable format for their intended websites and broadcasts.

Remember to:

  • Check the ‘Live Results Information for Media’ page regularly for any new information.
  • If the files become unavailable on election night, critical messages will be posted on this page.
  • Test prior to election day. No technical support will be available November 30, election night.

Quick Access for Experienced Users

Election Results files will be available in a machine-readable JSON file format.

One election night results file and a technical specification document are available:

Frequently Asked Questions

Question: The filename is given as “unofficialresult.json”. Can you confirm that the filename will be the same on the night of the election? We just want to be sure it won’t be changing to “officialresult” or something like that. And once the results are complete, will there be a final data file with official results?

Answer: The filename will not change on election night.


Question: The JSON files are being stored in AWS, is there any caching on those files and how long is the cache set for? Do we need to apply a cache buster or something?

Answer: AWS will refresh the files every 60 seconds for the JSON file. You will need to address any caching scenarios based on how you build your consuming solution. For your consideration, the JSON file have a “seq” attribute where the value is based on a timestamp.


Question: Will there be results file available but just with zeroed data until election night?

Answer: Unofficial results file with zeroed data will be posted on November 17 until election night.


Question: We have a workaround, but it seems the CORS policy on the data files doesn’t allow them to be accessed by other domains. Will you be updating the cross domain policy?

Answer: It is not recommended to make direct AJAX calls to from another domain. The intent is to download the results file, parse it and setup/host your own website or television crawl.


Question: Will the election results be available at the exact same URL for both testing and election night?

Answer: Yes


Question: Does the candidate field reorganize itself based on votes received or does it stay in alphabetical order?

Answer: It will reorganize based on total votes received. If two or more candidates have the same number of votes, those will organize based on name.


Question: Are the total number of polls and total voters values in that feed accurate? In other words can we pre-populate our system with these values now with the values in the feed or will these values change as we get closer to election day?

Answer: Both values are subject to change as we approach election day.


Question: I understand that the feed will activate at 8 p.m. on November 30, after the polls close. I also understand that the feed will be updated every 60 seconds. But I can’t find when the feed will be turned off. Will it run until midnight.

Answer: On November 30, the live JSON results files will be updated every 60 seconds, starting from 8 p.m. until all results have been received. There is no fixed end time, but we expect the majority of results to be received between 8:00 p.m. and 9:30 p.m. A zeroed unofficial results file will be posted on November 17 for reference.


Question: I cannot find any mention in the documentation about rate limiting on the election results API. As we are testing, should we be mindful of how often we poll the API?

Answer: There is no rate limiting; however, you should retrieve the JSON file, parse and then store it into your own system. Rate limiting will become an issue if you link directly to the content from your own web pages (for example, by hosting a web page that retrieves the JSON file via AJAX). The JSON should not be retrieved in this fashion.


Question: Are there any concerns related to retrieving the results files over HTTP vs HTTPS?

Answer: The files can be downloaded over Hypertext Transfer Protocol Secure (HTTPS) only. If your integration software attempts an unencrypted Hypertext Transfer Protocol (HTTP) connection to the site, the site responds with a redirect to the HTTPS version of the URL.

It is strongly recommended that you configure your integration software to use the HTTPS version of the URL. This improves security by ensuring the connection is always encrypted, and may improve your integration software’s system performance by reducing the number of requests. Doing so will also improve your resilience to certain types of internet service provider outages.