---
id: "lccn"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["objectids"]
langs: ["common"]
quality: 85
url: "http://registry.apicrafter.io/datatype/lccn"
---

# Library of Congress Control Number (LCCN) (`lccn`)

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

Serial number of a catalog record of the US Library of Congress, used since 1898. It is made of a year and a six-digit serial number with leading zeros. The year has two digits for 1898 to 2000 and four digits from 2001. A hyphen between year and serial number is optional. Some numbers start with a short alphabetic prefix such as n, sh or sn. The LCCN is not related to the Library of Congress Classification.

- Personal data (PII): no
- Categories: Objects identifiers (objectids)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[a-z]{0,3}(?:\d{2}|\d{4})-?\d{6}$
```

## Examples

- `11025047` — 1911 edition of Treasure Island
- `sn00063530` — Serial: Malheur Enterprise (newspaper)
- `n81092084` — Name authority: Royal Society for the Prevention of Cruelty to Animals
- `sh85037527` — Subject heading: dialect
- `n7902293` (invalid example) — The serial number must have six digits

## Mappings

- bioregistry: `lccn`
- wikidata: `P1144`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Library_of_Congress_Control_Number>
- wikidata: <https://www.wikidata.org/wiki/Property:P1144>
- wikidata: <https://www.wikidata.org/wiki/Property:P244>

## Quality

Score 85/100. Missing: translation, detector coverage.

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