Motor de traducción de texto de Google. API

La API del motor de traducción de texto de Google proporciona acceso sin restricciones a los servicios de traducción, brindando a los usuarios amplias capacidades de traducción de idiomas.

Acerca de la API:  

La API del Motor Traductor de Texto de Google, parte de la Plataforma de Google Cloud, proporciona a los usuarios una poderosa herramienta para integrar capacidades de traducción de idiomas en sus aplicaciones y servicios. Esta API permite a los usuarios acceder a los avanzados modelos de aprendizaje automático de Google y a la tecnología de traducción automática neuronal para traducir texto entre miles de pares de idiomas.

Con la API del Motor Traductor de Texto de Google, los usuarios pueden incorporar fácilmente funciones de traducción en sus aplicaciones, sitios web y productos de software.

La API de Google Translator proporciona traducciones de alta calidad, precisas y contextualmente apropiadas. Los modelos de aprendizaje automático de Google mejoran continuamente con el tiempo a medida que aprenden de grandes cantidades de datos, asegurando que las traducciones estén actualizadas y reflejen las sutilezas del lenguaje natural.

La API también proporciona documentación completa para ayudar a los usuarios a comenzar con la API del Motor Traductor de Texto de Google y resolver cualquier problema que puedan encontrar. Este ecosistema de soporte integral permite aprovechar todo el potencial de la API y crear aplicaciones innovadoras que aprovechen el poder de la traducción de idiomas.

En resumen, la API del Motor Traductor de Texto de Google ofrece a los desarrolladores una solución confiable, escalable y rica en funciones para integrar capacidades de traducción de idiomas en sus aplicaciones. Con sus avanzados modelos de aprendizaje automático y recursos de soporte integral, la API de Traducción permite a los usuarios crear aplicaciones multilingües que se dirigen a una audiencia global.

 

¿Qué recibe esta API y qué proporciona tu API (entrada/salida)?

Recibirá parámetros y te proporcionará un JSON.

 

¿Cuáles son los casos de uso más comunes de esta API?

  1. Sitios web multilingües: Los usuarios de sitios web utilizan la API para proporcionar soporte multilingüe, permitiendo a los usuarios ver contenido en su idioma preferido.

    Plataformas de comercio electrónico: Los sitios web de comercio electrónico integran la API para proporcionar descripciones de productos y procesos de pago en varios idiomas, mejorando la experiencia de compra para los clientes internacionales.

    Aplicaciones de aprendizaje de idiomas: Las aplicaciones de aprendizaje de idiomas aprovechan la API para proporcionar traducción instantánea de palabras, frases y oraciones, ayudando a los estudiantes a entender y practicar nuevos idiomas.

    Aplicaciones de viaje: Las aplicaciones de viaje utilizan la API para ofrecer servicios de traducción en tiempo real, ayudando a los viajeros a comunicarse efectivamente en países extranjeros donde no hablan el idioma local.

    Traducción de documentos: Empresas e individuos utilizan la API para traducir documentos, correos electrónicos y otros contenidos de texto de manera rápida y precisa, facilitando la comunicación a través de las barreras del idioma.

     

¿Hay alguna limitación en tus planes?

Además del número de llamadas a la API disponibles para el plan, no hay otras limitaciones.

Documentación de la API

Endpoints


