---
id: "de_wkn"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["finances"]
country: ["DE"]
langs: ["common"]
quality: 100
url: "http://registry.apicrafter.io/datatype/de_wkn"
---

# German securities identification number (WKN) (`de_wkn`)

Wertpapierkennnummer, the 6-character code of digits and capital letters (without I and O) that identifies securities in Germany. It has no check digit and no internal structure, and the ISIN is replacing it. A German ISIN is DE000, the WKN and an ISIN check digit.

- Personal data (PII): no
- Categories: Finances and banking (finances)
- Countries: Germany (DE)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[0-9A-HJ-NP-Z]{6}$
```

## Examples

- `A0DPBF` — Real-world value published online (ISIN DE000A0DPBF7)
- `LYX0AB` — Real-world value published online (ISIN DE000LYX0AB6)
- `A0DPBF7` (invalid example) — One character too many
- `AOMNRK` (invalid example) — The letter O is not used

## Mappings

- stdnum: `de.wkn`

## Supported by tools

- `dataprep`
- `pythonstdnum`

## Translations

- de: Wertpapierkennnummer (WKN)
- ru: Идентификационный номер ценной бумаги в Германии (WKN): Шестисимвольный код ценной бумаги из цифр и заглавных букв (без I и O), без контрольной цифры; его заменяет ISIN.

## Sources

- wikipedia: <https://de.wikipedia.org/wiki/Wertpapierkennnummer>
- other: <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.de.wkn.html>
- other: <https://docs.dataprep.ai/user_guide/clean/clean_de_wkn.html>

## Quality

Score 100/100.

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