---
id: "un_number"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["transport", "chemistry"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/un_number"
---

# UN number (dangerous goods) (`un_number`)

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

Four-digit number that the UN Committee of Experts on the Transport of Dangerous Goods assigns to a hazardous substance or article, such as 1203 for petrol. It appears on transport documents and orange hazard plates.

- Personal data (PII): no
- Categories: Transportation (transport), Chemistry (chemistry)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

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

## Examples

- `1687` — sodium azide
- `1170` — ethanol

## Mappings

- wikidata: `P695`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/UN_number>
- wikidata: <https://www.wikidata.org/wiki/Property:P695>

## Quality

Score 80/100. Missing: negative example, translation, detector coverage.

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