Statistics Canada Web Data Service Scraper avatar

Statistics Canada Web Data Service Scraper

Pricing

from $26.62 / 1,000 results

Go to Apify Store
Statistics Canada Web Data Service Scraper

Statistics Canada Web Data Service Scraper

Scrape Statistics Canada catalogue (NDM cubes), full cube metadata, and time-series data from the official StatCan Web Data Service (WDS). Pull cube titles, release dates, dimensions, members, geography, frequencies and recent observations for any of the 6000+ cubes.

Pricing

from $26.62 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

ParseForge Banner

📊 Statistics Canada Scraper

🚀 Export the official Canadian statistical catalogue in seconds. Pull 8,000+ data cubes, full cube metadata, dimension members, and time-series observations across the economy, labour market, health, and more. No sign-up needed, no manual CSV wrangling.

🕒 Last updated: 2026-05-15 · 📊 24 fields per record · 📦 8,000+ cubes · 🇨🇦 National + provincial + municipal coverage

The Statistics Canada Scraper taps the official Statistics Canada catalogue and returns clean, structured records covering every published cube (NDM table). Pull cube titles in English and French, release dates, frequency, dimensions, member counts, geography codes, and time-stamped observation values.

The catalogue spans 8,000+ active cubes, decades of historical data, and every Canadian province and territory. Subjects range from monthly Consumer Price Index releases and quarterly GDP to building permits, immigration flows, hospital activity, household spending, and election data. This Actor turns the entire reference catalogue, single-cube metadata, single-coordinate observations, and multi-vector time-series into downloadable CSV, Excel, JSON, or XML in minutes.

🎯 Target Audience💡 Primary Use Cases
Economists, journalists, policy analysts, fintech & real estate teams, researchers, BI engineers, civic-tech developersEconomic dashboards, inflation tracking, real estate market intelligence, labour-market reports, academic research, Power BI / Tableau feeds, ML feature engineering

📋 What the Statistics Canada Scraper does

Four workflows in a single Actor:

  • 📚 Catalogue mode. List every published Statistics Canada cube with title, frequency, release date, dimension names, and a deep link to the official table view.
  • 🧾 Cube metadata mode. Pull the full schema for one cube or batch up to 100 cubes in a single run, including dimension positions, member counts, geography levels, classifications, and CANSIM legacy IDs.
  • 📈 Data from cube mode. Fetch the latest N periods (up to 36) of observation values for any coordinate inside any cube.
  • 📉 Vector mode. Pass one or many vector IDs and pull the most recent N periods of each time-series in one shot.

Every record carries the official Statistics Canada deep link, so you can verify any number against the source page in one click.

💡 Why it matters: Canadian economic and demographic data underpins lending decisions, real-estate underwriting, retail planning, public-policy research, and journalism. Building your own pipeline against the official catalogue means handling pagination, dimension decoding, and bilingual labels by hand. This Actor skips all of that and keeps your dataset fresh on every run.


🎬 Full Demo

🚧 Coming soon: a 3-minute walkthrough showing how to go from sign-up to a downloaded dataset.


⚙️ Input

InputTypeDefaultBehavior
modeenum"catalogue"One of catalogue, cubeMetadata, dataFromCube, vector.
productIdinteger341000078-digit cube product ID. Required for cubeMetadata and dataFromCube modes.
productIdsarray[]Batch lookup for cubeMetadata mode. Up to 100 IDs per run. Takes precedence over productId.
coordinatestring""Comma-separated dimension positions (e.g. "1.1.1.1.0.0.0.0.0.0"). Required for dataFromCube mode.
vectorIdsstring""Comma-separated vector IDs for vector mode (e.g. "1,2,42").
latestNinteger10Number of most recent periods (1-36) for dataFromCube and vector modes.
maxItemsinteger10Records to return. Free plan caps at 10, paid plan at 1,000,000.

Example: full Statistics Canada catalogue (first 50 cubes).

{
"mode": "catalogue",
"maxItems": 50
}

Example: latest 12 monthly Consumer Price Index periods for the Canada-wide all-items basket (cube 18-10-0004-01).

{
"mode": "vector",
"vectorIds": "41690973",
"latestN": 12
}

⚠️ Good to Know: the catalogue contains every Statistics Canada cube including archived series. Use the archived field to filter out historical cubes, and the frequencyCode field (1=Daily, 6=Monthly, 9=Quarterly, 12=Annual) to filter by release cadence. Cube IDs (productIds) are 8 digits; vector IDs are integers tied to a specific coordinate inside a cube.


📊 Output

Each record contains up to 24 fields depending on mode. Download the dataset as CSV, Excel, JSON, or XML.

