To use this endpoint, send a POST request with the text you want to translate and the target language. The API will return the translated text.
Translate Text - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] Json |
{"translated_text":"William Edward Sanders (1883-1917) a été un récipiendaire néo-zélandais de la Croix de Victoria (VC), le plus haut prix de combat britannique et du Commonwealth pour la bravoure.Il a pris une carrière maritime en 1899 et a obtenu un certificat de maîtrise en 1914, après le déclenchement de la Première Guerre mondiale.Il a été nommé au secondaire d'Helgoland, un Q-navire opérant contre des sous-marins allemands.Il a reçu son propre commandement, HMS Prize, en février 1917. Sanders a reçu le VC pour ses actions lors de sa première patrouille en tant que capitaine, lorsque le prix a engagé et a conduit un sous-marin allemand qui avait attaqué et endommagé le navire.Il a été tué au combat lorsque le prix a été coulé par un sous-marin lors de sa quatrième patrouille.Son VC est actuellement détenu par le Auckland War Memorial Museum.Ses monuments incluent la Sanders Cup, un trophée de voile pour des yachts de 14 pieds (4,3 m).","from":"eng","to":"fra"}
curl --location --request POST 'https://zylalabs.com/api/5242/easy+translate+api/6722/translate+text' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"text": "William Edward Sanders (1883–1917) was a New Zealand recipient of the Victoria Cross (VC), the highest British and Commonwealth combat award for gallantry. He took up a seafaring career in 1899 and earned a master's certificate in 1914, after the outbreak of World War I. He served on troopships until April 1916, when he was commissioned in the Royal Naval Reserve. He was appointed second in command of Helgoland, a Q-ship operating against German submarines. He was given his own command, HMS Prize, in February 1917. Sanders was awarded the VC for his actions while on his first patrol as captain, when Prize engaged and drove off a German U-boat that had attacked and damaged the ship. He was killed in action when Prize was sunk by a U-boat on her fourth patrol. His VC is currently held by the Auckland War Memorial Museum. His memorials include the Sanders Cup, a sailing trophy for 14-foot (4.3 m) yachts.",
"to": "fr",
"from_lang": ""
}'
To use this endpoint, perform a GET request to check the status and availability of the API, making sure it is working properly.
"google api 9 04 24 9 30"
curl --location --request GET 'https://zylalabs.com/api/5242/easy+translate+api/6723/check+api+status' --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 with the text to be translated and specify the target language. You will receive an accurate translation in the requested language.
The Easy Translate it is a translation API that supports multiple languages and makes it easy to convert text from one language to another accurately and quickly.
The API receives a text and the target language in the request body (input) and returns the translated text in the selected language (output).
Translate website content into multiple languages. Facilitate communication in multilingual chat applications. Automate the translation of e-mails and documents.
Basic Plan: 1 requests per second. Pro Plan: 1 requests per second. Pro Plus Plan: 1 requests per second. Premium Plan: 2 requests per second. Elite Plan: 2 requests per second. Ultima Plan:2 requests per second.
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 Translate Text endpoint returns the translated text in the specified target language. The response includes the translated content and the original language code from which the text was translated.
The key fields in the response data include "translated_text," which contains the translated content, and "from," indicating the source language code of the original text.
The response data is structured in JSON format, with key-value pairs. For example, the translated text is found under "translated_text," making it easy to extract and use in applications.
The Translate Text endpoint accepts parameters such as "text" (the content to be translated) and "target_language" (the language code for the desired translation). Users can customize requests by specifying these parameters.
Data accuracy is maintained through advanced translation algorithms and continuous updates to the language models. The API leverages extensive linguistic databases to ensure high-quality translations.
Typical use cases include translating product descriptions for e-commerce, localizing content for websites, and facilitating communication in customer support across different languages.
Users can extract the "translated_text" field from the JSON response to display translations in their applications, ensuring that the content is presented in the user's preferred language.
The Check API Status endpoint provides information about the operational status of the API, indicating whether it is currently available for use, which helps users ensure connectivity before making translation requests.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
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.
Service Level:
100%
Response Time:
389ms
Service Level:
100%
Response Time:
625ms
Service Level:
100%
Response Time:
1,939ms
Service Level:
100%
Response Time:
833ms
Service Level:
100%
Response Time:
906ms
Service Level:
100%
Response Time:
956ms
Service Level:
100%
Response Time:
1,735ms
Service Level:
100%
Response Time:
1,415ms
Service Level:
100%
Response Time:
304ms
Service Level:
100%
Response Time:
1,222ms