Para usar este punto final, simplemente ejecútalo y obtendrás todos los idiomas disponibles.



                                                                            
GET https://zylalabs.com/api/3486/google+text+translator+engine+api/3810/support+languages
                                                                            
                                                                        

Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"af":"Afrikaans / South Africa / \ud83c\uddff\ud83c\udde6","am":"Amharic / Ethiopia / \ud83c\uddea\ud83c\uddf9","ar":"Arabic / Saudi Arabia / \ud83c\uddf8\ud83c\udde6","az":"Azerbaijani / Azerbaijan / \ud83c\udde6\ud83c\uddff","be":"Belarusian / Belarus / \ud83c\udde7\ud83c\uddfe","bg":"Bulgarian / Bulgaria / \ud83c\udde7\ud83c\uddec","bn":"Bengali / Bangladesh / \ud83c\udde7\ud83c\udde9","bs":"Bosnian / Bosnia and Herzegovina / \ud83c\udde7\ud83c\udde6","ca":"Catalan / Catalonia / \ud83c\udde6\ud83c\udde9","ceb":"Cebuano / Philippines / \ud83c\uddf5\ud83c\udded","co":"Corsican / Corsica / \ud83c\udde8\ud83c\uddf7","cs":"Czech / Czech Republic / \ud83c\udde8\ud83c\uddff","cy":"Welsh / Wales / \ud83c\udff4","da":"Danish / Denmark / \ud83c\udde9\ud83c\uddf0","de":"German / Germany / \ud83c\udde9\ud83c\uddea","el":"Greek / Greece / \ud83c\uddec\ud83c\uddf7","en":"English / United Kingdom / \ud83c\uddec\ud83c\udde7","eo":"Esperanto / Esperanto Community / \ud83c\uddea\ud83c\uddfa","es":"Spanish / Spain / \ud83c\uddea\ud83c\uddf8","et":"Estonian / Estonia / \ud83c\uddea\ud83c\uddea","eu":"Basque / Basque Country / \ud83c\uddea\ud83c\uddfa","fa":"Persian / Iran / \ud83c\uddee\ud83c\uddf7","fi":"Finnish / Finland / \ud83c\uddeb\ud83c\uddee","fr":"French / France / \ud83c\uddeb\ud83c\uddf7","fy":"Frisian / Netherlands / \ud83c\uddf3\ud83c\uddf1","ga":"Irish / Ireland / \ud83c\uddee\ud83c\uddea","gd":"Scots Gaelic / Scotland / \ud83c\udff4","gl":"Galician / Galicia / \ud83c\uddea\ud83c\uddf8","gu":"Gujarati / India / \ud83c\uddee\ud83c\uddf3","ha":"Hausa / Nigeria / \ud83c\uddf3\ud83c\uddec","haw":"Hawaiian / United States / \ud83c\uddfa\ud83c\uddf8","hi":"Hindi / India / \ud83c\uddee\ud83c\uddf3","hmn":"Hmong / China / \ud83c\udde8\ud83c\uddf3","hr":"Croatian / Croatia / \ud83c\udded\ud83c\uddf7","ht":"Haitian Creole / Haiti / \ud83c\udded\ud83c\uddf9","hu":"Hungarian / Hungary / \ud83c\udded\ud83c\uddfa","hy":"Armenian / Armenia / \ud83c\udde6\ud83c\uddf2","id":"Indonesian / Indonesia / \ud83c\uddee\ud83c\udde9","ig":"Igbo / Nigeria / \ud83c\uddf3\ud83c\uddec","is":"Icelandic / Iceland / \ud83c\uddee\ud83c\uddf8","it":"Italian / Italy / \ud83c\uddee\ud83c\uddf9","iw":"Hebrew / Israel / \ud83c\uddee\ud83c\uddf1","ja":"Japanese / Japan / \ud83c\uddef\ud83c\uddf5","jw":"Javanese / Indonesia / \ud83c\uddee\ud83c\udde9","ka":"Georgian / Georgia / \ud83c\uddec\ud83c\uddea","kk":"Kazakh / Kazakhstan / \ud83c\uddf0\ud83c\uddff","km":"Khmer / Cambodia / \ud83c\uddf0\ud83c\udded","kn":"Kannada / India / \ud83c\uddee\ud83c\uddf3","ko":"Korean / South Korea / \ud83c\uddf0\ud83c\uddf7","ku":"Kurdish / Iraq / \ud83c\uddee\ud83c\uddf6","ky":"Kyrgyz / Kyrgyzstan / \ud83c\uddf0\ud83c\uddec","la":"Latin / Vatican City / \ud83c\uddfb\ud83c\udde6","lb":"Luxembourgish / Luxembourg / \ud83c\uddf1\ud83c\uddfa","lo":"Lao / Laos / \ud83c\uddf1\ud83c\udde6","lt":"Lithuanian / Lithuania / \ud83c\uddf1\ud83c\uddf9","lv":"Latvian / Latvia / \ud83c\uddf1\ud83c\uddfb","mg":"Malagasy / Madagascar / \ud83c\uddf2\ud83c\uddec","mi":"Maori / New Zealand / \ud83c\uddf3\ud83c\uddff","mk":"Macedonian / North Macedonia / \ud83c\uddf2\ud83c\uddf0","ml":"Malayalam / India / \ud83c\uddee\ud83c\uddf3","mn":"Mongolian / Mongolia / \ud83c\uddf2\ud83c\uddf3","mr":"Marathi / India / \ud83c\uddee\ud83c\uddf3","ms":"Malay / Malaysia / \ud83c\uddf2\ud83c\uddfe","mt":"Maltese / Malta / \ud83c\uddf2\ud83c\uddf9","my":"Burmese / Myanmar / \ud83c\uddf2\ud83c\uddf2","ne":"Nepali / Nepal / \ud83c\uddf3\ud83c\uddf5","nl":"Dutch / Netherlands / \ud83c\uddf3\ud83c\uddf1","no":"Norwegian / Norway / \ud83c\uddf3\ud83c\uddf4","ny":"Chichewa / Malawi / \ud83c\uddf2\ud83c\uddfc","or":"Oriya / India / \ud83c\uddee\ud83c\uddf3","pa":"Punjabi / India / \ud83c\uddee\ud83c\uddf3","pl":"Polish / Poland / \ud83c\uddf5\ud83c\uddf1","ps":"Pashto / Afghanistan / \ud83c\udde6\ud83c\uddeb","pt":"Portuguese / Portugal / \ud83c\uddf5\ud83c\uddf9","ro":"Romanian / Romania / \ud83c\uddf7\ud83c\uddf4","ru":"Russian / Russia / \ud83c\uddf7\ud83c\uddfa","sd":"Sindhi / Pakistan / \ud83c\uddf5\ud83c\uddf0","si":"Sinhala / Sri Lanka / \ud83c\uddf1\ud83c\uddf0","sk":"Slovak / Slovakia / \ud83c\uddf8\ud83c\uddf0","sl":"Slovenian / Slovenia / \ud83c\uddf8\ud83c\uddee","sm":"Samoan / Samoa / \ud83c\uddfc\ud83c\uddf8","sn":"Shona / Zimbabwe / \ud83c\uddff\ud83c\uddfc","so":"Somali / Somalia / \ud83c\uddf8\ud83c\uddf4","sq":"Albanian / Albania / \ud83c\udde6\ud83c\uddf1","sr":"Serbian / Serbia / \ud83c\uddf7\ud83c\uddf8","st":"Sesotho / Lesotho / \ud83c\uddf1\ud83c\uddf8","su":"Sundanese / Indonesia / \ud83c\uddee\ud83c\udde9","sv":"Swedish / Sweden / \ud83c\uddf8\ud83c\uddea","sw":"Swahili / Kenya / \ud83c\uddf0\ud83c\uddea","ta":"Tamil / Sri Lanka / \ud83c\uddf1\ud83c\uddf0","te":"Telugu / India / \ud83c\uddee\ud83c\uddf3","tg":"Tajik / Tajikistan / \ud83c\uddf9\ud83c\uddef","th":"Thai / Thailand / \ud83c\uddf9\ud83c\udded","tl":"Filipino / Philippines / \ud83c\uddf5\ud83c\udded","tr":"Turkish / Turkey / \ud83c\uddf9\ud83c\uddf7","ug":"Uyghur / China / \ud83c\udde8\ud83c\uddf3","uk":"Ukrainian / Ukraine / \ud83c\uddfa\ud83c\udde6","ur":"Urdu / Pakistan / \ud83c\uddf5\ud83c\uddf0","uz":"Uzbek / Uzbekistan / \ud83c\uddfa\ud83c\uddff","vi":"Vietnamese / Vietnam / \ud83c\uddfb\ud83c\uddf3","xh":"Xhosa / South Africa / \ud83c\uddff\ud83c\udde6","yi":"Yiddish / Israel / \ud83c\uddee\ud83c\uddf1","yo":"Yoruba / Nigeria / \ud83c\uddf3\ud83c\uddec","zh-cn":"Chinese (Simplified) / China / \ud83c\udde8\ud83c\uddf3","zh-tw":"Chinese (Traditional) / Taiwan / \ud83c\uddf9\ud83c\uddfc","zu":"Zulu / South Africa / \ud83c\uddff\ud83c\udde6"}
                                                                                                                                                                                                                    
                                                                                                    

