Foreign background, 20+ - Statistical data for Malmö's areas
Published by Stadskontoret
This API provides statistical data on the foreign-background status of residents aged 20 and over in Malmö's areas, distinguishing between foreign-born individuals, Swedish-born individuals with two foreign-born parents, and other Swedish-born residents. The underlying source is the Register of Total Population (RTB), and figures can be broken down by gender. Data can be retrieved by querying Malmö's open data API for datasets tagged with Malmö statistics, then using the returned resource IDs to fetch the corresponding statistical variables via a dedicated datastore search endpoint. Users are asked to cite the City Office, City of Malmö as the source when reusing the figures.The variable indicates whether an individual is foreign-born, born in Sweden with two foreign parents or other Swedish-born population. Data from the Register of Total Population (RTB). Only persons 20 years or older. Available broken down by gender. 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 quality
Data schema (8 fields)
Dictionary: 0 of 8 labelled by the source · 8 described · 0 with a unit · 8 with example values
Click a field to see example values.
| Field | Type | Description |
|---|---|---|
| Huvudkategori | text | Main category of the statistical variable.Main category of the statistical variable. |
| Ar | text | Calendar year for the statistical data.Calendar year for the statistical data. |
| Geografityp | text | Type of geographical statistical area.Type of geographical statistical area. |
| Geografikod | text | Code identifying the geographical statistical area.Code identifying the geographical statistical area. |
| Omrade | text | Name of the Malmö statistical area.Name of the Malmö statistical area. |
| Underkategori | text | Subcategory describing the foreign background group.Subcategory describing the foreign background group. |
| Kon | text | Gender of the population group.Gender of the population group. |
| Antal | text | Number of persons in the group.Number of persons in the group. |
Schema captured from ckan 22 hours 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": 228463,
"Antal": "4393",
"Omrade": "1: Västra hamnen, Gamla staden m fl",
"Geografikod": "GESO01",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Bakgrund",
"Underkategori": "Utrikes född"
}Record 2Ar: 2025 · Kon: Män
{
"Ar": "2025",
"Kon": "Män",
"_id": 228464,
"Antal": "5620",
"Omrade": "2: Kirsebergsstaden, Värnhem m fl",
"Geografikod": "GESO02",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Bakgrund",
"Underkategori": "Utrikes född"
}Record 3Ar: 2025 · Kon: Män
{
"Ar": "2025",
"Kon": "Män",
"_id": 228465,
"Antal": "3375",
"Omrade": "3: Riseberga, Jägersro m fl",
"Geografikod": "GESO03",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Bakgrund",
"Underkategori": "Utrikes född"
}Record 4Ar: 2025 · Kon: Män
{
"Ar": "2025",
"Kon": "Män",
"_id": 228466,
"Antal": "2428",
"Omrade": "4: Oxie Kyrkby, Oxievång m fl",
"Geografikod": "GESO04",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Bakgrund",
"Underkategori": "Utrikes född"
}Record 5Ar: 2025 · Kon: Män
{
"Ar": "2025",
"Kon": "Män",
"_id": 228467,
"Antal": "2268",
"Omrade": "5: Bunkeflostrand, Tygelsjö by m fl",
"Geografikod": "GESO05",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Bakgrund",
"Underkategori": "Utrikes född"
}Live sample captured at profiling time — values may have changed upstream.
Verification Status
Requests to opendata-api.malmo.se through this register, last 30 days
Day by day on the status pageUsing the API
Configuration
- Base URL
- https://opendata-api.malmo.se
- Format
- rest
License
- ✓ Redistributable
- ○ Attribution required
Query examples
curl -s 'https://opendata-api.malmo.se/api/3/action/package_show?id=52c2ca0d-7930-457f-aaf4-42c939ebca2a' -H 'Accept: application/json'Full CKAN dataset record: resources, licence, organization, freshness.
Dataset
Volume & freshness
License
No license declared upstream.
Source: ckan