PubChem PUG View API

The PUG View API provides access to the full structured compound and substance pages as seen on the PubChem website, organized as hierarchical sections covering names, structures, physical and chemical properties, safety data, pharmacology, biological activities, toxicology, literature references, and more.

Documentation

API entry from apis.yml

apis.yml Raw ↑
name: PubChem PUG View API
description: The PUG View API provides access to the full structured compound and substance pages as seen
  on the PubChem website, organized as hierarchical sections covering names, structures, physical and
  chemical properties, safety data, pharmacology, biological activities, toxicology, literature references,
  and more.
humanURL: https://pubchem.ncbi.nlm.nih.gov/docs/pug-view
baseURL: https://pubchem.ncbi.nlm.nih.gov/rest/pug_view
tags:
- Compound Data
- Safety Data
- Pharmacology
- Toxicology
- Structured Data
properties:
- type: Documentation
  url: https://pubchem.ncbi.nlm.nih.gov/docs/pug-view
contact:
- FN: PubChem Help Desk
  email: [email protected]
operations:
- summary: Get full compound data page
  method: GET
  path: /data/compound/{cid}/JSON
  description: Retrieve all structured data for a compound as seen on its PubChem compound page, organized
    in hierarchical sections.
- summary: Get compound data section
  method: GET
  path: /data/compound/{cid}/JSON
  description: Retrieve a specific section of a compound data page using the heading parameter (e.g.,
    Safety+and+Hazards, Pharmacology+and+Biochemistry, Chemical+and+Physical+Properties).
- summary: Get full substance data page
  method: GET
  path: /data/substance/{sid}/JSON
  description: Retrieve all structured data for a substance record in hierarchical section format.
- summary: Get annotations by heading
  method: GET
  path: /annotations/heading/{heading}/JSON
  description: Retrieve annotations across all compounds for a specific data heading (e.g., Boiling+Point,
    LogP, Melting+Point).
- summary: Get data in XML format
  method: GET
  path: /data/compound/{cid}/XML
  description: Retrieve full compound structured data in XML format.
- summary: Get data in ASNT format
  method: GET
  path: /data/compound/{cid}/ASNT
  description: Retrieve full compound structured data in ASN.1 text format for programmatic parsing.