We've updated the API with a new language detection endpoint. This is the first of our analysis endpoints that we're working on at the moment.

The endpoint detects over 160 languages using probabilistic reasoning. The more words you give it, the higher the confidence in the result.

See the documentation and how to use it here: https://developers.moderationapi.com/#detect-language