Relocations - Statistical data for Malmö's areas
This API provides annual data on relocations to and from each statistical area of Malmö, drawn from the Register of Total Population (RTB). For each area, movements are broken down into flows to/from the rest of the city, the rest of Skåne (excluding Malmö), the rest of Sweden (excluding Skåne), and immigration/emigration; sub-area detail is not available. Datasets can be discovered via the Malmö City open data API's resource search, using the returned resource IDs to query the datastore for the specific statistical variable. The publisher is the City Office, Malmö City, which should be cited as the source when reusing the figures.Shows migrations during the previous year. Shows migrations to and from each area divided into to/from the rest of the city, Skåne except Malmö, Sweden except Skåne and immigration/emigration. This data is not reported for sub- areas. Data from the Register of Total Population (RTB). Variable description You find it here API Using the API call https://opendata%2dapi.malmo.se/api/3/action/resourcesearch?query=description:malm%C3%B6%20statistics,_ you can retrieve all data sets that contain statistical data for Malmö's areas in JSON format. In each instance of result/results in the JSON result, there is an "id" property for each resource. The value of "id" can be used to retrieve the data for the respective statistics variable (according to the value of the "name" property). API call to retrieve the statistics data: https://opendata%2dapi.malmo.se/api/3/action/datastoresearch?resource_id=[id value]_ Feel free to use the numbers, but cite “City Office, Malmö City” as the source.
Trust score
How is this computed?Weighted across five axes. Tap a ring for what it measures.
Data schema (8 fields)
Click a field to see example values.
| Field | Type | Description |
|---|---|---|
| Huvudkategori | text | Main statistical category, e.g. relocations.Main statistical category, e.g. relocations. |
| Ar | text | Year the migration data refers to.Year the migration data refers to. |
| Geografityp | text | Type of geographic area classification used.Type of geographic area classification used. |
| Geografikod | text | Code identifying the geographic statistical area.Code identifying the geographic statistical area. |
| Omrade | text | Name of the Malmö area.Name of the Malmö area. |
| Underkategori | text | Subcategory specifying the type of move, e.g. inflow within the municipality.Subcategory specifying the type of move, e.g. inflow within the municipality. |
| Kon | text | Gender of the persons counted.Gender of the persons counted. |
| Antal | text | Number of people who moved for this category.Number of people who moved for this category. |
Schema captured from ckan_datastore 6 days ago.
Query the data
Pick columns and a sort, then fetch a live preview straight from the source. Choose an API-filterable column (marked ▾) under “Where” to pick from its list of values.
Sample data (5 records)
Record 1Ar: 2025 · Kon: Män
{
"Ar": "2025",
"Kon": "Män",
"_id": 25314,
"Antal": "2281",
"Omrade": "1: Västra hamnen, Gamla staden m fl",
"Geografikod": "GESO01",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Flyttningar",
"Underkategori": "Inflyttning inom kommun"
}Record 2Ar: 2025 · Kon: Män
{
"Ar": "2025",
"Kon": "Män",
"_id": 25315,
"Antal": "2205",
"Omrade": "2: Kirsebergsstaden, Värnhem m fl",
"Geografikod": "GESO02",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Flyttningar",
"Underkategori": "Inflyttning inom kommun"
}Record 3Ar: 2025 · Kon: Män
{
"Ar": "2025",
"Kon": "Män",
"_id": 25316,
"Antal": "1171",
"Omrade": "3: Riseberga, Jägersro m fl",
"Geografikod": "GESO03",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Flyttningar",
"Underkategori": "Inflyttning inom kommun"
}Record 4Ar: 2025 · Kon: Män
{
"Ar": "2025",
"Kon": "Män",
"_id": 25317,
"Antal": "711",
"Omrade": "4: Oxie Kyrkby, Oxievång m fl",
"Geografikod": "GESO04",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Flyttningar",
"Underkategori": "Inflyttning inom kommun"
}Record 5Ar: 2025 · Kon: Män
{
"Ar": "2025",
"Kon": "Män",
"_id": 25318,
"Antal": "917",
"Omrade": "5: Bunkeflostrand, Tygelsjö by m fl",
"Geografikod": "GESO05",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Flyttningar",
"Underkategori": "Inflyttning inom kommun"
}Live sample captured at profiling time — values may have changed upstream.
Verification Status
Using the API
Configuration
- Base URL
- https://opendata-api.malmo.se
- Format
- rest
Query examples
curl -s 'https://opendata-api.malmo.se/api/3/action/datastore_search?resource_id=0d559d15-ec0f-4ea2-9519-ccba2e4ff55d&limit=20' -H 'Accept: application/json'First rows of the resource with the field list (DataStore JSON).