The Text Language Detection API simplifies multilingual workflows by quickly identifying the language of any given text. With support for over 100 languages, it delivers the language name and its ISO639 code in seconds. Designed for developers, businesses, and content platforms, this API ensures precise language detection with minimal input—just 10 words needed for accurate results. Whether for customizing user experiences, optimizing translation processes, or adapting content dynamically, the Text Language Detector API integrates seamlessly into any project, providing reliable and scalable performance for real-time language identification.
Send a text as a text parameter to the DetectLanguage endpoint.You will receive the detected language and its ISO639 code to integrate into your workflows.
detect Text Language - Endpoint Features
| Object | Description |
|---|---|
text |
[Required] |
{"status":"ok","result":"english","result_ISO639":"en","input_type":"text","input":"hello, i need help, can you help me","input_size":35}
curl --location --request GET 'https://zylalabs.com/api/5816/text+language+detection+api/7602/detect+text+language?text=hello, i need help, can you help me' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The Text Language Detection API is a tool that identifies the language of any given text and provides its ISO639 code, facilitating multilingual integrations.
The API supports over 100 languages, allowing for a wide range of language detection.
The API requires a minimum of 10 words to provide accurate language detection results.
The API can be used to customize user experiences by dynamically adapting content based on the detected language, ensuring relevant communication.
Yes, the API is designed for reliable and scalable performance, making it suitable for real-time language identification in various applications.
The Detect Language endpoint returns the detected language name, its ISO639 code, the input type, the original input text, and the size of the input text in characters.
The key fields in the response data include "status," "result" (detected language), "result_ISO639" (ISO code), "input_type," "input" (original text), and "input_size" (character count).
The response data is structured in JSON format, with a top-level object containing "status" and a "result" object that includes language details and input information.
The primary parameter for the Detect Language endpoint is "text," which should contain the text you want to analyze for language detection.
Users can customize their requests by varying the input text provided to the "text" parameter, allowing for detection of different languages based on the content submitted.
Typical use cases include enhancing user interfaces by adapting content to the user's language, optimizing translation workflows, and analyzing multilingual data for insights.
Data accuracy is maintained through advanced algorithms and extensive language databases that ensure reliable detection across over 100 supported languages.
If the input text is too short (less than 10 words) or empty, the API may return a default response indicating insufficient data. Users should ensure adequate text length for accurate detection.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
287ms
Service Level:
100%
Response Time:
1,273ms
Service Level:
100%
Response Time:
1,164ms
Service Level:
100%
Response Time:
270ms
Service Level:
100%
Response Time:
725ms
Service Level:
100%
Response Time:
197ms
Service Level:
100%
Response Time:
1,320ms
Service Level:
100%
Response Time:
728ms
Service Level:
100%
Response Time:
308ms
Service Level:
100%
Response Time:
753ms
Service Level:
100%
Response Time:
341ms
Service Level:
100%
Response Time:
4,163ms
Service Level:
100%
Response Time:
727ms
Service Level:
100%
Response Time:
6,739ms
Service Level:
100%
Response Time:
28ms
Service Level:
100%
Response Time:
100ms
Service Level:
100%
Response Time:
4,391ms
Service Level:
100%
Response Time:
3,694ms
Service Level:
100%
Response Time:
20ms
Service Level:
100%
Response Time:
50ms