GET /compound/smiles/{smiles}/cids
Summary: Get CIDs by SMILES
Operation ID: getCIDsBySMILES
Auth: none
Operation ID: getCIDsBySMILES
Auth: none
Description
Search for compounds by their SMILES string representation.
Parameters (1)
smiles
(string, path, required)
SMILES string (URL-encoded)
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Water molecule | curl |
https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/smiles/O/cids |
|
| Ethanol | curl |
https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/smiles/CCO/cids |
|
| Aspirin (URL-encoded) | curl |
https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/smiles/CC%28%3DO%29Oc1ccccc1C%28%3DO%29O/cids |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:30:31.005116 | 200 | 724ms | |
| 2026-03-23 10:29:16.743448 | 200 | 617ms | |
| 2026-03-23 10:15:53.278500 | 200 | 757ms |
Response Changes
| When | Old | New |
|---|---|---|
| 2026-03-23 10:29:16.743448 | 74cf082a1881 |
217350bd2700 |
| 2026-03-23 10:30:31.005116 | 217350bd2700 |
585b0858a881 |