GET /compound/smiles/{smiles}/cids/{format}

nih.gov:pubchem-pug-rest

Summary: Get CIDs by SMILES
Operation ID: getCidsBySmiles
Auth: unknown
Description

Retrieve CIDs for a compound by its SMILES string (Simplified Molecular Input Line Entry System)

Parameters (2)

format (string, path, required)

Response format

Constraints: {'enum': ['JSON', 'XML', 'TXT']}

smiles (string, path, required)

SMILES string representing the compound structure

Examples (1)

TitleTypeURLAction
Get CIDs by SMILES openapi-spec https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/smiles/CC(=O)Oc1ccccc1C(=O)O/cids/JSON

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 09:46:24.804025 200 646ms