Detect the language of any text snippet with high accuracy. Supports 400+ languages and dialects, returns confidence scores, and handles multilingual text.
POST /detect
X-API-Key: csk_your_key
Content-Type: application/json
{
"text": "Bonjour, comment allez-vous?"
}
{
"language": "fr",
"name": "French",
"confidence": 0.99,
"alternatives": [
{ "language": "ca", "confidence": 0.01 }
]
}
Production-ready with comprehensive coverage and fast response times.
Covers major world languages plus rare dialects and scripts.
Returns probability score so you can handle low-confidence cases.
Works on short text snippets as few as 10 characters.
Handles Latin, Cyrillic, Arabic, CJK, Devanagari, and more.
Sub-100ms detection with no external API dependencies.
Detect language for up to 200 texts per request.
One API key unlocks LanguageDetect API plus 20+ other production-ready APIs. Free plan available instantly.