2
$\begingroup$

I am looking for an open API to a database that provides GHS/CLP classifications. I am aware this is a duplicate, however the post in question never provided an answer since, as far as I can tell IUCLID 6 does not have a publically accessible API or I never found it (despite it being called a public API ? Im a bit confused on this but chances are I simply missed the API)

$\endgroup$
1

2 Answers 2

2
$\begingroup$

Khoi Van wrote find_sds, a Python-based implementation to collect SDS based on the CAS registry number submitted to the command line. The lookup then considers ChemBlink, VWR, Fisher Scientific, TCI Chemicals, ChemicalSafety, and Fluorochem as sources for the pdf. It is a project with a permissive GPL3 license.

$\endgroup$
3
  • $\begingroup$ Unfortunately this seems to download PDFs directly which is not what im looking for right now since I would love to avoid parsing PDFs but if all fails this might be a nice alternative, thank you! $\endgroup$
    – Julien
    Commented Mar 1, 2023 at 14:58
  • $\begingroup$ @Julien "as sources for the pdf", yeah. I see the author offers an management/inventory program; following the documentation, there is a cross-link for the demo of the inventory. Search (left magnifying glass), then addition of a new sample (+ next to erlenmeyer) opens a pan, entering 109-99-9 and read from suppliers fetches $\endgroup$
    – Buttonwood
    Commented Mar 2, 2023 at 10:39
  • $\begingroup$ the strings of GHS codes and hazard statements and symbols. With code analysis / contact with the authors, one possibly could extract the algorithm used to provide a "standalone" version (enter the CAS, report the codes back to the CLI). The example with CAS 109-99-9 is about tetrahydrofurane. $\endgroup$
    – Buttonwood
    Commented Mar 2, 2023 at 10:41
1
$\begingroup$

There are now a couple of more scripts online that could help get GHS/CLP classifications from CAS numbers.

  • GHS-codes-from-CAS-numbers is a python script in a jupyter notebook that uses the PubChem API (PUG REST)
  • Hazard-Assessment-CAS-Lookup searches the Sigma Aldrich website
  • GHScrunch (as already noted in the comments) creates csv files that map CAS numbers to hazard classifications from government documents of various countries (NZ, JP, & KR at time of writing). The output csv files are already saved in the repo, but I assume you can re-run the script to get the latest data.
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.