Instantly identify the language of any text. Supports 195 languages with confidence scores — no signup required.
3 lines of code to add language detection to your project:
import requests
resp = requests.post("https://api.socketsio.com/detect",
headers={"Authorization": "Bearer demo-key-socketsio-2026"},
json={"q": "Bonjour le monde"})
print(resp.json()["data"][0]["language"]) # → fr
Get a free API key and integrate language detection into your product in minutes. 500,000 free characters/month. No credit card required.
Get Free API Key →Developer guides and API updates. No spam.