{"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},"version":"1.0","contract_hash":"5f57f48e5f8682c29d693ca0e4b3d1bb357f60ac5ba81328ba0a5332ae19e2a3","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.712Z","activated_at":"2026-12-06T03:57:27.712Z","active":true,"contract_hash":"5f57f48e5f8682c29d693ca0e4b3d1bb357f60ac5ba81328ba0a5332ae19e2a3","fields_count":8}]}