---
id: "uprn"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["geo"]
country: ["GB"]
langs: ["en"]
quality: 83
url: "http://registry.apicrafter.io/datatype/uprn"
---

# UK Unique Property Reference Number (UPRN) (`uprn`)

The Unique Property Reference Number (UPRN) is a unique alphanumeric identifier (a geocode) for every spatial address in Great Britain and can be found in Ordnance Survey AddressBase products.

- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: United Kingdom (GB)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{1,12}$
```

## Examples

- `9051138577` — Marischal College

## Mappings

- wikidata: `P8399`

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `uprnfield` (field, `gb/gb_geo.yaml`)
- `uprnvalue` (data, `gb/gb_geo.yaml`)

## Supported by tools

- `metacrafter`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/UPRN>
- wikidata: <https://www.wikidata.org/wiki/Property:P8399>

## Quality

Score 83/100. Missing: second example, negative example, translation.

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