There is no API for this.
To do this, you will need a dictionary file (text file or database) in your application. One of the fastest ways to check is to load the dictionary into memory when the application starts, so you do not need to read a file for each word. This may be redundant if you just want hard-coded crosswords, but if you arbitrarily generate them, this is necessary.
source share