---
id: "inchl"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["chemistry"]
langs: ["common"]
quality: 85
url: "http://registry.apicrafter.io/datatype/inchl"
---

# International Chemical Identifier (InChl) (`inchl`)

International Chemical Identifier (InChI): a textual identifier for chemical substances defined by IUPAC. It starts with 'InChI='.

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

## Detection

Regular expression (Python `re`):

```
InChI=1S?/([0-9]*[A-Z][ub]?[a-z]?[0-9]*\.?)+(/[0-9A-Za-z+\-(),.*;?]+)*
```

## Examples

- `InChI=1S/C6H6/c1-2-4-6-5-3-1/h1-6H` — benzene
- `InChI=1S/C10H9NO2/c12-10(13)5-7-6-11-9-4-2-1-3-8(7)9/h1-4,6,11H,5H2,(H,12,13)` — indoleacetic acid

## Mappings

- autotype: `inchi`
- bioregistry: `inchi`
- schema_org: `inChI`
- wikidata: `P234`

## Metacrafter rules

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

- `inchibyfieldname` (field, `common/chemistry.yaml`)
- `inchibyvalue` (data, `common/chemistry.yaml`)

## Supported by tools

- `autotype`
- `metacrafter`

## Translations

- ru: Международный химический идентификатор: Международный химический идентификатор

## Sources

- wikidata: <https://www.wikidata.org/wiki/Property:P234>
- bioschemas: <https://bioschemas.org/inChI>
- schema.org: <https://schema.org/inChI>
- wikipedia: <https://en.wikipedia.org/wiki/International_Chemical_Identifier>

## Quality

Score 85/100. Missing: anchored regexp, negative example.

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