Statistics Canada Series
Any Statistics Canada time series by vector id: title, table, frequency, scale and the latest observations with release times.
GET
/api/v1/economy/canada/seriesData source
- Statistics Canada Web Data ServiceStatistics Canada
Query parameters
| Parameter | Description | Try value |
|---|---|---|
vectorstring required | Vector id (41690973 is CPI all-items, 2062815 the unemployment rate) | |
periodsnumber | Latest observations (default 12, max 120) | |
apikeystring required | Your API key. Can also be sent as the X-API-Key header. | demo key used here |
Response envelope
Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.