GET /compound/cid/{cid}/sdf
Summary: Get compound SDF by CID
Operation ID: getCompoundSDF
Auth: none
Operation ID: getCompoundSDF
Auth: none
Description
Retrieve the compound structure in SDF (Structure-Data File) format
Parameters (1)
cid
(string, path, required)
PubChem Compound ID
Examples (4)
| Title | Type | URL | Action |
|---|---|---|---|
| Get SDF for water (CID 962) | curl |
https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/962/sdf |
|
| Get SDF for caffeine (CID 2519) | curl |
https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/2519/sdf |
|
| Get SDF for aspirin (CID 2244) | curl |
https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/2244/sdf |
|
| Get compound SDF by CID | openapi-spec |
https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/2244/sdf |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:09:38.788995 | 200 | 456ms | |
| 2026-03-23 09:34:16.649800 | 200 | 452ms | |
| 2026-03-23 09:19:07.452852 | 200 | 454ms | |
| 2026-03-23 09:13:43.501611 | 200 | 353ms |
Response Changes
| When | Old | New |
|---|---|---|
| 2026-03-23 09:19:07.452852 | c46c21cf5474 |
f26db3687197 |
| 2026-03-23 09:34:16.649800 | f26db3687197 |
aeceac430643 |
| 2026-03-23 10:09:38.788995 | aeceac430643 |
6b645943a3e0 |