To use this endpoint, send a POST request with the text to be translated and the target language code, and receive the translated text.
Text Translate - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] Json |
{"result":"Ce texte sera traduit en français"}
curl --location --request POST 'https://zylalabs.com/api/5160/instant+translation+api/6589/text+translate' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"from_lang": "en",
"to_lang": "fr",
"text": "This text will be translated to French"
}'
To use this endpoint, send a GET request to receive a dictionary with the language names and their corresponding API-compatible codes.
This endpoint does not require any input parameters.
Test Endpoint
{"Abkhazian":"ab","Afar":"aa","Afrikaans":"af","Akan":"ak","Albanian":"sq","Amharic":"am","Arabic":"ar","Aragonese":"an","Armenian":"hy","Assamese":"as","Avaric":"av","Avestan":"ae","Aymara":"ay","Azerbaijani":"az","Bambara":"bm","Bashkir":"ba","Basque":"eu","Belarusian":"be","Bengali":"bn","Bihari":"bh","Bislama":"bi","Bosnian":"bs","Breton":"br","Bulgarian":"bg","Burmese":"my","Catalan":"ca","Chamorro":"ch","Chechen":"ce","Chinese":"zh","Chuvash":"cv","Cornish":"kw","Corsican":"co","Cree":"cr","Croatian":"hr","Czech":"cs","Danish":"da","Divehi":"dv","Dutch":"nl","Dzongkha":"dz","English":"en","Esperanto":"eo","Estonian":"et","Ewe":"ee","Faroese":"fo","Fijian":"fj","Finnish":"fi","French":"fr","Frisian":"fy","Fulah":"ff","Gaelic (Scottish)":"gd","Gaelic (Manx)":"gv","Galician":"gl","Ganda":"lg","Georgian":"ka","German":"de","Greek":"el","Guarani":"gn","Gujarati":"gu","Haitian Creole":"ht","Hausa":"ha","Hebrew":"he","Herero":"hz","Hindi":"hi","Hiri Motu":"ho","Hungarian":"hu","Icelandic":"is","Ido":"io","Igbo":"ig","Indonesian":"id","Interlingua":"ia","Interlingue":"ie","Inuktitut":"iu","Inupiak":"ik","Irish":"ga","Italian":"it","Japanese":"ja","Javanese":"jv","Kalaallisut":"kl","Kannada":"kn","Kanuri":"kr","Kashmiri":"ks","Kazakh":"kk","Khmer":"km","Kikuyu":"ki","Kinyarwanda":"rw","Kirghiz":"ky","Komi":"kv","Kongo":"kg","Korean":"ko","Kurdish":"ku","Kwanyama":"kj","Lao":"lo","Latin":"la","Latvian":"lv","Limburgish":"li","Lingala":"ln","Lithuanian":"lt","Luba-Katanga":"lu","Luxembourgish":"lb","Macedonian":"mk","Malagasy":"mg","Malay":"ms","Malayalam":"ml","Maltese":"mt","Manx":"gv","Māori":"mi","Marathi":"mr","Marshallese":"mh","Moldavian":"mo","Mongolian":"mn","Nauru":"na","Navajo":"nv","Ndonga":"ng","Northern Ndebele":"nd","Nepali":"ne","Norwegian":"no","Norwegian Bokmål":"nb","Norwegian Nynorsk":"nn","Nuosu":"ii","Occitan":"oc","Ojibwa":"oj","Oriya":"or","Oromo":"om","Ossetian":"os","Pāli":"pi","Pashto":"ps","Persian":"fa","Polish":"pl","Portuguese":"pt","Punjabi":"pa","Quechua":"qu","Romansh":"rm","Romanian":"ro","Russian":"ru","Sami":"se","Samoan":"sm","Sangro":"sg","Sanskrit":"sa","Sardinian":"sc","Serbian":"sr","Shona":"sn","Sichuan Yi":"ii","Sindhi":"sd","Sinhalese":"si","Slovak":"sk","Slovenian":"sl","Somali":"so","Sotho, Southern":"st","Spanish":"es","Sundanese":"su","Swahili":"sw","Swati":"ss","Swedish":"sv","Tagalog":"tl","Tahitian":"ty","Tajik":"tg","Tamil":"ta","Tatar":"tt","Telugu":"te","Thai":"th","Tibetan":"bo","Tigrinya":"ti","Tonga (Tonga Islands)":"to","Tsonga":"ts","Tswana":"tn","Turkish":"tr","Turkmen":"tk","Twi":"tw","Uighur":"ug","Ukrainian":"uk","Urdu":"ur","Uzbek":"uz","Venda":"ve","Vietnamese":"vi","Volapük":"vo","Walloon":"wa","Welsh":"cy","Wolof":"wo","Xhosa":"xh","Yiddish":"yi","Yoruba":"yo","Zhuang":"za","Zulu":"zu"}
curl --location --request GET 'https://zylalabs.com/api/5160/instant+translation+api/6590/list+supported+languages' --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.
Send a POST request to translate text or a GET request to get the list of supported languages.
The Instant Translation API it is an API that translates text between several languages, with automatic detection of the source language.
The API receives text and the target language code, and returns the translated text.
Translate website content for international users. Convert texts between different languages for corporate communication. Integrate machine translations into global messaging applications.
Beside the number of API calls per month allowed, there are no other limitations.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.
The API returns detailed information about the age and history of a domain, including years, months and days since its creation, as well as expiration and update dates.
The POST Text Translate endpoint returns the translated text in a JSON format, while the GET List Supported Languages endpoint returns a dictionary of language names and their corresponding API-compatible codes.
For the POST Text Translate endpoint, the key field is "result," which contains the translated text. For the GET List Supported Languages endpoint, the response consists of language names as keys and their codes as values.
The POST Text Translate endpoint accepts parameters such as "text" (the text to be translated) and "target_language" (the code of the target language). Users must provide these to receive a translation.
The response data from the POST Text Translate endpoint is structured as a JSON object with a single key, "result," containing the translated text. The GET List Supported Languages endpoint returns a JSON object with language names as keys and their codes as values.
The GET List Supported Languages endpoint provides a comprehensive list of all supported languages, including their names and corresponding API-compatible codes, facilitating easy integration for developers.
Users can utilize the translated text from the POST Text Translate endpoint directly in their applications for multilingual support. The language codes from the GET List Supported Languages endpoint can be used to specify target languages in translation requests.
The Instant Translation API employs advanced algorithms and machine learning techniques to ensure high accuracy in translations. Continuous updates and improvements are made to enhance translation quality.
Typical use cases include dynamically populating language selection menus in applications, enabling users to choose their preferred language for translation, and ensuring compatibility with various language codes in translation requests.
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:
389ms
Service Level:
100%
Response Time:
1,939ms
Service Level:
100%
Response Time:
1,495ms
Service Level:
100%
Response Time:
167ms
Service Level:
100%
Response Time:
951ms
Service Level:
100%
Response Time:
1,415ms
Service Level:
100%
Response Time:
849ms
Service Level:
100%
Response Time:
349ms
Service Level:
100%
Response Time:
662ms
Service Level:
100%
Response Time:
906ms
Service Level:
100%
Response Time:
3,762ms
Service Level:
100%
Response Time:
2,773ms
Service Level:
100%
Response Time:
3,355ms
Service Level:
100%
Response Time:
3,570ms
Service Level:
100%
Response Time:
2,725ms
Service Level:
100%
Response Time:
2,692ms
Service Level:
100%
Response Time:
3,150ms
Service Level:
100%
Response Time:
2,946ms
Service Level:
100%
Response Time:
3,428ms
Service Level:
100%
Response Time:
2,795ms