Country of birth - Statistical data for Malmö's areas
This API provides statistical data on the population of Malmö's areas, broken down by country of birth into three categories: Sweden, other Nordic countries, and other countries, further divided by gender. The underlying data comes from the Register of Total Population (RTB). Datasets can be discovered via a resource search call to the Malmö open data API, which returns resource identifiers used to query the corresponding statistics through a datastore search endpoint, with results returned in JSON format. The data is published by the City Office, Malmö City, which should be credited as the source when the figures are used.Shows country of birth for the population divided into three categories: Sweden, Other Nordic countries and Other countries. The variable is divided by gender. 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 category of the statistic, here country of birth.Main category of the statistic, here country of birth. |
| Ar | text | Year the statistical data refers to.Year the statistical data refers to. |
| Geografityp | text | Type of geographic area used for the statistics.Type of geographic area used for the statistics. |
| Geografikod | text | Code identifying the geographic statistical area.Code identifying the geographic statistical area. |
| Omrade | text | Name of the statistical area within Malmö.Name of the statistical area within Malmö. |
| Underkategori | text | Subcategory of birth country: Sweden, other Nordic, or other countries.Subcategory of birth country: Sweden, other Nordic, or other countries. |
| Kon | text | Gender of the population group counted.Gender of the population group counted. |
| Antal | text | Number of people in the given category and area.Number of people in the given category and area. |
Schema captured from ckan_datastore 5 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": 76153,
"Antal": "13151",
"Omrade": "1: Västra hamnen, Gamla staden m fl",
"Geografikod": "GESO01",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Födelseland",
"Underkategori": "Sverige"
}Record 2Ar: 2025 · Kon: Män
{
"Ar": "2025",
"Kon": "Män",
"_id": 76154,
"Antal": "600",
"Omrade": "1: Västra hamnen, Gamla staden m fl",
"Geografikod": "GESO01",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Födelseland",
"Underkategori": "Övriga Norden"
}Record 3Ar: 2025 · Kon: Män
{
"Ar": "2025",
"Kon": "Män",
"_id": 76155,
"Antal": "4097",
"Omrade": "1: Västra hamnen, Gamla staden m fl",
"Geografikod": "GESO01",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Födelseland",
"Underkategori": "Övriga länder"
}Record 4Ar: 2025 · Kon: Män
{
"Ar": "2025",
"Kon": "Män",
"_id": 76156,
"Antal": "17848",
"Omrade": "1: Västra hamnen, Gamla staden m fl",
"Geografikod": "GESO01",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Födelseland",
"Underkategori": "Totalt"
}Record 5Ar: 2025 · Kon: Kvinnor
{
"Ar": "2025",
"Kon": "Kvinnor",
"_id": 76157,
"Antal": "13241",
"Omrade": "1: Västra hamnen, Gamla staden m fl",
"Geografikod": "GESO01",
"Geografityp": "Geografiska statistikområden",
"Huvudkategori": "Födelseland",
"Underkategori": "Sverige"
}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=96da3f7c-3b2a-4172-b8c4-4c6ed9dc88c8&limit=20' -H 'Accept: application/json'First rows of the resource with the field list (DataStore JSON).