Address details for Sweden

This page describes only country specific information for the address details response. See get address details documentation for an overview of the address details request and response in general.

Swedish address "details" property example

{
    "language": "sv-SE",
    "address": {
        "country": "Sweden",
        "locality": "Stockholm",
        "street": "Slottsbacken",
        "postcode": "111 30",
        "building": "1",
        "buildingNumber": 1,
        "buildingNumberAddition": null
    },
    "mailLines": [
        "Slottsbacken 1",
        "111 30 Stockholm"
    ],
    "location": {
        "latitude": 59.326339,
        "longitude": 18.072261,
        "precision": "Address"
    },
    "isPoBox": false,
    "country": {
        "name": "Sweden",
        "iso3Code": "SWE",
        "iso2Code": "SE"
    },
    "details": {
        "sweBuilding": {
            "number": 1,
            "addition": null,
            "validated": true,
            "type": "Street",
            "letter": null,
            "entranceName": null,
            "entranceNumber": null,
            "meterNumber": null,
            "popularName": null
        },
        "sweStreet": {
            "name": "Slottsbacken",
            "farmName": null
        },
        "sweLocality": {
            "name": "Stockholm",
            "postcode": "111 30",
            "postcodeNumber": 11130
        },
        "sweMunicipalityPart": {
            "name": "Gamla Stan"
        },
        "sweMunicipality": {
            "id": "0180",
            "name": "Stockholm"
        },
        "sweCounty": {
            "id": "01",
            "name": "Stockholm"
        },
        "sweDistrict": {
            "id": "215020",
            "name": "Stockholms domkyrkodistrikt"
        }
    }
}

Response property "details" for country code "SWE"

sweBuilding: struct

hide children Sweden building address details.

number: int

The number for the address (Swedish: adressnummer).

addition: string or null

The formatted addition for the address if available, null otherwise. May include a leading space if addition should be separated.

validated: boolean

Indication whether the address could be validated. When true it means that the combination of building number and building number addition exists.

type: string

Type of address. One of Street, Village, Farm, or Meter (Swedish: Gatuadressplats, Byadressplats, Gårdsadressplats, or Metertalsadressplats).

letter: string or null

Address addition part: letter (1-2 letters) (Swedish: bokstavstillägg), placed immediately after building number (or meter number if set).

entranceName: string or null

Address addition part: entrance (1-2 letters: U: Upstairs, UH: Right stairs, V: Left stairs) (Swedish: lägestillägg), placed after building number/letter with space.

entranceNumber: string or null

Address addition part: entrance number (up to 4 numbers) (Swedish: lägestilläggsnummer), placed immediately after entrance.

meterNumber: string or null

Address addition part: meter number (up to 4 numbers) (Swedish: avstånd från vägen), placed immediately after building number with a dash ('-') in between.

popularName: string or null

Popular name (Swedish: Populärinamn) that can be added on separate line before address to help locate it in general. Not officially part of address.

sweStreet: struct

hide children Sweden street, village area, or farm area details.

name: string

Name of the street, village area, or farm area.

farmName: string or null

If street is a farm area, the farm part of the street name (Swedish: gårdsadressplats)

sweLocality: struct

hide children Sweden postal locality details. (Swedish: postort)

name: string

Name of the postal area (Swedish: postort)

postcode: string

Postcode (Swedish: postnummer) in address format

postcodeNumber: int

Postcode (Swedish: postnummer) in numeric format

sweMunicipalityPart: struct

hide children Sweden municipality geographical part details. (Swedish: geografisk kommundel)

name: string

Name of the municipality geographical part (Swedish: geografisk kommundel), which makes the street unique inside the municipality.

sweMunicipality: struct

hide children Sweden municipality details. (Swedish: kommun)

id: string

Municipality code, zero-padded 4-digit number (Swedish: kommunkod)

name: string

Municipality name (Swedish: kommunnamn)

sweCounty: struct

hide children Sweden county details. (Swedish: län)

id: string

County code, zero-padded 2 digit number (Swedish: länskod)

name: string

County name (Swedish: länsnamn)

sweDistrict: struct or null

hide children Sweden district details. (Swedish: distrikt) Not specified for a small number of remote addresses (~100).

id: string

District code, 6 digit number (Swedish: distriktskod)

name: string

District name (Swedish: distriktsnamn)