Language Detection API
Detect the language of any text: ISO 639-3 code, English name, confidence, reliability flag and top 5 candidates. Fast, no AI costs, works offline.
Authentication & base URL
Subscribe through one of our marketplace listings; your marketplace API key and base URL are shown there. All endpoints return JSON over HTTPS, served from a global edge network (typically 20–150 ms).
Endpoints
GET /v1/language
Detect language
| Parameter | In | Description | Example |
|---|---|---|---|
text * | query | Text (or POST it) | Ceci est une phrase en français. |
Example
GET /v1/language?text=Ceci+est+une+phrase+en+fran%C3%A7ais.
{
"language": "fra",
"languageName": "French",
"confidence": 1,
"reliable": false,
"candidates": [
{
"code": "fra",
"name": "French",
"score": 1
},
{
"code": "spa",
"name": "Spanish",
"score": 0.922
},
{
"code": "eng",
"name": "English",
"score": 0.816
},
{
"code": "ita",
"name": "Italian",
"score": 0.75
},
{
"code": "deu",
"name": "German",
"score": 0.743
}
],
"note": "ISO 639-3 codes. Short texts are less reliable."
}Detect the language of any text: ISO 639-3 code, English name, confidence, reliability flag and top 5 candidates. Fast, no AI costs, works offline.
Use cases
Routing support tickets, content moderation, translation pipelines, analytics by language.
Why this API
- Fast: runs on a global edge network, typical response well under 1 second.
- Reliable: simple JSON, clear error messages.
- Fair pricing: Free plan 500 requests/month, Pro 25,000 for $4.99, Ultra 150,000 for $14.99.
Pricing
Free plan with 500 calls per month, then Pro (25,000 calls for $4.99/month) and Ultra (150,000 calls for $14.99/month). See all plans.