Next free-source hunt
We check for new free data every weekday.
Datasets / Transport & Shipping
www150.statcan.gc.ca/

Statistics Canada railway carloadings

Freeauth: noneCustom#transport-shipping#historical-data#time-series#commodities#flows✓ verified Nov 1, 2026

Statistics Canada railway carloadings

Statistics Canada table 23-10-0216-01 provides monthly Canadian railway loadings as a compressed CSV table and through the Web Data Service. Rows carry reference month, geography, traffic or commodity component, estimate type, unit, vector, value and status fields; no account or key is needed.

Required Attribution:

Statistics Canada. Table 23-10-0216-01 Railway carloadings statistics, by total tonnage transported, monthly.

Coverage

The monthly series runs from January 1999 through August 2026 for Canada, the Eastern division and the Western division. The checked full-table file contained 146,412 rows and was released on October 26, 2026; Statistics Canada publishes table corrections when prior observations change.

Verdict

This is a Canadian rail-freight flow signal for total traffic, non-intermodal commodities, intermodal units and traffic received from U.S. connections. The geographic split can show whether volume changes are concentrated in eastern or western corridors. The latest reference month lagged verification by about two months, so it is not a live congestion feed. Published corrections show that stored observations should be refreshed rather than treated as immutable.

Get the free weekly email

Free weekly email of newly verified free data. Unsubscribe by emailing us.

Use in your agent

Load Statistics Canada rail carloadings into Parquet. Checked against the provider's documentation on Nov 1, 2026.

Raw skill file (/skills/statcan-monthly-railway-carloadings.md)Also in our MCP server: call get_ingestion_skill with {"slug": "statcan-monthly-railway-carloadings"}.

Access

  • No account or key. The Web Data Service returns the current full-table ZIP URL.
  • The ZIP contains the data CSV and a separate metadata CSV.

Request

bash
curl 'https://www150.statcan.gc.ca/t1/wds/rest/getFullTableDownloadCSV/23100216/en'

Format

ZIP containing CSV data and metadata. Data columns include REF_DATE, GEO, DGUID, Railway carloading components, Estimates, UOM, VECTOR, VALUE and quality/status fields.

Load into pandas and Parquet

Needs Python 3 with requests, pandas and pyarrow.

python
"""Statistics Canada railway carloadings table -> pandas -> Parquet. No key."""
import io
import zipfile
import requests
import pandas as pd

API = "https://www150.statcan.gc.ca/t1/wds/rest/getFullTableDownloadCSV/23100216/en"
r = requests.get(API, timeout=60)
r.raise_for_status()
download_url = r.json()["object"]
z = requests.get(download_url, timeout=120)
z.raise_for_status()
with zipfile.ZipFile(io.BytesIO(z.content)) as archive:
    with archive.open("23100216.csv") as source:
        df = pd.read_csv(source, low_memory=False)
df["REF_DATE"] = pd.to_datetime(df["REF_DATE"], format="%Y-%m")
df.to_parquet("statcan_monthly_railway_carloadings.parquet", index=False)
print(len(df), "rows", df["REF_DATE"].min().date(), "to", df["REF_DATE"].max().date(),
      df["GEO"].nunique(), "geographies")

Run by us on 2026-11-01 (python 3.13.5 | pandas 3.1.0 | pyarrow 26.0.0 | requests 2.34.2). Result: 146412 rows 1999-01-01 to 2026-08-01 3 geographies

Limits

  • Rate limit: Not stated.
  • The full-table ZIP was about 21 MB uncompressed for the data CSV at verification.
  • The latest checked reference period was August 2026.

Quirks

  • The WDS endpoint returns a JSON object containing a second URL; fetch that URL to obtain the ZIP.
  • The archive's CSV filenames omit the -eng suffix used in the download URL.
  • Use STATUS, SYMBOL and TERMINATED fields when interpreting missing, revised or ended series.

Terms and attribution

  • The Statistics Canada Open Licence allows commercial and non-commercial sharing and redistribution.
  • Statistics Canada must be cited whenever its data are used.

Sources

Information and education only. Not financial, investment, legal or tax advice. Listings can be inaccurate, incomplete or out of date and are provided "as is". Free tiers, limits and licenses belong to each provider and can change, so check the provider's own terms before you rely on them. Terms & Disclaimer