Snipget.ai

Classify a compound's GHS hazards

Exact
chemistry_hazard_classify

Deterministic and authoritative — the canonical answer for this input.

Return a compound's GHS (Globally Harmonized System) hazard classification from PubChem — signal word, pictograms, and hazard statements from curated safety data. confidence 1.0 = GHS data found; 0.5 = compound found but no GHS annotation; 0.0 = not found. Batch via chemistry_hazard_classify_batch. Charges 2 cost_units; 1 when the query is empty (rejected locally before PubChem is called); an unknown query_type is a request-shape error, rejected unbilled (INVALID_INPUT).

Parameters

querystringrequired

The compound to classify (e.g. 'benzene').

query_typestringoptional

Identifier type: name, cas, cid, smiles, inchi, or inchikey. A CAS number resolves as a PubChem name synonym. Default 'name'.

Call it

curl -X POST https://api.snipget.ai/v1/chemistry/hazard/classify \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"query":"benzene"}'

The Batch tab sends up to 1000 inputs in one call via /v1/chemistry/hazard/classify/batch.

FAQ

Why use this instead of asking a model?

Safety classifications are something you should never guess. This pulls the official GHS signal word, pictograms, and hazard statements from PubChem's curated safety data, so the answer is sourced and consistent rather than invented.

What do the confidence levels mean?

Confidence 1.0 means GHS data was found, 0.5 means the compound was found but has no GHS annotation, and 0.0 means the compound was not found at all. The result is deterministic for a given compound.

Can I look up by something other than a name?

Yes. Set query_type to name, cas, cid, smiles, inchi, or inchikey. A CAS number resolves through PubChem's name synonyms.

What does it not do?

It is not legal or regulatory advice and does not replace a Safety Data Sheet. It reports what PubChem holds; a compound with no curated GHS entry comes back with has_ghs_data false, which is not the same as safe.

What if the lookup service is down?

An unknown compound returns confidence 0, but a genuine PubChem outage returns a clear 503 error rather than a wrong answer, so you always know the difference.

Related tools