Text Language Classifier API

Text Language Classifier API

The Text Language Classifier API accurately identifies the language of text, supports multiple formats, is scalable, reliable, and suitable for various applications.

API description

About the API:  

The Text Language Classifier API designed to automatically identify and determine the language of a given text or character string. Using advanced algorithms and linguistic analysis, this API offers seamless integration into various applications and systems, providing accurate and reliable language detection capabilities.

Basically, the Text Language Classifier API works by analyzing the structural and grammatical patterns present in the provided text. Using statistical models and machine learning techniques, the API can discern the unique characteristics associated with different languages, allowing it to make informed predictions about the language in which the text is written.

One of the key strengths of the Text Language Classifier API lies in its ability to accurately identify a wide range of languages from around the world. Whether the text is written in a commonly spoken language, such as English, Spanish or in a less used language, such as Catalan, Bosnian. The API can effectively recognize and categorize language with a high degree of accuracy.

Additionally, the Text Language Classifier API is capable of handling text input of different lengths, from short sentences to long paragraphs. This flexibility allows developers to integrate language detection functionality into a wide range of applications, from simple text analysis tools to complex natural language processing systems.

The API is also designed to be highly scalable and support large volumes of text input with minimal latency. This scalability makes it ideal for deployment in environments where rapid language detection is required, such as real-time chat applications, social media monitoring platforms, or large-scale content moderation systems.

In short, the Text Language Classifier API allows you to automatically identify the language of a given text. With its comprehensive language support and accuracy, the API is suitable for a wide range of applications across various industries, allowing users to easily integrate language detection functionality into their applications and systems.

 

What this API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Social media monitoring: language identification of user-generated content for sentiment analysis and moderation.

    Customer Service: Automatically detects the language of incoming messages to route them to the appropriate agents.

    Multilingual Websites: Determine the language of website visitors to provide content in their preferred language.

    Text translation services: pre-processing of text to determine the source language before starting the translation.

    Content moderation: Identify the language of user comments to filter inappropriate content.

     

Are there any limitations to your plans?

Basic Plan: 10 requests per second.

Pro Plan: 10 requests per second.

Pro Plus Plan: 10 requests per second.

Premium Plan: 10 requests per second.

Elite Plan: 20 requests per second.

Premiun Plan: 20 requests per second.

API Documentation

Endpoints


