Developers

Statistics Canada offers several ways to access data, allowing users to obtain information in a variety of formats.

Web Data Services

Statistics Canada has developed a Web Data Service that provides access to data and metadata that we release each business day. This is a good option for users who want to consume a discrete amount of data points updates to Statistics Canada data. The Statistics Canada SDMX REST web services provide access to the time series made available on the Statistics Canada's website in a structured form. For more information, please see the Statistical Data and Metadata Exchange (SDMX) User Guide.

Delta File

The Delta File is a file which contains all data and metadata released by Statistics Canada each business day. This is the preferred mechanism for users who want to obtain large updates to Statistics Canada data.

CSV

Users can download an entire data table in CSV (.csv) or XML (.sdmx-ml) format from Statistics Canada's website. These downloads will contain both data and metadata files. This is a good option for users wishing to obtain a complete offline version of a data table. For more information, please see the Full Table Download (CSV) User Guide. Please also see our Tips and tricks to access and take away Statistics Canada data.

Census Profile, 2021 Census of Population

The 2021 Census Profile provides a statistical overview of various geographic areas based on a number of detailed variables.

2021 Census Profile Web Data Service User Guide: With the SDMX API, users can request various dimensions as a parameter in the Uniform Resource Locator (URL) such as geographies and characteristics. The resulting data can be downloaded as a comma-separated value (CSV), JavaScript Object Notation (JSON) and Extensible Markup Language (XML).

Census Profile, 2016 Census

The 2016 Census Profile provides a statistical overview of various geographic areas based on a number of detailed variables.

Census Profile, 2016 Census
Web service Description
cpr2016 Returns all 2016 Census Profile data for a geography of interest.
cr2016geo Returns a list of 2016 Census geographies and geographic attributes for a geographic level.

National Address Register - User Guide

The National Address Register (NAR) is a list of commercial and residential addresses in Canada that are extracted from Statistics Canada's Building Register and deemed non-confidential. For more information, please see the National Address Register - User Guide.

Reference data as a Services (RDaaS) - API User Guide

The Reference Data as a Service (RDaaS) is a list of codesets, classifications and concordances that are used within Statistics Canada and shared to help harmonise data for better interdepartmental data integration and analysis. For more information, please see the Reference data as a Service – API User Guide.

Indicators

Hundreds of indicators are available in JSON format. These indicators are shown in The Daily, on home page and in My StatCan.

Web services - Indicators
Web service Description
ind-all.json Returns the entire set of indicators available from The Daily.
ind-econ.json Returns all major economic indicators available from The Daily.
ind-hp.json Returns all indicators available from the home page.

Schedule

The release schedule for major economic releases is available in JSON format. This release schedule includes future release dates. The release dates may be seen in The Daily's release schedule.

Web services - Schedule
Web service Description
schedule-key_indicators-eng.json Returns every release date of major economic indicators since March 14, 2012. Includes future release dates.

Home page carousel

The carousel that appears on the home page is available in JSON format.

Web services - Home page carousel
Web service Description
daily-banner-eng.json Returns the list of The Daily releases present on the home page carousel.