GET /compound/inchikey/{inchikey}/cids

nih.gov:pubchem-pug-rest

Summary: Get CIDs by InChIKey
Operation ID: getCIDsByInChIKey
Auth: none
Description

Search for compounds by their InChIKey.

Parameters (1)

inchikey (string, path, required)

InChIKey (27-character hash)

Examples (3)

TitleTypeURLAction
Get CID for Aspirin by InChIKey curl https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/inchikey/BSYNRYMUTXBXSQ-UHFFFAOYSA-N/cids
Get CID for Caffeine by InChIKey curl https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/inchikey/RYYVLZVUVIJVGH-UHFFFAOYSA-N/cids
Get CID for Glucose by InChIKey curl https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/inchikey/WQZGKKKJIJFFOK-GASJEMHNSA-N/cids

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 10:24:02.169916 200 522ms
2026-03-23 10:21:52.226338 200 355ms
2026-03-23 09:27:02.152353 200 442ms

Response Changes

WhenOldNew
2026-03-23 10:21:52.226338 58a01255f2d6 217350bd2700
2026-03-23 10:24:02.169916 217350bd2700 17a6de743e46