Retrieve chemical identifiers and safety-relevant properties via the PubChem PUG REST API

domain: pubchem.ncbi.nlm.nih.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Identify the input you have: chemical name, CAS number, SMILES, or PubChem CID
  2. Construct a PUG REST request following the input/operation/output pattern documented at pubchem.ncbi.nlm.nih.gov/docs/pug-rest
  3. Request the output format you need, such as JSON or CSV
  4. Use the returned CID to pull additional properties (molecular weight, structure, related safety data) in follow-up calls
  5. Respect NCBI's informal rate-limit guidance to avoid throttling on high-volume lookups

Known gotchas

Related routes

Retrieve GHS hazard classification data for a chemical via PubChem PUG-View
pubchem.ncbi.nlm.nih.gov · 5 steps · unrated
Look up compound properties by SMILES or CID via PubChem PUG REST
pubchem.ncbi.nlm.nih.gov · 6 steps · unrated
normalize drug names and retrieve RxCUIs via the RxNorm API
rxnorm · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans