Skip to content

← API reference

People moving to and from the kommune, within Norway and from abroad

migration20 fields20 of these fields open in the demo
Source
SSB 09588 (Flytting)
Geography
Municipality
Reported stale after
540 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.

  • Registered moves per year for the kommune: the *_domestic figures are moves to and from other Norwegian kommuner, immigration and emigration are moves across the border. Rates are per 1 000 of the year's middle population. A kommune can grow on immigration while losing residents to the rest of Norway; the split is the point of this section.
  • county_* are the same rates for the county the address is in today, for comparison.

Fields

12 of 20 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
yearinteger | null (årstall)contextopen
in_migrationinteger | nullvalueopen
out_migrationinteger | nullvalueopen
net_migrationinteger | nullvalueopen
in_domesticinteger | nullvalueopen
out_domesticinteger | nullvalueopen
net_domesticinteger | nullvalueopen
immigrationinteger | nullvalueopen
emigrationinteger | nullvalueopen
net_immigrationinteger | nullvalueopen
net_migration_per_1000number | nullvalueopen
net_domestic_per_1000number | nullvalueopen
net_international_per_1000number | nullvalueopen
county_namestring | nullcontextopen
county_net_migration_per_1000number | nullcontextopen
county_net_domestic_per_1000number | nullcontextopen
county_net_international_per_1000number | nullcontextopen
updated_atstring | nullcontextopen

Fetch this section

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

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