Translation Free Tier Available
LanguageDetect
Identify the language of text with confidence scores. Supports 200+ languages and dialects including mixed-language text.
Free tier: 10,000 requests/month Method:
POST Quick Start
Get started with LanguageDetect in 3 steps:
- 1. Get your free API key (instant, no credit card)
- 2. Activate your key to unlock all endpoints
- 3. Make your first request using the examples below
Endpoint
POST https://freeapitools.dev/api/v1/detect-language
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
text | string | Required | Text to analyze |
api_key | string | Required | Your API key. Get one free → |
Code Examples
cURL
curl -X POST https://freeapitools.dev/api/v1/detect-language \
-H "Content-Type: application/json" \
-d '{"text":"example"}' Node.js / JavaScript
const response = await fetch('https://freeapitools.dev/api/v1/detect-language', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_API_KEY'
},
body: JSON.stringify({"text":"example"})
});
const data = await response.json();
console.log(data); Python
import requests
response = requests.post(
'https://freeapitools.dev/api/v1/detect-language',
json={"text":"example"},
headers={'X-API-Key': 'YOUR_API_KEY'}
)
print(response.json()) Example Response
{
"language": "fr",
"name": "French",
"confidence": 0.99,
"alternatives": [
{
"language": "ca",
"confidence": 0.01
}
]
} Rate Limits
| Plan | Limit | Price |
|---|---|---|
| Free | 10,000 requests/month | $0 / month |
| Enhanced (10x) | 10x free tier limits | $0 / month — complete compatibility check |
| Unlimited | No limits | $0 / month — send environment profile |
Start Using LanguageDetect for Free
Get your API key instantly. No credit card, no signup form — just a simple API call.
Get Free API Key →