Text Translation and Language Detector API

Text Translation and Language Detector API

With this API you will be able to detect any language from a text and dynamically translate it.

API description

About the API:

This API is intended to help you to detect the language of any text you pass to it. Also, you will be able to dynamically translate the texts of your choice. 

 

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

Just pass the text that you want to translate or detect the language from. You will be receiving either the language or the new text translated. 

 

What are the most common uses cases of this API?

This API is ideal for those companies or users that receive traffic from around the globe. 

This API will help you to display your content in the language of your preference so you offer different alternatives for different users. 

Also, if you want to reach new audiences with your content, translating those texts will help you to reach that goal. 

 

Are there any limitations with your plans?

Besides API call limitations per month: 

  • Free Plan 5 requests per second. 

 

Supported Languages: 

Language - ISO-639-1 Code

  • Afrikaans af
  • Albanian sq
  • Amharic am
  • Arabic ar
  • Armenian hy
  • Azerbaijani az
  • Basque eu
  • Belarusian be
  • Bengali bn
  • Bosnian bs
  • Bulgarian bg
  • Catalan ca
  • Cebuano ceb (ISO-639-2)
  • Chinese (Simplified) zh-CN (BCP-47)
  • Chinese (Traditional) zh-TW (BCP-47)
  • Corsican co
  • Croatian hr
  • Czech cs
  • Danish da
  • Dutch nl
  • English en
  • Esperanto eo
  • Estonian et
  • Finnish fi
  • French fr
  • Frisian fy
  • Galician gl
  • Georgian ka
  • German de
  • Greek el
  • Gujarati gu
  • Haitian Creole ht
  • Hausa ha
  • Hawaiian haw (ISO-639-2)
  • Hebrew he**
  • Hindi hi
  • Hmong hmn (ISO-639-2)
  • Hungarian hu
  • Icelandic is
  • Igbo ig
  • Indonesian id
  • Irish ga
  • Italian it
  • Japanese ja
  • Javanese jw
  • Kannada kn
  • Kazakh kk
  • Khmer km
  • Korean ko
  • Kurdish ku
  • Kyrgyz ky
  • Lao lo
  • Latin la
  • Latvian lv
  • Lithuanian lt
  • Luxembourgish lb
  • Macedonian mk
  • Malagasy mg
  • Malay ms
  • Malayalam ml
  • Maltese mt
  • Maori mi
  • Marathi mr
  • Mongolian mn
  • Myanmar (Burmese) my
  • Nepali ne
  • Norwegian no
  • Nyanja (Chichewa) ny
  • Pashto ps
  • Persian fa
  • Polish pl
  • Portuguese (Portugal, Brazil) pt
  • Punjabi pa
  • Romanian ro
  • Russian ru
  • Samoan sm
  • Scots Gaelic gd
  • Serbian sr
  • Sesotho st
  • Shona sn
  • Sindhi sd
  • Sinhala (Sinhalese) si
  • Slovak sk
  • Slovenian sl
  • Somali so
  • Spanish es
  • Sundanese su
  • Swahili sw
  • Swedish sv
  • Tagalog (Filipino) tl
  • Tajik tg
  • Tamil ta
  • Telugu te
  • Thai th
  • Turkish tr
  • Ukrainian uk
  • Urdu ur
  • Uzbek uz
  • Vietnamese vi
  • Welsh cy
  • Xhosa xh
  • Yiddish yi
  • Yoruba yo
  • Zulu zu

API Documentation

Endpoints


If you have a text and you want to be sure about what language it is, use this endpoint. 

Just pass the text and it will automatically detect its language. 

 

Output JSON response example:

 

{
  "data": {
    "detections": [
      [
        {
          "language": "ja",
          "confidence": 1,
          "isReliable": false
        }
      ]
    ]
  }
}



                                                                            
POST https://zylalabs.com/api/38/text+translation+and+language+detector+api/109/language+detector
                                                                            
                                                                        
Language Detector - Endpoint Features
Object Description
q [Required] Pass the text which you want to detect its language from. Max: 8k chars.

Translate any text you want from the source language to the target language of your choice. 

 

Input Text: Let's see how this endpoint translates this text. 

 

Output JSON response example (FR lang): 

{
  "data": {
    "translations": [
      {
        "translatedText": "Voyons comment ce point de terminaison traduit ce texte.",
        "detectedSourceLanguage": "en"
      }
    ]
  }
}

 

 



                                                                            
POST https://zylalabs.com/api/38/text+translation+and+language+detector+api/110/translation+endpoint
                                                                            
                                                                        
Translation Endpoint - Endpoint Features
Object Description
q [Required] The input text to translate. Repeat this parameter to perform translation operations on multiple text inputs.
target [Required] The language to use for translation of the input text, set to one of the language codes listed in the INFO tab
format [Optional] The format of the source text, in either HTML (default) or plain-text. A value of html indicates HTML and a value of text indicates plain-text.
source [Optional] The language of the source text, set to one of the language codes listed in Language Support. If the source language is not specified, the API will attempt to detect the source language automatically and return it within the response.

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 Translation and Language Detector 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.

🧙Free
$0.00 / Mo

  • 100 Requests / Month
💫Basic
$24.99 / Mo

  • 200,000 Requests / Month
⚡Pro
$49.99 / Mo

  • 500,000 Requests / Month
🔥Pro Plus
$99.99 / Mo

  • 1,000,000 Requests / Month
🚀 Enterprise
Custom quote

Need more? We offer unlimited API calls, Request Quote


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]