Skip to main content

Payload/API Response

The current API version returns a one-level JSON file that conforms to a simple tabular structure. The JSON files are similarly structured across all indicators but will conform to the indicator specific categories in the tables below.

The JSON file returned contains two components: data and meta . Data contains all variables, labels, and values associated with the LMI data. Meta contains information about the paginated response. The API has a limit of 1000 records per page, so pagnation is required by the API user for large responses.

Table of Payload Structure

Column NameData TypeDescriptionIndicator Category Inclusion
sourceStringName of data source (e.g., “LFS-RTRA”, “Vicinity Jobs”).All
as_of_dateStringDate indicator of when the data was updated in the LMIC Data Hub. Standard format is: “YYYY-MM-DD”All
ref_dateString------Work Requirements
dateStringDate indicator of reference period. First of the month is used for monthly data. Standard format is: “YYYY-MM-DD”Standard and Job Postings
time_dimensionStringIndicates the frequency of the estimate. Possible values are “monthly”, “quarterly” and “annual”Standard and Job Postings
countryStringReturns “Canada”All
provinces_territoriesStringTwo-character province or territory code (e.g, “ON”, “QC”, “YT”). A NULL value indicates that the record is national.All
cmaStringEnglish/French name of Census Metropolitan Area. A NULL value indicates data are national, provincial/ territorial or for an economic region.Standard Indicators
erStringEnglish/French name of Economic Region. A NULL value indicates data are national or provincial/ territorial level data.All
census_divisionStringEnglish/French name for Census division. A NULL value indicates data are national, provincial/ territorial, or economic region level. If this value is not NULL the economic region value is also not NULLJob Postings and Work Requirements
sexStringEnglish/French name of sex label related to the data. Not NULL for all records. Possible values are: “Both sexes”, “Males”, “Females”Standard Indicators
ageStringEnglish/French name of age label related to the data. Not NULL for all records. Examples: “15 years and over”; “15 to 24 years”Standard Indicators
noc_levelNumericOccupation level of detail (1 to 4). Also includes the special values “-1” and “-2” indicating, respectively, unknown occupation and occupations known but too small to report independently are thus rolled up into an “Other” group. NULL values indicate observation is aggregated across all occupations. See NOC Structure for further details.All
nocStringOccupation code. NULL values indicate observation is aggregated across all occupations. See NOC Structure for further details.All
noc_titleStringEnglish/French name of title of occupational category.All
naics_levelNumericSector/industry level of detail (2 to 4)*. Also includes the special value “0” which indicates the occupational group is non-standard (such groupings appear only in certain CODR tables). NULL values indicate observation is aggregated across all sectors. See NAICS Structure for further details.Standard Indicators
naics_titleStringEnglish/French name of title of sector/industry category.Standard Indicators
naicsStringSector/ industry code. See NAICS Structure for further details.Standard Indicators
seasonality_adjustedStringEnglish/French name of label for transformations applied to data. Default is “unadjusted”.Indicators Standard
work_requirementStringEnglish/French name of label of work requirement items based on Vicinity Jobs’ taxonomy.Work Requirements
indicator_nameStringEnglish/French name of label for indicator, e.g., “Employment level”All
indicator_valueNumericNumerical value of the indicator. Percentages formatted as a fraction of 100All