Identify the language of any text in milliseconds. 176 languages, confidence scores, one simple REST endpoint.
See plans I have a license key API docsBuilt on the fastText language-identification model.
Low-latency responses, ready for real-time filtering and routing.
Ranked candidates with scores, not just a single guess.
Text is processed in memory and never stored or logged.
After subscribing, paste the license key from your Freemius email.
Save this key now. It is shown only once. Requesting a new key revokes the old one.
X-API-Key header.curl -X POST http://lang.nilspam.xyz/v1/account/api-key \
-H "Content-Type: application/json" \
-d '{"license_key": "YOUR_LICENSE_KEY"}'
curl -X POST http://lang.nilspam.xyz/v1/detect \
-H "X-API-Key: ld_your_api_key" \
-H "Content-Type: application/json" \
-d '{"message_text": "Bonjour, comment allez-vous ?"}'
# Response
[{"lang": "fr", "score": 0.99}]