As from Title. Where can I find a database of simple chemical structures in XYZ format, possibly with a simple CAS -> XYZ or InChi -> XYZ REST service ?
This site has some nice enough data: http://cccbdb.nist.gov/
Finding reliable sites for this kind of thing can be kind of tricky, actually. I recently had to search for small molecule structures and found that half the top sites on the Google search were down. Therefore this kind of answer may be quite helpful.
My preferred source of small ligand structures is the Binding DB. It's in .mol file format, but how to convert easily has been mentioned in previous answers. For a finite number of small molecules converting this by-hand is almost simpler than automating it.
I like the Pubchem database for this purpose. Although it contains large molecules too, one can easily specify filters to get a list of small molecules. The website also provides a batch download service, which is convenient for large datasets. One can use InChI identifiers to search for a specific compound.
CAS to XYZ conversion does not really exist. The CAS (Chemical Abstract Service) is just a number for each molecule in the CAS database. It is not possible to derive somehow the structure from the CAS number. You can use the CAS number to look up the molecular structure, but is not free as far as I know. See www.cas.org for more information.
InChI to XYZ conversion is possible with the OpenBabel software. I'm not aware of a web service for this type of conversion.
Try the TABS database here: it's less than 2000 structures but still very useful. https://www2.unb.ca/~ajit/download.htm