Support Languages - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/3486/google+text+translator+engine+api/3810/support+languages' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Para utilizar este punto final, debes ingresar un texto para detectar el idioma.



                                                                            
POST https://zylalabs.com/api/3486/google+text+translator+engine+api/3811/detect+language
                                                                            
                                                                        

Detectar idioma. - Características del Endpoint

Objeto Descripción
texte [Requerido] Indicate a text
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"country":"United Kingdom","detect":"en","emoji":"\ud83c\uddec\ud83c\udde7","full":"en - English / United Kingdom - \ud83c\uddec\ud83c\udde7","name":"English"}
                                                                                                                                                                                                                    
                                                                                                    

Detect Language - CÓDIGOS DE EJEMPLO


curl --location --request POST 'https://zylalabs.com/api/3486/google+text+translator+engine+api/3811/detect+language?texte=I am bored' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Para usar este punto final, debes especificar un texto y el idioma que se va a convertir en los parámetros.



                                                                            
POST https://zylalabs.com/api/3486/google+text+translator+engine+api/3812/translate+text
                                                                            
                                                                        

Traducir texto. - Características del Endpoint

Objeto Descripción
texte [Requerido] Indicate a text
to_lang [Requerido] Enter a country code
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"meta":{"flag":"\ud83c\uddec\ud83c\udde7 \u279c \ud83c\uddeb\ud83c\uddf7","original_counter":"11","translate_counter":"7"},"translation_data":{"original_text":"Hello there","translation":"Bonjour"}}
                                                                                                                                                                                                                    
                                                                                                    

