Statistics Canada — Table Search
statcan.catalogue.searchSearch and discover Statistics Canada data tables (6,000+ available). Filter by keyword in the English table title, by Statistics Canada subject code (e.g. "14" for Labour, "16" for Prices and price indexes, "36" for National accounts), and by active vs. archived status. Returns table product IDs, CANSIM IDs, titles, date ranges, release frequency (annual/monthly/quarterly), and subject codes. Use the product_id from results to fetch full metadata (table_metadata) or time-series data (table_data). Source: Statistics Canada WDS, Canada Open Licence, no auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of tables to return (1–100). Defaults to 20. | |
| query | No | Keyword to search in English table titles (e.g. "labour force", "inflation", "housing"). Case-insensitive. | |
| archived | No | Filter archived tables: false (default) = active only, true = archived only, "all" = both active and archived. | |
| subject_code | No | Statistics Canada subject code to filter by (e.g. "14" for Labour, "16" for Prices, "36" for National Accounts). Two-digit string. |
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. |