{"openapi":"3.1.0","info":{"title":"Statistics Canada Economic Data API","version":"1.0.0","description":"Key Canadian economic indicators from the official Statistics Canada Web Data Service. Pull the Consumer Price Index, the seasonally-adjusted unemployment rate, monthly real GDP, the Bank of Canada policy rate and the national population estimate — look up a single indicator, read a full country snapshot with all of them at once, or fetch the raw time series for any Statistics Canada vector by its id (with as many recent periods as you need). Every value carries the indicator label, its unit and the exact reference period, and always resolves to the latest published observation, so there are no dates to hard-code. Built for dashboards, macro research and CAD currency or rates models that need authoritative Canadian data. Distinct from market and FX feeds, and from our OECD cross-country indicators: this surfaces official Statistics Canada figures.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/statcan-api","description":"oanor gateway"}],"tags":[{"name":"Reference"},{"name":"Indicators"},{"name":"Series"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/indicators":{"get":{"operationId":"get_v1_indicators","tags":["Reference"],"summary":"List curated indicators","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":5,"indicators":[{"code":"cpi","unit":"index (2002=100)","label":"Consumer Price Index (all-items, Canada)","vector":41690973},{"code":"unemployment_rate","unit":"%","label":"Unemployment rate (Canada, seasonally adjusted)","vector":2062815},{"code":"gdp_monthly","unit":"millions CAD","label":"Monthly real GDP (all industries, chained 2017 $)","vector":65201210},{"code":"policy_rate","unit":"%","label":"Bank of Canada policy / bank rate","vector":122530},{"code":"population","unit":"persons","label":"Population estimate (Canada)","vector":1}]},"meta":{"timestamp":"2026-06-15T11:14:58.122Z","request_id":"3f5a08c5-d4dc-47da-ae80-31712c8c0e92"},"status":"ok","message":"Indicators retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/indicator":{"get":{"operationId":"get_v1_indicator","tags":["Indicators"],"summary":"Latest value of one indicator","description":"","parameters":[{"name":"code","in":"query","required":false,"description":"Indicator code","schema":{"type":"string"},"example":"cpi"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"unit":"index (2002=100)","label":"Consumer Price Index (all-items, Canada)","value":168,"period":"2026-04-01","source":"Statistics Canada","vector":41690973,"country":"Canada","indicator":"cpi"},"meta":{"timestamp":"2026-06-15T11:14:58.982Z","request_id":"c8e71622-4628-4dee-80ae-ef80529ca9bd"},"status":"ok","message":"Indicator retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/snapshot":{"get":{"operationId":"get_v1_snapshot","tags":["Indicators"],"summary":"All curated indicators at once","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"source":"Statistics Canada","country":"Canada","indicators":[{"unit":"index (2002=100)","label":"Consumer Price Index (all-items, Canada)","value":168,"period":"2026-04-01","indicator":"cpi"},{"unit":"%","label":"Unemployment rate (Canada, seasonally adjusted)","value":6.6,"period":"2026-05-01","indicator":"unemployment_rate"},{"unit":"millions CAD","label":"Monthly real GDP (all industries, chained 2017 $)","value":2339731,"period":"2026-03-01","indicator":"gdp_monthly"},{"unit":"%","label":"Bank of Canada policy / bank rate","value":2.5,"period":"2026-05-01","indicator":"policy_rate"},{"unit":"persons","label":"Population estimate (Canada)","value":41472081,"period":"2026-01-01","indicator":"population"}]},"meta":{"timestamp":"2026-06-15T11:14:59.803Z","request_id":"bf583040-628f-49ba-ba8a-202aa5063d23"},"status":"ok","message":"Snapshot retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/series":{"get":{"operationId":"get_v1_series","tags":["Series"],"summary":"Raw time series for any vector","description":"","parameters":[{"name":"vector","in":"query","required":true,"description":"Statistics Canada vector id","schema":{"type":"string"},"example":"41690973"},{"name":"periods","in":"query","required":false,"description":"Number of recent periods (1-120)","schema":{"type":"string"},"example":"12"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":12,"source":"Statistics Canada","vector":41690973,"observations":[{"value":168,"period":"2026-04-01","decimals":1},{"value":167.4,"period":"2026-03-01","decimals":1},{"value":165.9,"period":"2026-02-01","decimals":1},{"value":165,"period":"2026-01-01","decimals":1},{"value":165,"period":"2025-12-01","decimals":1},{"value":165.4,"period":"2025-11-01","decimals":1},{"value":165.3,"period":"2025-10-01","decimals":1},{"value":164.9,"period":"2025-09-01","decimals":1},{"value":164.8,"period":"2025-08-01","decimals":1},{"value":164.9,"period":"2025-07-01","decimals":1},{"value":164.4,"period":"2025-06-01","decimals":1},{"value":164.3,"period":"2025-05-01","decimals":1}],"indicator_code":"cpi"},"meta":{"timestamp":"2026-06-15T11:15:00.395Z","request_id":"bf059216-6882-497c-aaac-760bdd2015d6"},"status":"ok","message":"Series retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Service metadata","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"name":"Statistics Canada Economic Data API","source":"Statistics Canada Web Data Service (www150.statcan.gc.ca)","country":"Canada","endpoints":[{"path":"/v1/indicators","description":"List curated indicators"},{"path":"/v1/indicator","description":"Latest value of one indicator (?code=cpi)"},{"path":"/v1/snapshot","description":"All curated indicators at once"},{"path":"/v1/series","description":"Raw time series for any vector (?vector=41690973&periods=12)"},{"path":"/v1/meta","description":"This metadata document"}],"disclaimer":"Unofficial proxy of the public Statistics Canada Web Data Service. Not affiliated with Statistics Canada. Data only; refer to StatCan for authoritative figures.","indicators":["cpi","unemployment_rate","gdp_monthly","policy_rate","population"],"description":"Key Canadian economic indicators from the official Statistics Canada Web Data Service: the Consumer Price Index, unemployment rate, monthly real GDP, the Bank of Canada policy rate and the national population estimate. Look up a single indicator, read a full snapshot, or fetch the raw time series for any Statistics Canada vector. Values always resolve to the latest published reference period."},"meta":{"timestamp":"2026-06-15T11:15:00.502Z","request_id":"8eb42923-2531-4be3-9ab5-124fe4929ebc"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":1780,"rps_limit":2,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":1270,"monthly_call_quota":52300,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3480,"monthly_call_quota":211000,"rps_limit":16,"hard_limit":true},{"slug":"scale","name":"Scale","price_cents_month":7890,"monthly_call_quota":872000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/statcan-api"}