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

# PubChem Compound ID (CID) (`pubchem_cid`)

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

Number of a unique chemical structure in the PubChem Compound database of the US National Center for Biotechnology Information. Substance records (SIDs) deposited by data sources are standardized into compounds.

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

## Detection

Regular expression (Python `re`):

```
^[1-9]\d{0,8}$
```

## Examples

- `5426` — thalidomide
- `5284603` — oxycodone
- `11125` — lithium carbonate

## Mappings

- bioregistry: `pubchem.compound`
- wikidata: `P662`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/PubChem>
- doc: <https://pubchem.ncbi.nlm.nih.gov/docs/compounds>
- wikidata: <https://www.wikidata.org/wiki/Property:P662>

## Quality

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

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