Translate text - CÓDIGOS DE EJEMPLO


curl --location --request POST 'https://zylalabs.com/api/3486/google+text+translator+engine+api/3812/translate+text?texte=Hello there&to_lang=fr' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Motor de traducción de texto de Google. API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Motor de traducción de texto de Google. API FAQs

Para utilizar esta API, los usuarios deben indicar un texto y el idioma al que se va a traducir para obtener una traducción precisa de cualquier idioma. Solo se debe devolver el texto traducido. Si hubo un error en la traducción, solo se debe devolver "error".

La API del Motor de Traductor de Texto de Google ofrece a los usuarios acceso a modelos avanzados de aprendizaje automático para traducir texto entre múltiples idiomas.

Hay diferentes planes para todos los gustos, incluyendo una prueba gratuita para un número limitado de solicitudes, pero tu tarifa está limitada para evitar el abuso del servicio.

Zyla proporciona una amplia gama de métodos de integración para casi todos los lenguajes de programación. Puedes usar estos códigos para integrarlos en tu proyecto según lo necesites.

El punto final "GET Support Languages" devuelve un objeto JSON que enumera todos los idiomas disponibles con sus códigos y nombres. El punto final "POST Detect Language" devuelve el código de idioma detectado, el país y el nombre. El punto final "POST Translate Text" proporciona el texto original, su traducción y metadatos sobre el proceso de traducción.

Los campos clave incluyen "original_text" y "translation" en la respuesta "Traducir Texto", "detect" y "name" en la respuesta "Detectar Idioma", y códigos y nombres de idiomas en la respuesta "Idiomas Soportados".

El endpoint "POST Detect Language" requiere una entrada de texto para identificar el idioma. El endpoint "POST Translate Text" requiere el texto que se va a traducir y el código del idioma de destino. El endpoint "GET Support Languages" no requiere parámetros. Solo se debe devolver el texto traducido. Si hubo un error en la traducción, solo se debe devolver "error".

Las respuestas están estructuradas en formato JSON. Por ejemplo, la respuesta "Traducir Texto" incluye un objeto "meta" con contadores de traducción y un objeto "translation_data" que contiene el texto original y su traducción. Solo debe devolverse el texto traducido. Si hubo un error en la traducción, solo debe devolverse "error".

El punto final "GET Support Languages" proporciona una lista de todos los idiomas soportados. El punto final "POST Detect Language" identifica el idioma de un texto dado, mientras que el punto final "POST Translate Text" traduce texto entre los idiomas especificados.

La precisión de los datos se mantiene a través de los avanzados modelos de aprendizaje automático de Google, que aprenden continuamente de vastos conjuntos de datos. Esto asegura que las traducciones reflejen el uso y el contexto del lenguaje actual.

Los casos de uso típicos incluyen crear sitios web multilingües, mejorar plataformas de comercio electrónico con traducciones, apoyar aplicaciones de aprendizaje de idiomas y proporcionar traducción en tiempo real en aplicaciones de viajes.

Los usuarios pueden utilizar los datos devueltos integrándolos en sus aplicaciones para mostrar traducciones, detectar idiomas para la entrada del usuario o ajustar dinámicamente el contenido según las preferencias de idioma del usuario.

General FAQs

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). 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 paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

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.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1.000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the 'X-Zyla-RateLimit-Limit' response header. For instance, if your plan includes 1.000 requests per month, this header will display 1.000.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3.600, it means 3.600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


APIs Relacionadas


También te puede interesar