Get Compound Safety
pubchem_get_compound_safetyRetrieve GHS hazard classifications and safety data for PubChem compounds by CID, including signal word, pictograms, hazard statements, and precautionary statements.
Instructions
Get GHS (Globally Harmonized System) hazard classification and safety data for one or more compounds by CID. Returns signal word, pictograms, hazard statements (H-codes), and precautionary statements (P-codes) per compound. Data sourced from PubChem depositors — source attribution included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cids | Yes | PubChem Compound IDs to fetch safety data for (1-25). Resolve from names/SMILES with pubchem_search_compounds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | No | Recovery guidance when one or more CIDs returned no GHS data, listing the unrecognized CIDs to verify separately from the CIDs that exist but carry no deposited classification. | |
| results | Yes | Safety results, one per requested CID (input order preserved). | |
| withDataCount | Yes | CIDs with GHS safety data available. | |
| requestedCount | Yes | CIDs requested. |