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/5238/world+speak+api/6714/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/5238/world+speak+api/6715/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 World Speak 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 a JSON object containing the translated text along with the original language code. For example, the response includes fields like "translated_text" and "from," indicating the translated content and its source language.
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 their requests by specifying these parameters in the POST request body.
The response data from the Translate Text endpoint is structured in JSON format. It typically includes key fields like "translated_text," which contains the translated content, and "from," indicating the original language of the text.
The Check API Status endpoint provides information about the operational status of the API. It returns a simple message indicating whether the API is functioning correctly, allowing users to verify its availability before making translation requests.
Users can utilize the returned data by extracting the "translated_text" field for display or further processing in their applications. This allows for seamless integration of translations into websites, apps, or communication tools.
The World Speak API utilizes advanced machine learning algorithms and linguistic databases to ensure high-quality translations. Continuous updates and improvements are made to maintain data accuracy and relevance across supported languages.
Typical use cases include translating marketing materials, localizing software applications, and facilitating real-time communication in multilingual environments, such as customer support chats or international meetings.
Users should implement error handling in their applications to manage cases where the API returns partial or empty results. This can include checking for null values in the "translated_text" field and providing fallback options or user notifications as needed.
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:
105ms
Service Level:
100%
Response Time:
530ms
Service Level:
100%
Response Time:
901ms
Service Level:
100%
Response Time:
4,673ms
Service Level:
100%
Response Time:
1,168ms
Service Level:
100%
Response Time:
448ms
Service Level:
100%
Response Time:
2,345ms
Service Level:
100%
Response Time:
281ms
Service Level:
89%
Response Time:
345ms
Service Level:
100%
Response Time:
89ms
Service Level:
100%
Response Time:
2,612ms
Service Level:
100%
Response Time:
2,413ms
Service Level:
100%
Response Time:
2,819ms
Service Level:
100%
Response Time:
3,293ms
Service Level:
100%
Response Time:
3,725ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
7,172ms
Service Level:
100%
Response Time:
15ms
Service Level:
100%
Response Time:
22ms
Service Level:
100%
Response Time:
16ms