---
id: "gb_crs_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "UK railway station code (CRS code)"
regexp: "^[A-Z]{3}$"
categories: ["transport"]
country: ["GB"]
langs: ["common"]
quality: 95
url: "https://registry.apicrafter.io/datatype/gb_crs_code"
---

# UK railway station code (CRS code) (`gb_crs_code`)

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

Three-letter code of a railway station of the United Kingdom, known as the CRS code after the Computer Reservation System, also called the National Reservation System code or three-letter code (TLC). National Rail uses it in timetables and ticketing (BHM for Birmingham New Street, PAD for London Paddington); the station usage tables of the Office of Rail and Road give it in a TLC column.

- Personal data (PII): no
- Categories: Transportation (transport)
- Countries: United Kingdom (GB)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[A-Z]{3}$
```

## Examples

- `BHM` — Birmingham New Street; Wikidata example
- `PAD` — London Paddington; Wikidata example
- `HFX` — Halifax, as in the station usage tables of Calderdale Data Works
- `Hfx` (invalid example) — Lower case letters

## Mappings

- wikidata: [`P4755`](https://www.wikidata.org/wiki/Property:P4755)

## Metacrafter rules

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

- `gbcrscodebyname` (field, `gb/gb_transport.yaml`)

## Supported by tools

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

## Sources

- wikidata: <https://www.wikidata.org/wiki/Property:P4755>

## Quality

Score 95/100. Missing: translation.

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