languagelayer
FreemiumLiveLast verified 24 Sept 2026
Detects which of 173 languages a piece of text is written in, with a confidence score.
Example request
curl -s 'https://apilayer.net/api/detect?access_key=$API_KEY&query=Hello+World'
Free tier, in plain English
Free plan gives 100 language-detection calls a month, forever, but only for non-commercial use.
Alternatives in Text Analysis
Cloudmersive Natural Language ProcessingSentiment, entity extraction, POS tagging, language detection and translation via one text API.FreemiumCode DetectionDetects and labels code snippets inside text, classifies the language, and returns formatted output.Free trialDetect LanguageIdentifies the language of a text snippet from 216 supported languages, with a confidence score.FreemiumDialogflowGoogle's NLU platform for building chatbots and voice agents: intents, entities, multi-turn dialogue.FreemiumFinSignalsClassifies Reddit and news posts about stocks into sentiment, bullish/bearish stance, and quality signals.Freemium