---
id: "gb_usrn"
kind: "datatype"
status: "draft"
is_pii: false
name: "UK Unique Street Reference Number (USRN)"
regexp: "^\\d{8}$"
categories: ["geo", "transport"]
country: ["GB"]
langs: ["en"]
quality: 85
url: "https://registry.apicrafter.io/datatype/gb_usrn"
---

# UK Unique Street Reference Number (USRN) (`gb_usrn`)

> **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.

Eight-digit number of a street in the street gazetteers of Great Britain: the National Street Gazetteer of England and Wales and the Street Gazetteer of Scotland. Local authorities assign the numbers from ranges allocated to them, so the streets of one authority share the first digits (380 in Stirling).

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

## Detection

Regular expression (Python `re`):

```
^\d{8}$
```

## Examples

- `47901305` — Royal Crescent, Bath; example of Wikipedia
- `38002160` — A street of Stirling
- `122046218` (invalid example) — A UPRN, the number of a property

## Metacrafter rules

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

- `gbusrnbyname` (field, `gb/gb_geo.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Unique_Street_Reference_Number>
- doc: <https://www.gov.uk/government/publications/open-standards-for-government/identifying-property-and-street-information>

## Quality

Score 85/100. Missing: mapping (Wikidata, Schema.org, ...), translation.

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