Statistics Canada — Table Metadata
statcan.table.metadataRetrieve full metadata for a Statistics Canada table by its 8-digit product ID. Returns table title, date range, release frequency, subject codes, survey codes, and complete dimension hierarchy including all member categories with their IDs and names. Dimensions contain the coordinate values needed to select specific time-series within the table (e.g. geography, industry, demographic group). Members are truncated to 50 per dimension. Use coordinate values to call table_data. Product IDs are visible in StatCan table URLs: www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=01. Source: Statistics Canada WDS, Canada Open Licence, no auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | Statistics Canada table product ID (8-digit number, e.g. 35100003 for Youth Justice Survey). Visible in table URLs on www150.statcan.gc.ca. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |