Skip to content

← API reference

Housing construction in the kommune, last 8 quarters vs Norway

building_activity_municipality16 fields16 of these fields open in the demo
Source
SSB table 05889 (CC BY 4.0)
Geography
Municipality
Reported stale after
120 days
Access
Requires an API key granted this section
Contract version
1

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.

  • Kommune-wide totals of dwellings (all building types), not activity near the address: a busy kommune says nothing about the street.
  • SSB suppresses some small cells, so a small kommune's totals can read low, never high, and its trend is noisy. The trend compares the last four quarters with the four before, for the kommune and for Norway over the same quarters.

Fields

8 of 16 fields are value fields — the ones that decide whether a record actually says anything. The rest are context: identifiers, codes and timestamps. Fields marked “open” return values to anonymous callers; the rest require a key.

FieldTypeRoleDemo
municipality_codestring | nullcontextopen
municipality_namestring | nullcontextopen
latest_quarterstring | nullcontextopen
approved_last_4_quartersinteger | nullvalueopen
started_last_4_quartersinteger | nullvalueopen
completed_last_4_quartersinteger | nullvalueopen
started_previous_4_quartersinteger | nullcontextopen
started_change_pctnumber | null (%)valueopen
started_last_4_quarters_per_1000number | nullvalueopen
populationinteger | nullcontextopen
norway_started_last_4_quartersinteger | nullcontextopen
norway_started_change_pctnumber | null (%)valueopen
norway_started_last_4_quarters_per_1000number | nullcontextopen
trend_vs_norwaystring | nullvalueopen
quartersarray<object> | nullvalueopen
updated_atstring | nullcontextopen

Fetch this section

curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643?include=building_activity_municipality"

# paginated, one section at a time
curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643/sections/building_activity_municipality?limit=25"

Try it now

This is a real call against the public demo, from here. What appears below is what the API returned — not a sample.