Is it possible to make web request on compilation?

I’m trying to make a tool that fetches data from public databases on chemicals, proteins, microorganisms etc so you can display hazard and precautionary statements automatically, just input smiles, or other kinds of formulas and it gets the name/other way around write the name and it gets the formula. I’m not sure if it would make sense to include these databases inside the library, and would prefer it if it was able to fetch and cache these things on change/first compilation. I’m not seeing anything in the documentation about networking and making web requests…
I’m sure there’s plenty of other tools which would benefit from this functionality as well.

This post will probably be helpful:

If you want to know more about why this is not one of Typst’s features, I find this comment on a proposed feature illuminating: