Hi Simon
The Names to Smiles routine uses the NIH database lookup to find names. The documentation is on their search page: http://cactus.nci.nih.gov/chemical/structure.
If, on the other hand, you select the option to use OPSIN, this uses the IUPAC to Chemistry package developed at Cambridge: http://opsin.ch.cam.ac.uk/. The website has links to the documentation.
We have used the NIH lookup service to get Smiles for natural products using their CAS numbers as a search term – we got better than 60% hit rate.
I am not aware of any other (free) lookup site (with associated webservice) for CAS numbers which has anything like the coverage of the NIH resolver but keen to receive suggestions…
Best wishes
Kevin