{"api":{"id":"api_3017de5aed34420391195994","slug":"statistics-canada-data","name":"Statistics Canada Data API","description":"Time series from Statistics Canada by vector id (CPI, jobs, housing, GDP and more): latest N periods per series with value, reference period, release time and the series' table and coordinate.","kind":"ready_made","visibility":"public","domain":"statcan.gc.ca","source_url":"https://www150.statcan.gc.ca/n1/en/type/data","category":"finance","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":8,"created_at":"2026-12-06T03:57:27.712Z","updated_at":"2026-12-06T03:57:27.712Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"vector_id","type":"integer","description":"Statistics Canada vector (series) id.","required":true,"coverage":1,"example":41690973},{"name":"table_id","type":"string","description":"The table the series belongs to, as 8 digits (18100004 is table 18-10-0004-01).","required":false,"coverage":1,"example":"18100004"},{"name":"coordinate","type":"string","description":"The series' position in its table's dimensions, such as 2.2.0.0.0.0.0.0.0.0.","required":false,"coverage":1,"example":"2.2.0.0.0.0.0.0.0.0"},{"name":"ref_date","type":"date","description":"The period the value is for, as its first day.","required":false,"coverage":1,"example":"2026-08-01"},{"name":"value","type":"number","description":"The published value.","required":false,"coverage":1,"example":169.8},{"name":"release_time","type":"string","description":"When Statistics Canada released the value, in Eastern time as YYYY-MM-DDTHH:MM.","required":false,"coverage":1,"example":"2026-09-14T08:30"},{"name":"scale_code","type":"integer","description":"Power of ten the value is scaled by: 0 units, 3 thousands, 6 millions.","required":false,"coverage":1,"example":0},{"name":"symbol","type":"integer","description":"StatCan symbol code for the value: 0 none, others mark estimates, suppressed or revised values.","required":false,"coverage":1,"example":0}],"inputs":[{"name":"vectors","type":"array","description":"StatCan vector ids, for example 41690973 for the all-items consumer price index.","example":[41690973],"required":true},{"name":"latest_n","type":"integer","description":"How many latest periods to return per vector (1 to 1000).","default":12,"example":3}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"coordinate":{"description":"The series' position in its table's dimensions, such as 2.2.0.0.0.0.0.0.0.0.","type":"string"},"ref_date":{"description":"The period the value is for, as its first day.","format":"date","type":"string"},"release_time":{"description":"When Statistics Canada released the value, in Eastern time as YYYY-MM-DDTHH:MM.","type":"string"},"scale_code":{"description":"Power of ten the value is scaled by: 0 units, 3 thousands, 6 millions.","type":"integer"},"symbol":{"description":"StatCan symbol code for the value: 0 none, others mark estimates, suppressed or revised values.","type":"integer"},"table_id":{"description":"The table the series belongs to, as 8 digits (18100004 is table 18-10-0004-01).","type":"string"},"value":{"description":"The published value.","type":"number"},"vector_id":{"description":"Statistics Canada vector (series) id.","type":"integer"}},"required":["vector_id"],"title":"Statistics Canada Data API","type":"object"},"samples":[{"vector_id":41690973,"table_id":"18100004","coordinate":"2.2.0.0.0.0.0.0.0.0","ref_date":"2026-08-01","value":169.8,"release_time":"2026-09-14T08:30","scale_code":0,"symbol":0},{"vector_id":41690973,"table_id":"18100004","coordinate":"2.2.0.0.0.0.0.0.0.0","ref_date":"2026-09-01","value":170,"release_time":"2026-10-19T08:30","scale_code":0,"symbol":0},{"vector_id":41690973,"table_id":"18100004","coordinate":"2.2.0.0.0.0.0.0.0.0","ref_date":"2026-10-01","value":170.4,"release_time":"2026-11-16T08:30","scale_code":0,"symbol":0}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"coordinate":1,"ref_date":1,"release_time":1,"scale_code":1,"symbol":1,"table_id":1,"value":1,"vector_id":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_3017de5aed34420391195994/run","openapi":"https://pullrow.dev/v1/apis/api_3017de5aed34420391195994/openapi.json","contract":"https://pullrow.dev/v1/apis/api_3017de5aed34420391195994/contract.json","page":"https://pullrow.dev/catalog/statistics-canada-data"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["You need StatCan vector ids (shown on each table's page as v-numbers, for example 41690973 for the all-items CPI); this API does not search for them.","At most 50 vectors per run and 1,000 latest periods per vector; 5,000 records per run.","Values are as published by Statistics Canada, with its own scale (scale_code) and symbol codes; revisions are shown by later releases.","Contains information licensed under the Statistics Canada Open Licence; credit Statistics Canada when you use it.","release_time is the Eastern-time release stamp StatCan publishes, without a time zone."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"vector_id","label":"Vector ID","description":"Statistics Canada vector (series) id.","group":"Technical","shown":false,"written":false},{"name":"table_id","label":"Table ID","description":"The table the series belongs to, as 8 digits (18100004 is table 18-10-0004-01).","group":"Technical","shown":false,"written":false},{"name":"coordinate","label":"Coordinate","description":"The series' position in its table's dimensions, such as 2.2.0.0.0.0.0.0.0.0.","group":"Basics","shown":true,"written":false},{"name":"ref_date","label":"Ref date","description":"The period the value is for, as its first day.","group":"Dates","shown":true,"written":false},{"name":"value","label":"Value","description":"The published value.","group":"Basics","shown":true,"written":false},{"name":"release_time","label":"Release time","description":"When Statistics Canada released the value, in Eastern time as YYYY-MM-DDTHH:MM.","group":"Dates","shown":true,"written":false},{"name":"scale_code","label":"Scale code","description":"Power of ten the value is scaled by: 0 units, 3 thousands, 6 millions.","group":"Basics","shown":true,"written":false},{"name":"symbol","label":"Symbol","description":"StatCan symbol code for the value: 0 none, others mark estimates, suppressed or revised values.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"vectors","label":"Vectors","help":"StatCan vector ids, for example 41690973 for the all-items consumer price index.","example":"41690973","written":false},{"name":"latest_n","label":"Latest n","help":"How many latest periods to return per vector (1 to 1000).","example":"3","written":false}]}},"incidents":[]}