Foreign background - Statistical data for Malmö's areas
Published by Stadskontoret
This API provides statistical data on foreign background for areas within Malmö, Sweden, distinguishing between foreign-born residents, Sweden-born individuals with two foreign-born parents, and other Sweden-born residents. The underlying data originates from the Register of Total Population (RTB) and can be broken down by gender. Datasets are accessible through Malmö's open data platform: a resource search call returns available statistical datasets for Malmö's areas in JSON format, each with an identifier that can be used in a subsequent data store query to retrieve the specific variable's values. The publisher requests that the City Office, Malmö City, be cited as the source when the data is used.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). 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. |
| År | numeric | Calendar year of the statistical data.Calendar year of the statistical data. |
| Geografityp | text | Type of geographic statistical area.Type of geographic statistical area. |
| Geografikod | text | Code identifying the geographic statistical area.Code identifying the geographic statistical area. |
| Område | text | Name of the Malmö statistical area.Name of the Malmö statistical area. |
| Underkategori | text | Subcategory of foreign background status.Subcategory of foreign background status. |
| Kön | text | Gender of the population group.Gender of the population group. |
| Antal | text | Number of persons in the population group.Number of persons in the population 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 1_id: 1 · År: 2025
{
"_id": 1,
"År": 2025,
"Kön": "Män",
"Antal": "4697",
"Område": "1: Västra hamnen, Gamla staden m fl",
"Geografikod": "GESO01",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Bakgrund",
"Underkategori": "Utrikes född"
}Record 2_id: 2 · År: 2025
{
"_id": 2,
"År": 2025,
"Kön": "Män",
"Antal": "6055",
"Område": "2: Kirsebergsstaden, Värnhem m fl",
"Geografikod": "GESO02",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Bakgrund",
"Underkategori": "Utrikes född"
}Record 3_id: 3 · År: 2025
{
"_id": 3,
"År": 2025,
"Kön": "Män",
"Antal": "3645",
"Område": "3: Riseberga, Jägersro m fl",
"Geografikod": "GESO03",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Bakgrund",
"Underkategori": "Utrikes född"
}Record 4_id: 4 · År: 2025
{
"_id": 4,
"År": 2025,
"Kön": "Män",
"Antal": "2698",
"Område": "4: Oxie Kyrkby, Oxievång m fl",
"Geografikod": "GESO04",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Bakgrund",
"Underkategori": "Utrikes född"
}Record 5_id: 5 · År: 2025
{
"_id": 5,
"År": 2025,
"Kön": "Män",
"Antal": "2645",
"Område": "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=541192ed-e69b-4212-a0c8-415de7920ed9' -H 'Accept: application/json'Full CKAN dataset record: resources, licence, organization, freshness.
Dataset
Volume & freshness
License
No license declared upstream.
Source: ckan