CAS Registry Number
ID casrn
DatatypeNot PIIidentifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Identifier that the Chemical Abstracts Service (CAS) gives to a chemical substance: two to seven digits, a hyphen, two digits, a hyphen and a check digit.
- Categories
- Chemistry
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- AutoType benchmark
cas- Bioregistry
cas- python-stdnum
stdnum.casrn- Wikidata
- P231
- Quality
- 95/100 · missing: translation
- Metacrafter rules
- 2 rules (1 by field name, 1 by value)
casrnbyfieldnamefield, common/chemistry.yamlcasrnvaluedata, common/chemistry.yaml
- Supported by tools
- Auto-Type, DataPrep, metacrafter, python-stdnum
Regular expression
^[1-9]\d{1,6}-\d{2}-\d$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 7732-18-5 | Water |
| 64-17-5 | Ethanol |
| 50-00-0 | Formaldehyde |
| 7732-18-57 invalid | One character too many |
Sources
- wikipedia: CAS Registry Number (en.wikipedia.org)
- wikidata: wikidata.org/wiki/Property:P231
- other: arthurdejong.org/python-stdnum/doc/2.2/stdnum.casrn.html
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/casrn - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/chemistry/casrn.yamlon GitHub