# Compound GHS Hazard Classification Lookup

> Compound GHS Hazard Classification Lookup is a paid API for AI agents from win.oneshotagent.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-25).

Returns GHS hazard classifications, pictograms, signal words, hazard statements, and precautionary codes for a chemical compound identified by CID, name, or CAS number.

## Facts

- Endpoint: POST https://win.oneshotagent.com/v1/tools/lookup/compound-hazards?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/compound-ghs-hazard-classification-lookup-5bca6337
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lc_G47z7M9ybXb1GNFV3L

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability compound-ghs-hazard-classification-lookup-5bca6337 -d '<json body>'
```

Example prompt: What are the GHS hazard classifications and pictograms for formaldehyde — you can look it up by its CAS number 50-00-0?

## When to prefer this

Use this endpoint when you need authoritative, regulation-sourced GHS hazard data for a specific chemical compound and have its CID, common name, trade name, systematic name, or CAS number. It is ideal for safety data sheet generation, lab chemical inventory classification, regulatory compliance checks (especially EU CLP/GHS), and any workflow where structured hazard pictogram and statement data is required programmatically. Prefer this over manually querying PubChem when you need structured JSON output ready for downstream use.

## Known failure modes

- Compound not found in PubChem — returns classified:false or empty classifications array
- Ambiguous name resolving to multiple CIDs — multiple CIDs returned in matched_cids
- CAS number not recognized — no match returned
- Chemical has no GHS classification on record — classifications array is empty
- Invalid CID integer (out of 1–999999999 range) — validation error
- Name string too short or too long (outside 2–200 characters) — validation error
- Payment failure via x402 — 402 response before result is returned

## How this service works

Give the GHS hazard classification of a chemical compound by its compound identifier (CID), name or CAS number.

## Output

A JSON object containing the matched compound's CID, title, and PubChem URL; a boolean indicating whether a classification was found; an array of matched CIDs; and an array of classification records each including the signal word (e.g. 'Danger'), regulatory source name and URL, GHS pictogram names and codes (e.g. GHS05, GHS06), hazard statement codes and full text, and precautionary codes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cid": {
   "type": "integer",
   "description": "The compound identifier (CID), for example 712. From 1 to 999999999."
  },
  "name": {
   "type": "string",
   "description": "A common, trade or systematic name, or a CAS registry number such as 50-00-0. 2 to 200 characters."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "compound": {
   "cid": 712,
   "title": "Formaldehyde",
   "page_url": "https://pubchem.ncbi.nlm.nih.gov/compound/712"
  },
  "classified": true,
  "matched_cids": [
   712
  ],
  "classifications": [
   {
    "signal": "Danger",
    "source": "Regulation (EC) No 1272/2008 of the European Parliament and of the Council",
    "pictograms": [
     "Corrosive",
     "Acute Toxic",
     "Health Hazard"
    ],
    "source_url": "https://eur-lex.europa.eu/eli/reg/2008/1272/oj",
    "source_record": "formaldehyde …%",
    "not_classified": false,
    "pictogram_codes": [
     "GHS05",
     "GHS06",
     "GHS08"
    ],
    "hazard_statements": [
     {
      "code": "H302",
      "text": "Harmful if swallowed [Warning Acute toxicity, oral]",
      "share_of_reports": null
     },
     {
      "code": "H314",
      "text": "Causes severe skin burns and eye damage [Danger Skin corrosion/irritation]",
      "share_of_reports": null
     },
     {
      "code": "H350",
      "text": "May cause cancer [Danger Carcinogenicity]",
      "share_of_reports": null
     }
    ],
    "precautionary_codes": [
     "P203",
     "P260",
     "P280",
     "P301+P330+P331",
     "P501"
    ]
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/compound-ghs-hazard-classification-lookup-5bca6337/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from win.oneshotagent.com](https://www.zero.xyz/host/win.oneshotagent.com/llms.txt)
