---
id: "no_postcode"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["geo", "pii", "common"]
country: ["NO"]
langs: ["no"]
quality: 100
url: "http://registry.apicrafter.io/datatype/no_postcode"
---

# Norwegian postal code (`no_postcode`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Postal code (postnummer) in Norway: four digits. Oslo codes start with 0.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Norway (NO)
- Languages: Norwegian (no)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{4}$
```

## Examples

- `0150` — Oslo
- `5003` — Bergen
- `7011` — Trondheim
- `150` (invalid example)

## Mappings

- fta: `POSTAL_CODE.POSTAL_CODE_NO`

## Supported by tools

- `fta`

## Translations

- ru: Почтовый индекс Норвегии

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Postal_codes_in_Norway>
- other: <https://github.com/tsegall/fta/blob/main/SemanticTypes.md>

## Quality

Score 100/100.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/no_postcode.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/NO/geo/no_postcode.yaml>