🧾 Schema

FieldTypeExample
🆔 productIdinteger34100007
🔗 urlstring"https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=34100007"
🏷️ cansimIdstring"026-0006"
🇬🇧 cubeTitleEnstring"Building permits, by type of structure and type of work"
🇫🇷 cubeTitleFrstring"Permis de bâtir, selon le type de structure et le type de travaux"
📅 cubeStartDatestring"1948-01-01"
📅 cubeEndDatestring"2026-03-01"
🕒 releaseTimestring"2026-04-12T08:30"
📆 issueDatestring"2026-04-12"
🗃️ archivedstring"2"
🏷️ subjectCodearray["18"]
📋 surveyCodearray["2802"]
🔁 frequencyCodeinteger6
🔁 frequencystring"Monthly"
📐 dimensionsarray[{ "id": 1, "nameEn": "Geography", "nameFr": "Géographie", "hasUOM": false }, ...]
📐 dimensionNamesstring"Geography, Type of structure, Type of work"
📊 nbSeriesCubeinteger2880
📊 nbDatapointsCubeinteger1456320
🌎 geoLevelarray[{ "geoLevelEn": "Canada" }, ...]
📝 correctionFootnotearray[]
📋 productNoticearray[]
🔢 vectorIdinteger41690973
📅 refPeriodstring"2026-04-01"
💰 valuenumber162.4
🔢 decimalsinteger1
🕒 scrapedAtISO 8601"2026-05-15T10:00:00.000Z"

📦 Sample record (catalogue mode)


✨ Why choose this Actor

Capability
🇨🇦Full national catalogue. 8,000+ cubes covering economy, labour, health, justice, demographics, and more.
🌐Bilingual labels. Titles, dimension names, and members in English and French.
📈Time-series mode. Pull the latest 1-36 periods of any vector in a single call.
🧾Batch metadata. Up to 100 cubes' full schemas in one run.
🔁Always fresh. Every run pulls from the official catalogue, so the dataset reflects the latest releases.
🧰No setup. No sign-up, no key, no scraping CSS selectors.
🔗Source-anchored. Every record carries the official Statistics Canada deep link.

📊 Statistics Canada is the most-cited reference for Canadian inflation, employment, GDP, immigration, and housing data. This Actor makes it queryable in seconds.


📈 How it compares to alternatives

ApproachCostCoverageRefreshFiltersSetup
⭐ Statistics Canada Scraper (this Actor)$5 free credit, then pay-per-use8,000+ cubes, decades of historyLive per runcatalogue, cube, coordinate, vector⚡ 2 min
Manual CSV downloadsFreePer-cube onlyManualNone🐢 Hours per cube
Commercial macro-data terminals$24,000+/yearCurated subsetLiveMany⏳ Days
Build your own pipelineEngineering hoursWhat you buildWhat you buildWhat you build🕒 Weeks

Pick this Actor when you want broad national coverage, automated refreshes, and zero parser maintenance.


🚀 How to use

  1. 📝 Sign up. Create a free account with $5 credit (takes 2 minutes).
  2. 🌐 Open the Actor. Go to the Statistics Canada Scraper page on the Apify Store.
  3. 🎯 Set input. Pick a mode (start with catalogue to browse), set maxItems, and click Start.
  4. 🚀 Run it. Click Start and let the Actor collect your data.
  5. 📥 Download. Grab your results in the Dataset tab as CSV, Excel, JSON, or XML.

⏱️ Total time from signup to downloaded dataset: 3-5 minutes. No coding required.


💼 Business use cases

🏦 Banking, fintech, and lending

  • Inflation and rate-sensitivity dashboards driven by monthly CPI vectors
  • Mortgage underwriting fed by housing starts, building permits, and price indices
  • Consumer-credit risk models that use household-debt cubes
  • Macroeconomic forecasts for treasury and ALM teams

🏘️ Real estate and PropTech

  • City-level building permit feeds for site-selection models
  • Demographic shifts and migration flows by census subdivision
  • Construction cost indices for development underwriting
  • Vacancy, rents, and household-formation cubes

📊 Market research and consulting

  • Industry sales, employment, and GDP-by-industry reports
  • Retail trade, e-commerce, and food-services analytics
  • Tourism, accommodation, and travel arrivals
  • Sector benchmarks for client deliverables

📰 Journalism and policy

  • Live charts of jobs, inflation, and immigration in newsrooms
  • Public-policy briefs with cited, versioned data
  • Election and demographic explainers
  • Investigative reporting on housing, healthcare, and crime

🔌 Automating Statistics Canada Scraper

