Spam Check API performs a wide range of advanced heuristic and statistical analysis tests on email headers (if exists in text) and body text including text analysis, Bayesian filtering, DNS blocklists, and collaborative filtering databases.
It will work with any text, such as comments, e-mail, html or plain text messages. You can define a threshold if you desire if you need to be more optimistic about spam messages. The threshold value can be between 1-10, of which 1 means every message will be classified as spam and 10 the opposite.