Cl-pubchem is a project mainly written in Common Lisp, it's free.
PubChem programmable access
404: Not Found