Language detection is essential for any app handling user-generated content — routing, filtering, analytics, personalization.
Language Detector Pro identifies the language of any text and returns an ISO 639-1 code with confidence score.
What you get
- 100+ languages supported
- Confidence score 0-1
- ISO 639-1 code + full language name
- Works on short texts: tweets, reviews, chat messages
- Batch: up to 100 texts per request
Quick start
Python
import requests
url = "https://language-detector-pro.p.rapidapi.com/detect"
headers = {"X-RapidAPI-Key": "YOUR_KEY", "Content-Type": "application/json"}
r = requests.post(url, json={"text": "Bonjour, comment allez-vous?"}, headers=headers)
print(r.json())
# {"detected_language": "fr", "language_name": "French", "confidence": 0.98}
cURL
curl -X POST https://language-detector-pro.p.rapidapi.com/detect \
-H "X-RapidAPI-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d "{"text": "Hola mundo"}"
Batch
payload = {"texts": ["Hello world", "Привет мир", "Hola mundo"]}
r = requests.post(".../batch", json=payload, headers=headers)
Use cases
- Support ticket routing to language-specific teams
- Content moderation by language
- E-commerce localization
- Chatbot language switching
Pricing
| Plan | Price | Rate limit |
|---|---|---|
| BASIC | Free | 50 req/hr |
| PRO | $9.99/mo | 1000 req/hr |
| ULTRA | $24.99/mo | 8000 req/hr |
Try it free: https://rapidapi.com/adunaev8419/api/language-detector-pro
Top comments (0)