75+ languages
Detects major and many minor languages, returning standard ISO 639-1 codes.
Detect the language of text with confidence scores, supporting 75+ languages
You send a `texts` array and the service returns one detection per text inside `data.results`. Each detection has an ISO 639-1 code (`en`, `tr`, `es`, …), a full `language_name`, and a `confidence` score. Synchronous. Note: the response wraps detections in a `results[]` array; alternative-language candidates are not returned by the live upstream.
Detects major and many minor languages, returning standard ISO 639-1 codes.
Each detection includes a confidence score (0-1).
texts is an array — one detection per input string in results[].
Lightweight detection; typically sub-second response.
Route text to the right translator, locale, or language-specific NLP pipeline.
Measure language distribution in user-generated content.
Detect language before feeding text into language-specific services (sentiment, NER, etc.).
Input
texts: array of strings
Output
results[] with language, language_name, confidence per input
Prerequisites
POST a texts array. Response contains one results[] entry per input string.
{
"texts": ["Bonjour, comment allez-vous?"]
}Response
{
"status": "success",
"data": {
"results": [
{ "language": "fr", "language_name": "French", "confidence": 0.5357 }
]
}
}Field is texts (plural). Detections are wrapped in results[].
Detect the language of one or more input texts. Returns ISO 639-1 code, language name, and confidence per text.
/v1/proxy/text-language
Billed per request.
| Service | Unit | Price |
|---|---|---|
| Language Detection | item | $0.001/request |
A: ISO 639-1 two-letter codes (e.g. en, tr, es, de, fr, ar, zh, ja, ko).
A: Short texts (<10 characters) have lower confidence. For reliable detection, send at least a sentence.
A: Not from the live upstream — only the top match is returned. If you need alternatives, send the same text to a second backend client-side.
1.2 (2026-04-29)
1.1 (2026-02-23)
1.0 (2026-01-26)