Public API for physical properties
ChEMBL database provides API access: https://www.ebi.ac.uk/chembl/ws
properties can be retrieved from the 'molecule' endpoint, for example aspirin:

https://www.ebi.ac.uk/chembl/api/data/molecule/CHEMBL25.json

Disclaimer: I'm the author of this API.