Food-service hygiene inspections of nearby premises (Smilefjes)
food_inspections20 fieldsNot in the demo
Available with: bought bundle or agreed plan (all fields) · Pricing
What this does not say
Quoted verbatim from the section’s warnings field, exactly as the API returns it. They are not translated: a translation would show something other than what your response actually contains.
- Each row is the latest inspection collected for one food-service premises within 1.5 km, nearest first. The grades are Mattilsynet's own values, stored as published, and are not interpreted here; inspection_date is the day of that inspection and can be years old. A grade describes that inspection, not the premises today, and is not a guarantee about the food or the kitchen. total_grade is the worst of the four theme grades Mattilsynet prints on the poster (routines_grade: Rutiner og ledelse; premises_grade: Lokaler og utstyr; food_handling_grade: Mathåndtering og tilberedning; labelling_grade: Merking og sporbarhet), each 0 no breach, 1 minor breach without follow-up, 2 breach requiring follow-up, 3 serious breach, 4 not applicable, 5 not assessed. hygiene_grade, cleanliness_grade and maintenance_grade are legacy names that Mattilsynet's data has never filled; they are always null.
- Coverage is whatever the daily collection has stored (GET /coverage, source food_inspections): a premises can be missing because it is not inspected, newly opened, or because Mattilsynet's file carries no position, so a premises is placed only when its street address and postal code match the Kartverket address register unambiguously (the address points all within 150 m of each other and in one kommune); a range such as "3-5", a place name or a misspelt street leaves it unplaced and out of this section. latitude and longitude are that address point, not a surveyed position of the premises. An empty section is therefore not evidence that no food-service premises are nearby. Straight-line EPSG:25833 distance, not travel distance.
- Sole traders (enkeltpersonforetak) and premises whose organisasjonsnummer does not match Enhetsregisteret are left out, because a sole trader's trading name is its owner's.
- Licence: Mattilsynet publishes the results publicly; no licence text is stored with the data and none has been checked against a stated licence by Approach. Confirm Mattilsynet's terms before redistributing the section in bulk. Attribution: Mattilsynet.
Fields
8 of 20 fields are value fields — the ones that decide whether a record actually says anything. The rest are context: identifiers, codes and timestamps.
| Field | Type | Role |
|---|---|---|
| inspection_id | string | null | context |
| establishment_name | string | null | value |
| org_number | string | null | context |
| address | string | null | context |
| postal_code | string | null | context |
| postal_area | string | null | context |
| municipality_code | string | null | context |
| inspection_date | date | null | value |
| total_grade | string | null | value |
| routines_grade | string | null | value |
| premises_grade | string | null | value |
| food_handling_grade | string | null | value |
| labelling_grade | string | null | value |
| hygiene_grade | string | null | context |
| cleanliness_grade | string | null | context |
| maintenance_grade | string | null | context |
| latitude | number | null | context |
| longitude | number | null | context |
| straight_line_distance_m | integer | null (m) | value |
| updated_at | timestamp | null | context |
Fetch this section
Send the key in the X-API-Key header. The section can be fetched with the rest of the address, or on its own with pagination.
curl --fail-with-body --silent --show-error \ -H "X-API-Key: $APPROACH_API_KEY" \ 'https://api.approach.no/api/v1/addresses/285717643?include=food_inspections' # paginated, one section at a time curl --fail-with-body --silent --show-error \ -H "X-API-Key: $APPROACH_API_KEY" \ 'https://api.approach.no/api/v1/addresses/285717643/sections/food_inspections?limit=25'
Why it cannot be tried here
This section is not part of the public demo projection. That is a licensing and privacy decision, not a sign the data is missing: it is served to customers granted the section.