Skip to content

← API reference

Population statistics

population19 fields19 of these fields open in the demo
Source
SSB 11342 / 06913 / 07459
Geography
Municipality
Reported stale after
400 days
Access
Requires an API key granted this section
Contract version
1
In packages
area_context

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.

  • Municipality-level statistics; time_period is the observation period, updated_at is import time.

Fields

13 of 19 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
table_idstring | nullcontextopen
region_codestring | nullcontextopen
region_namestring | nullcontextopen
time_periodstring | nullcontextopen
total_populationinteger | null (count)valueopen
population_trendobject | nullvalueopen
population_changeinteger | null (count)valueopen
birthsinteger | null (count)valueopen
deathsinteger | null (count)valueopen
immigrationinteger | null (count)valueopen
emigrationinteger | null (count)valueopen
net_migrationinteger | null (count)valueopen
changes_yearstring | null (årstall)contextopen
population_densitynumber | null (per km²)valueopen
age_0_14integer | null (count)valueopen
age_15_64integer | null (count)valueopen
age_65_plusinteger | null (count)valueopen
median_agenumber | null (years)valueopen
updated_atstring | nullcontextopen

Fetch this section

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

# paginated, one section at a time
curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643/sections/population?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.