Statistics

Statistics Canada Web Data Service

by statcan.gc.ca

Statistics Added on November 7th, 2026 Checked and working on November 7th, 2026
Visit statcan.gc.ca →

What it does

Statistics Canada's Web Data Service gives Canada's official statistical tables (population, labour, prices, trade, health) with their metadata, series and data points, for example to follow the Canadian consumer price index. Most methods are POST requests with a small JSON body naming a table or vector; whole tables also download as CSV. Free, no key needed.
  • API
  • CSV
  • JSON
  • REST

At a glance

API key
Not needed · More APIs with no key
Pricing
Free, no key needed.
From the browser
Yes (CORS)
Formats
JSON, CSV
Interface
REST
Provider
statcan.gc.ca
Last checked
Working on November 7th, 2026

More information: https://www.statcan.gc.ca/en/developers/wds

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

statcan.gc.ca
Statistics Canada Web Data Service

Example request

curl

curl -X POST 'https://www150.statcan.gc.ca/t1/wds/rest/getCubeMetadata' \
  -H 'Content-Type: application/json' \
  -d '[{"productId":17100005}]'

JavaScript

const response = await fetch("https://www150.statcan.gc.ca/t1/wds/rest/getCubeMetadata", {
  method: 'POST',
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify([{"productId":17100005}]),
});
const data = await response.json();
console.log(data);

Python

import requests

response = requests.post(
    "https://www150.statcan.gc.ca/t1/wds/rest/getCubeMetadata",
    json=[
        {
            "productId": 17100005,
        },
    ],
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried Statistics Canada Web Data Service.