The API provides access to the «Word Associations Network» online service. It currently supports 7 languages and allows finding associations for a separate word or a whole phrase.
Overview: https://wordassociations.net/en/api