Control the scraper programmatically for scheduled runs and pipeline integrations:

  • 🟢 Node.js. Install the apify-client NPM package.
  • 🐍 Python. Use the apify-client PyPI package.
  • 📚 See the Apify API documentation for full details.

The Apify Schedules feature lets you trigger this Actor on any cron interval. Daily refreshes for high-frequency vectors (CPI, employment, building permits) keep dashboards current without engineering work.


🌟 Beyond business use cases

Data like this powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

🎓 Research and academia

  • Macroeconomic theses with cited, versioned dataset pulls
  • Health and demographic research at the provincial level
  • Reproducible studies with stable cube product IDs
  • Open-data exercises in econometrics courses

🎨 Personal and creative

  • Side projects, indie data dashboards, and portfolio demos
  • Population pyramids, inflation trackers, and visualizations
  • Interactive maps of Canadian municipalities
  • Hobbyist time-series for traders and forecasters

🤝 Non-profit and civic

  • Equity research on income, housing, and labour outcomes
  • Civic transparency on public spending and services
  • Investigative journalism backed by official numbers
  • Open data community contributions and visualizations

🧪 Experimentation

  • Train forecasting and anomaly-detection ML models
  • Validate macro hypotheses with real time-series
  • Prototype agent pipelines that resolve cube IDs
  • Test BI dashboard concepts with live national data

🤖 Ask an AI assistant about this scraper

Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:


❓ Frequently Asked Questions

🧩 How does it work?

Pick a mode (catalogue, cube metadata, data from cube, or vector), set the cube product ID or vector IDs, and click Start. The Actor pulls clean structured records straight from the official catalogue. No browser automation, no captchas, no setup.

📏 How accurate is the data?

Every value comes directly from the official Statistics Canada catalogue, the canonical source for Canadian official statistics. No transformation is applied beyond field-name normalization and ISO timestamp stamping.

🔁 How often is the catalogue refreshed?

The catalogue is updated continuously as Statistics Canada releases new cubes and revises existing ones. Every run of this Actor returns the live state of the catalogue.

🌐 Are labels available in French?

Yes. Catalogue and metadata records include cubeTitleEn and cubeTitleFr, plus dimension and member names in both languages where Statistics Canada publishes them.

⏰ Can I schedule regular runs?

Yes. Use Apify Schedules to run this Actor on any cron interval (hourly, daily, weekly) and keep your downstream database in sync with the latest CPI, employment, GDP, and other high-frequency releases.

Statistics Canada publishes under the Statistics Canada Open Licence, which permits commercial and non-commercial use with attribution. Review the licence terms for your specific use case.

💼 Can I use this data commercially?

Yes. The underlying data is open and permits commercial use with attribution. You are responsible for complying with the licence and with any downstream regulatory requirements in your own product.

💳 Do I need a paid Apify plan to use this Actor?

No. The free Apify plan is enough for testing and small runs (10 records per run). A paid plan lifts the limit and gives you access to scheduling, higher concurrency, and larger datasets.

🔁 What happens if a run fails or gets interrupted?

Apify automatically retries transient errors. If a run still fails, you can inspect the log in the Runs tab, fix the input, and re-run. Partial datasets from failed runs are preserved so you never lose progress.

🔢 What is a productId vs a vectorId?

A productId is an 8-digit cube ID (e.g. 34100007 = Building permits). A vectorId is an integer pointing to a single time-series at one coordinate inside a cube. Use catalogue or cube metadata mode to discover IDs.

🆘 What if I need help?

Our support team is here to help. Contact us through the Apify platform or use the Tally form linked below.


🔌 Integrate with any app

Statistics Canada Scraper connects to any cloud service via Apify integrations:

  • Make - Automate multi-step workflows
  • Zapier - Connect with 5,000+ apps
  • Slack - Get run notifications in your channels
  • Airbyte - Pipe Statistics Canada records into your warehouse
  • n8n - Self-hosted workflow automation
  • Pipedream - Event-driven serverless workflows
  • GitHub - Trigger runs from commits and releases
  • Google Drive - Export datasets straight to Sheets

You can also use webhooks to trigger downstream actions when a run finishes. Push fresh CPI, employment, or housing numbers into your product backend, or alert your team in Slack the minute a new release lands.


💡 Pro Tip: browse the complete ParseForge collection for more reference-data scrapers.


🆘 Need Help? Open our contact form to request a new scraper, propose a custom data project, or report an issue.


⚠️ Disclaimer: this Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Statistics Canada or the Government of Canada. All trademarks mentioned are the property of their respective owners. Only publicly available open data is collected.