Build/Tools/Language Detection
AI-powered1 credit / callGET /api/v1/tools/text/detect-language

Language Detection

ISO 639-1/2, script, RTL flag, confidence

Detect the language of any text. Returns the language name, ISO 639-1 and 639-2 codes, script name, RTL flag, confidence score, and an array of alternative language candidates with their confidence scores. Available as GET (?text=...) or POST JSON.

How it works

Sends the text to GPT-4o-mini for language identification. Returns structured language metadata including script identification.

What you could build

TicketRouter
Route support tickets to language-appropriate agents
$1K–$3K MRR
est. MRR
ContentTagger
Auto-tag multilingual content by language in a CMS
$500–$2K MRR
est. MRR
TranslatePre
Pre-flight check before calling translation API
$500–$1K MRR
est. MRR

Parameters

textrequired
Text to detect — max 5000 characters. GET ?text=... or POST JSON.· e.g. Bonjour le monde

Example request

curl
curl "https://aplicious.com/api/v1/tools/text/detect-language?text=Bonjour+le+monde" \
  -H "X-API-Key: YOUR_API_KEY"

Example response

json
{
  "success": true,
  "data": {
    "language": "French",
    "iso_639_1": "fr",
    "iso_639_2": "fra",
    "script": "Latin",
    "script_name": "Latin",
    "confidence": 0.95,
    "rtl": false,
    "is_mixed": false,
    "alternatives": [
      { "language": "English", "iso_639_1": "en", "confidence": 0.05 }
    ]
  }
}
Ready to use Language Detection?

Free plan — 100 calls/month, no credit card.