{"api":{"id":"api_4ab8e018b956cbccb20d53f4","slug":"pubchem-ghs-hazards","name":"Chemical Hazard Statements API","description":"GHS hazard classifications from PubChem for each chemical name, CAS number or CID you give: one row per compound and source (EU CLP list, ECHA notifications, Japan NITE, Safe Work Australia and more) with signal word, pictograms, H codes and statements, P codes and notes.","kind":"ready_made","visibility":"public","domain":"pubchem.ncbi.nlm.nih.gov","source_url":"https://pubchem.ncbi.nlm.nih.gov/docs/pug-view","category":"science","record_type":"generic","active_version":"1.0","units_per_1k":2000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":16,"created_at":"2026-12-06T03:33:09.246Z","updated_at":"2026-12-06T03:33:09.246Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"query","type":"string","description":"The name, CAS number, CID or InChIKey as you gave it.","required":true,"coverage":1,"example":"caffeine"},{"name":"cid","type":"string","description":"PubChem compound id (CID), such as 2519.","required":true,"coverage":1,"example":"2519"},{"name":"compound","type":"string","description":"PubChem's name for the compound, such as Caffeine.","required":false,"coverage":1,"example":"Caffeine"},{"name":"url","type":"url","description":"The compound's GHS section on PubChem.","required":false,"coverage":1,"example":"https://pubchem.ncbi.nlm.nih.gov/compound/2519#section=GHS-Classification"},{"name":"source","type":"string","description":"Who made this classification, such as European Chemicals Agency (ECHA) or NITE-CMC.","required":false,"coverage":1,"example":"Regulation (EC) No 1272/2008 of the European Parliament and of the Council"},{"name":"source_entry","type":"string","description":"The source's name for its entry, often with an EC number or the year of the classification.","required":false,"coverage":1,"example":"caffeine"},{"name":"source_url","type":"url","description":"Link to the entry at the source.","required":false,"coverage":1,"example":"https://eur-lex.europa.eu/eli/reg/2008/1272/oj"},{"name":"source_rank","type":"integer","description":"Order in which PubChem lists this classification for the compound; 1 is the one it shows first.","required":false,"coverage":1,"example":1},{"name":"is_classified","type":"boolean","description":"True when the source gives at least one hazard code; false when it reports the substance as not classified.","required":false,"coverage":1,"example":true},{"name":"signal_word","type":"string","description":"Danger or Warning, as the source gives it.","required":false,"coverage":0.8,"example":"Warning"},{"name":"pictograms","type":"array","description":"Hazard pictogram names, such as Flammable, Irritant or Health Hazard.","required":false,"coverage":0.8,"example":["Irritant"]},{"name":"pictogram_codes","type":"array","description":"GHS pictogram codes, such as GHS02 or GHS07.","required":false,"coverage":0.8,"example":["GHS07"]},{"name":"hazard_codes","type":"array","description":"Hazard statement codes, such as H225, H302 or EUH066; combined codes as H300+H310.","required":false,"coverage":0.8,"example":["H302"]},{"name":"hazard_statements","type":"array","description":"Hazard statements in full, such as H302: Harmful if swallowed [Warning Acute toxicity, oral].","required":false,"coverage":0.8,"example":["H302: Harmful if swallowed [Warning Acute toxicity, oral]"]},{"name":"precautionary_codes","type":"array","description":"Precautionary statement codes, such as P264 or P301+P317.","required":false,"coverage":0.8,"example":["P264","P270"]},{"name":"notes","type":"array","description":"The source's notes, such as how many company reports found no hazard.","required":false,"coverage":0.4,"example":["This chemical does not meet GHS hazard criteria for 0.3% (1 of 315) of reports.","Aggregated GHS information provided per 315 reports by companies from 23 notifications to the ECHA C&L Inventory. Each…"]}],"inputs":[{"name":"compounds","type":"array","description":"Chemicals to look up, one per item: names (benzene), CAS numbers (71-43-2), PubChem CIDs (241) or InChIKeys. Up to 1,000 per run.","example":["2519","benzene","64-17-5"],"required":true},{"name":"primary_only","type":"boolean","description":"Only the classification PubChem shows first for each compound (the EU harmonised one when there is one), so one row per compound.","default":false,"example":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"cid":{"description":"PubChem compound id (CID), such as 2519.","type":"string"},"compound":{"description":"PubChem's name for the compound, such as Caffeine.","type":"string"},"hazard_codes":{"description":"Hazard statement codes, such as H225, H302 or EUH066; combined codes as H300+H310.","type":"array"},"hazard_statements":{"description":"Hazard statements in full, such as H302: Harmful if swallowed [Warning Acute toxicity, oral].","type":"array"},"is_classified":{"description":"True when the source gives at least one hazard code; false when it reports the substance as not classified.","type":"boolean"},"notes":{"description":"The source's notes, such as how many company reports found no hazard.","type":"array"},"pictogram_codes":{"description":"GHS pictogram codes, such as GHS02 or GHS07.","type":"array"},"pictograms":{"description":"Hazard pictogram names, such as Flammable, Irritant or Health Hazard.","type":"array"},"precautionary_codes":{"description":"Precautionary statement codes, such as P264 or P301+P317.","type":"array"},"query":{"description":"The name, CAS number, CID or InChIKey as you gave it.","type":"string"},"signal_word":{"description":"Danger or Warning, as the source gives it.","type":"string"},"source":{"description":"Who made this classification, such as European Chemicals Agency (ECHA) or NITE-CMC.","type":"string"},"source_entry":{"description":"The source's name for its entry, often with an EC number or the year of the classification.","type":"string"},"source_rank":{"description":"Order in which PubChem lists this classification for the compound; 1 is the one it shows first.","type":"integer"},"source_url":{"description":"Link to the entry at the source.","format":"uri","type":"string"},"url":{"description":"The compound's GHS section on PubChem.","format":"uri","type":"string"}},"required":["query","cid"],"title":"Chemical Hazard Statements API","type":"object"},"samples":[{"query":"caffeine","cid":"2519","compound":"Caffeine","url":"https://pubchem.ncbi.nlm.nih.gov/compound/2519#section=GHS-Classification","source":"Regulation (EC) No 1272/2008 of the European Parliament and of the Council","source_entry":"caffeine","source_url":"https://eur-lex.europa.eu/eli/reg/2008/1272/oj","source_rank":1,"is_classified":true,"signal_word":"Warning","pictograms":["Irritant"],"pictogram_codes":["GHS07"],"hazard_codes":["H302"],"hazard_statements":["H302: Harmful if swallowed [Warning Acute toxicity, oral]"],"precautionary_codes":["P264","P270","P301+P317","P330"],"notes":[]},{"query":"71-43-2","cid":"241","compound":"Benzene","url":"https://pubchem.ncbi.nlm.nih.gov/compound/241#section=GHS-Classification","source":"Regulation (EC) No 1272/2008 of the European Parliament and of the Council","source_entry":"benzene","source_url":"https://eur-lex.europa.eu/eli/reg/2008/1272/oj","source_rank":1,"is_classified":true,"signal_word":"Danger","pictograms":["Flammable","Irritant","Health Hazard"],"pictogram_codes":["GHS02","GHS07","GHS08"],"hazard_codes":["H225","H304","H315","H319"],"hazard_statements":["H225: Highly Flammable liquid and vapor [Danger Flammable liquids]","H304: May be fatal if swallowed and enters airways [Danger Aspiration hazard]","H315: Causes skin irritation [Warning Skin corrosion/irritation]","H319: Causes serious eye irritation [Warning Serious eye damage/eye irritation]"],"precautionary_codes":["P203","P210","P233","P240"],"notes":[]},{"query":"2244","cid":"2244","compound":"Aspirin","url":"https://pubchem.ncbi.nlm.nih.gov/compound/2244#section=GHS-Classification","source":"European Chemicals Agency (ECHA)","source_entry":"O-acetylsalicylic acid (EC: 200-064-1)","source_url":"https://chem.echa.europa.eu/substance-search?searchText=200-064-1","source_rank":1,"is_classified":true,"signal_word":"Warning","pictograms":["Irritant"],"pictogram_codes":["GHS07"],"hazard_codes":["H302","H315","H319","H335"],"hazard_statements":["H302 (95.6%): Harmful if swallowed [Warning Acute toxicity, oral]","H315 (20.6%): Causes skin irritation [Warning Skin corrosion/irritation]","H319 (22.2%): Causes serious eye irritation [Warning Serious eye damage/eye irritation]","H335 (20%): May cause respiratory irritation [Warning Specific target organ toxicity, single exposure; Respiratory tract irritation]"],"precautionary_codes":["P261","P264","P264+P265","P270"],"notes":["This chemical does not meet GHS hazard criteria for 0.3% (1 of 315) of reports.","Aggregated GHS information provided per 315 reports by companies from 23 notifications to the ECHA C&L Inventory. Each notification may be associated with multiple companies.","Reported as not meeting GHS hazard criteria per 1 of 315 reports by companies.","There are 22 notifications provided by 314 of 315 reports by companies with hazard statement code(s)."]}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"cid":1,"compound":1,"hazard_codes":1,"hazard_statements":1,"is_classified":1,"notes":0.33,"pictogram_codes":1,"pictograms":1,"precautionary_codes":1,"query":1,"signal_word":1,"source":1,"source_entry":1,"source_rank":1,"source_url":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_4ab8e018b956cbccb20d53f4/run","openapi":"https://pullrow.dev/v1/apis/api_4ab8e018b956cbccb20d53f4/openapi.json","contract":"https://pullrow.dev/v1/apis/api_4ab8e018b956cbccb20d53f4/contract.json","page":"https://pullrow.dev/catalog/pubchem-ghs-hazards"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":2,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["PubChem (U.S. National Library of Medicine) gathers these classifications from the sources named in each row, which own them: credit the source with the data. For information only; they do not replace a supplier's safety data sheet. NLM does not endorse this API.","A compound often has several classifications that disagree (the EU harmonised list, company notifications to ECHA, national lists). source_rank 1 is the one PubChem shows first; primary_only keeps just that row per compound.","ECHA rows sum up company notifications: each statement carries the share of notifiers in brackets, and PubChem lists only codes above 10%.","precautionary_codes holds P codes only, as PubChem gives no wording for them per source. hazard_statements keep PubChem's wording, marks such as ** from the EU list included.","A compound PubChem knows but holds no GHS data for comes back as one row with an empty source and a note saying so. A name or CAS number PubChem cannot match returns no row: compare query with your list.","Up to 1,000 compounds per run. PubChem allows at most five requests a second, so requests go one at a time and long lists take a while: each compound takes two requests, and CIDs given as numbers are checked 100 at a time."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"query","label":"Search words","description":"The name, CAS number, CID or InChIKey as you gave it.","group":"Technical","shown":false,"written":false},{"name":"cid","label":"Cid","description":"PubChem compound id (CID), such as 2519.","group":"Technical","shown":false,"written":false},{"name":"compound","label":"Compound","description":"PubChem's name for the compound, such as Caffeine.","group":"Basics","shown":true,"written":false},{"name":"url","label":"Link","description":"The compound's GHS section on PubChem.","group":"Links","shown":true,"written":false},{"name":"source","label":"Source","description":"Who made this classification, such as European Chemicals Agency (ECHA) or NITE-CMC.","group":"Basics","shown":true,"written":false},{"name":"source_entry","label":"Source entry","description":"The source's name for its entry, often with an EC number or the year of the classification.","group":"Basics","shown":true,"written":false},{"name":"source_url","label":"Source link","description":"Link to the entry at the source.","group":"Links","shown":true,"written":false},{"name":"source_rank","label":"Source rank","description":"Order in which PubChem lists this classification for the compound; 1 is the one it shows first.","group":"Basics","shown":true,"written":false},{"name":"is_classified","label":"Classified","description":"Yes when the source gives at least one hazard code; false when it reports the substance as not classified.","group":"Basics","shown":true,"written":false},{"name":"signal_word","label":"Signal word","description":"Danger or Warning, as the source gives it.","group":"Basics","shown":true,"written":false},{"name":"pictograms","label":"Pictograms","description":"Hazard pictogram names, such as Flammable, Irritant or Health Hazard.","group":"Basics","shown":true,"written":false},{"name":"pictogram_codes","label":"Pictogram codes","description":"GHS pictogram codes, such as GHS02 or GHS07.","group":"Basics","shown":true,"written":false},{"name":"hazard_codes","label":"Hazard codes","description":"Hazard statement codes, such as H225, H302 or EUH066; combined codes as H300+H310.","group":"Basics","shown":true,"written":false},{"name":"hazard_statements","label":"Hazard statements","description":"Hazard statements in full, such as H302: Harmful if swallowed [Warning Acute toxicity, oral].","group":"Basics","shown":true,"written":false},{"name":"precautionary_codes","label":"Precautionary codes","description":"Precautionary statement codes, such as P264 or P301+P317.","group":"Basics","shown":true,"written":false},{"name":"notes","label":"Notes","description":"The source's notes, such as how many company reports found no hazard.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"compounds","label":"Compounds","help":"Chemicals to look up, one per item: names (benzene), CAS numbers (71-43-2), PubChem CIDs (241) or InChIKeys. Up to 1,000 per run.","example":"2519, benzene, 64-17-5","written":false},{"name":"primary_only","label":"Primary only","help":"Only the classification PubChem shows first for each compound (the EU harmonised one when there is one), so one row per compound.","example":"true","written":false}]}},"incidents":[]}