To use this endpoint you just have to run it and you will get the languages available to detect.



                                                                            
GET https://zylalabs.com/api/3547/text+language+classifier+api/3893/languages+available
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"name":"Afrikaans","code":"af","accuracy":0.7879901960784313,"datapoints":1632},{"name":"Amharic","code":"am","accuracy":1,"datapoints":3},{"name":"Aragonese","code":"an","accuracy":0.5,"datapoints":4},{"name":"Arabic","code":"ar","accuracy":0.9978312977970552,"datapoints":8761},{"name":"Assamese","code":"as","accuracy":0.8635416666666667,"datapoints":960},{"name":"Bashkir","code":"ba","accuracy":0.95,"datapoints":120},{"name":"Belarusian","code":"be","accuracy":0.9625779625779626,"datapoints":6253},{"name":"Bulgarian","code":"bg","accuracy":0.9869885139985642,"datapoints":11144},{"name":"Bengali","code":"bn","accuracy":1,"datapoints":1164},{"name":"Tibetan Standard","code":"bo","accuracy":1,"datapoints":20},{"name":"Breton","code":"br","accuracy":0.9543043655650755,"datapoints":2451},{"name":"Bosnian","code":"bs","accuracy":0.03597122302158273,"datapoints":139},{"name":"Catalan","code":"ca","accuracy":0.8833862433862434,"datapoints":4725},{"name":"Chechen","code":"ce","accuracy":0.7142857142857143,"datapoints":7},{"name":"Corsican","code":"co","accuracy":0.2,"datapoints":5},{"name":"Czech","code":"cs","accuracy":0.9898738838258307,"datapoints":10863},{"name":"Chuvash","code":"cv","accuracy":0.9543478260869566,"datapoints":460},{"name":"Welsh","code":"cy","accuracy":0.8917609046849758,"datapoints":619},{"name":"Danish","code":"da","accuracy":0.948035819334597,"datapoints":15299},{"name":"German","code":"de","accuracy":0.9998637230853094,"datapoints":22014},{"name":"Divehi","code":"dv","accuracy":1,"datapoints":15},{"name":"Greek","code":"el","accuracy":1,"datapoints":12039},{"name":"English","code":"en","accuracy":1,"datapoints":22428},{"name":"Esperanto","code":"eo","accuracy":0.999551594641556,"datapoints":17841},{"name":"Spanish","code":"es","accuracy":0.998134635430954,"datapoints":18227},{"name":"Estonian","code":"et","accuracy":0.9356153219233904,"datapoints":1227},{"name":"Basque","code":"eu","accuracy":0.9676558852950984,"datapoints":2999},{"name":"Finnish","code":"fi","accuracy":0.9990807767436516,"datapoints":17406},{"name":"French","code":"fr","accuracy":0.999523314265904,"datapoints":23076},{"name":"Western Frisian","code":"fy","accuracy":0.6635514018691588,"datapoints":107},{"name":"Irish","code":"ga","accuracy":0.9065743944636678,"datapoints":867},{"name":"Gaelic","code":"gd","accuracy":0.8966789667896679,"datapoints":542},{"name":"Galician","code":"gl","accuracy":0.5790679908326967,"datapoints":2618},{"name":"Gujarati","code":"gu","accuracy":1,"datapoints":57},{"name":"Manx","code":"gv","accuracy":0,"datapoints":6},{"name":"Hebrew","code":"he","accuracy":1,"datapoints":8616},{"name":"Hindi","code":"hi","accuracy":0.999627004848937,"datapoints":5362},{"name":"Croatian","code":"hr","accuracy":0.5333033303330333,"datapoints":2222},{"name":"Haitian","code":"ht","accuracy":0.06666666666666667,"datapoints":15},{"name":"Hungarian","code":"hu","accuracy":0.9996655891204994,"datapoints":17942},{"name":"Armenian","code":"hy","accuracy":0.9980694980694981,"datapoints":518},{"name":"Interlingua","code":"ia","accuracy":0.7500798636992866,"datapoints":18782},{"name":"Indonesian","code":"id","accuracy":0.949637217242851,"datapoints":9372},{"name":"Interlingue","code":"ie","accuracy":0.4718485301444943,"datapoints":2007},{"name":"Ido","code":"io","accuracy":0.48055077452667816,"datapoints":2905},{"name":"Icelandic","code":"is","accuracy":0.9803582652419862,"datapoints":6364},{"name":"Italian","code":"it","accuracy":0.9989632216522972,"datapoints":18326},{"name":"Japanese","code":"ja","accuracy":1,"datapoints":2169},{"name":"Javanese","code":"jv","accuracy":0.6461538461538462,"datapoints":260},{"name":"Georgian","code":"ka","accuracy":1,"datapoints":1973},{"name":"Kazakh","code":"kk","accuracy":0.9802867383512545,"datapoints":2232},{"name":"Khmer","code":"km","accuracy":0.9920844327176781,"datapoints":379},{"name":"Kannada","code":"kn","accuracy":1,"datapoints":118},{"name":"Korean","code":"ko","accuracy":1,"datapoints":482},{"name":"Cornish","code":"kw","accuracy":0.8779342723004695,"datapoints":426},{"name":"Kyrgyz","code":"ky","accuracy":0.8787878787878788,"datapoints":66},{"name":"Latin","code":"la","accuracy":0.9206085511934948,"datapoints":11437},{"name":"Luxembourgish","code":"lb","accuracy":0.5944700460829493,"datapoints":217},{"name":"Limburgish","code":"li","accuracy":0.3333333333333333,"datapoints":3},{"name":"Lao","code":"lo","accuracy":1,"datapoints":70},{"name":"Lithuanian","code":"lt","accuracy":0.9933501987712324,"datapoints":13835},{"name":"Latvian","code":"lv","accuracy":0.9597747385358005,"datapoints":1243},{"name":"Macedonian","code":"mk","accuracy":0.9959903214656066,"datapoints":14465},{"name":"Malayalam","code":"ml","accuracy":1,"datapoints":517},{"name":"Marathi","code":"mr","accuracy":0.9995220342223496,"datapoints":10461},{"name":"Maltese","code":"mt","accuracy":0.8076923076923077,"datapoints":52},{"name":"Burmese","code":"my","accuracy":1,"datapoints":216},{"name":"Dutch","code":"nl","accuracy":0.9934780393355752,"datapoints":19626},{"name":"Norwegian Nynorsk","code":"nn","accuracy":0.7990867579908676,"datapoints":657},{"name":"Occitan","code":"oc","accuracy":0.7679133170220203,"datapoints":2861},{"name":"Ossetian","code":"os","accuracy":0.9830508474576272,"datapoints":59},{"name":"Panjabi","code":"pa","accuracy":1,"datapoints":88},{"name":"Polish","code":"pl","accuracy":0.999718595227375,"datapoints":17768},{"name":"Portuguese","code":"pt","accuracy":0.9933082184990581,"datapoints":20174},{"name":"Romansh","code":"rm","accuracy":0.0625,"datapoints":16},{"name":"Romanian","code":"ro","accuracy":0.9886430678466077,"datapoints":13560},{"name":"Russian","code":"ru","accuracy":0.9997114663281205,"datapoints":17329},{"name":"Sanskrit","code":"sa","accuracy":0.7272727272727273,"datapoints":11},{"name":"Sinhala","code":"si","accuracy":1,"datapoints":9},{"name":"Slovak","code":"sk","accuracy":0.8263157894736842,"datapoints":4370},{"name":"Slovene","code":"sl","accuracy":0.6774193548387096,"datapoints":372},{"name":"Somali","code":"so","accuracy":0.21875,"datapoints":32},{"name":"Serbian","code":"sr","accuracy":0.8489699125537276,"datapoints":13494},{"name":"Sundanese","code":"su","accuracy":0.18181818181818182,"datapoints":11},{"name":"Swedish","code":"sv","accuracy":0.9886773875943551,"datapoints":12188},{"name":"Tamil","code":"ta","accuracy":1,"datapoints":205},{"name":"Telugu","code":"te","accuracy":1,"datapoints":102},{"name":"Tajik","code":"tg","accuracy":0.9666666666666667,"datapoints":30},{"name":"Thai","code":"th","accuracy":1,"datapoints":572},{"name":"Turkmen","code":"tk","accuracy":0.5710519377801213,"datapoints":3793},{"name":"Tagalog","code":"tl","accuracy":0.9737223456670853,"datapoints":10351},{"name":"Turkish","code":"tr","accuracy":0.9995983734123199,"datapoints":19919},{"name":"Tatar","code":"tt","accuracy":0.9680851063829787,"datapoints":8178},{"name":"Uyghur","code":"ug","accuracy":0.9991874322860238,"datapoints":3692},{"name":"Ukrainian","code":"uk","accuracy":0.9963598179908996,"datapoints":14285},{"name":"Urdu","code":"ur","accuracy":0.9906542056074766,"datapoints":963},{"name":"Vietnamese","code":"vi","accuracy":0.9996153846153846,"datapoints":13000},{"name":"Volapük","code":"vo","accuracy":0.8511166253101737,"datapoints":806},{"name":"Walloon","code":"wa","accuracy":0.3125,"datapoints":16},{"name":"Yoruba","code":"yo","accuracy":0.6,"datapoints":5},{"name":"Chinese","code":"zh","accuracy":1,"datapoints":568},{"name":"Yiddish","code":"yi"},{"name":"Uzbek","code":"uz"},{"name":"Swahili","code":"sw"},{"name":"Albanian","code":"sq"},{"name":"Sindhi","code":"sd"},{"name":"Sardinian","code":"sc"},{"name":"Quechua","code":"qu"},{"name":"Pashto","code":"ps"},{"name":"Oriya","code":"or"},{"name":"Norwegian","code":"no"},{"name":"Nepali","code":"ne"},{"name":"Malay","code":"ms"},{"name":"Mongolian","code":"mn"},{"name":"Malagasy","code":"mg"},{"name":"Komi","code":"kv"},{"name":"Kurdish","code":"ku"},{"name":"Guaraní","code":"gn"},{"name":"Persian","code":"fa"},{"name":"Bihari","code":"bh"},{"name":"Azerbaijani","code":"az"},{"name":"Avaric","code":"av"},{"code":"als"},{"code":"arz"},{"code":"ast"},{"code":"azb"},{"code":"bar"},{"code":"bcl"},{"code":"bpy"},{"code":"bxr"},{"code":"cbk"},{"code":"ceb"},{"code":"ckb"},{"code":"diq"},{"code":"dsb"},{"code":"dty"},{"code":"eml"},{"code":"frr"},{"code":"gom"},{"code":"hif"},{"code":"hsb"},{"code":"ilo"},{"code":"jbo"},{"code":"krc"},{"code":"lez"},{"code":"lmo"},{"code":"lrc"},{"code":"mai"},{"code":"mhr"},{"code":"min"},{"code":"mrj"},{"code":"mwl"},{"code":"myv"},{"code":"mzn"},{"code":"nah"},{"code":"nap"},{"code":"nds"},{"code":"new"},{"code":"pam"},{"code":"pfl"},{"code":"pms"},{"code":"pnb"},{"code":"rue"},{"code":"sah"},{"code":"scn"},{"code":"sco"},{"code":"sh"},{"code":"tyv"},{"code":"vec"},{"code":"vep"},{"code":"vls"},{"code":"war"},{"code":"wuu"},{"code":"xal"},{"code":"xmf"},{"code":"yue"}]
                                                                                                                                                                                                                    
                                                                                                    

Languages available - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3547/text+language+classifier+api/3893/languages+available' --header 'Authorization: Bearer YOUR_API_KEY' 

    

To use this endpoint you must indicate a text and if you want to obtain a prediction about the detected language (true or false).



                                                                            
POST https://zylalabs.com/api/3547/text+language+classifier+api/3894/language+detection
                                                                            
                                                                        

Language detection - Endpoint Features
Object Description
Request Body [Required] Json
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"lang":"en","prob":0.9854544401168823,"confidence":0.983413940295577,"isReliable":true,"highAccuracyLanguage":true}
                                                                                                                                                                                                                    
                                                                                                    

Language detection - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/3547/text+language+classifier+api/3894/language+detection' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Text Language Classifier API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

To use this API, users must indicate a text to identify the language.

The Text Language Classifier API designed to automatically identify and classify the language of a given text or character string.

There are different plans to suit all tastes, including a free trial for a small number of requests, but your rate is limited to avoid abuse of the service.

Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.

Sure, you can use it and pay only when you use it. The credit can’t be expired.

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
294ms

Category:


Tags:


Related APIs