translated.io provides an online translation service that is constantly evolving through machine learning and artificial
intelligence. Our customers have the possibility to translate content between 21 different languages via a solid RESTful API.
This documentation describes authentication as well as sending translation requests and receiving response objects.
No worries: The API is pretty easy to use and only needs some seconds to setup. Enjoy!
After signing up you must just login with the password we provided via mail. Enter your payment information on the dashboard and claim an API token afterwards - boom! You're ready to go.
You can re-generate a new API whenever needed. Please send this token with each request as Authorization bearer token.
All API requests must be made over HTTPS.
curl -X POST \
https://api.translated.io/translate \
-H 'Authorization: Bearer hfCNDlFuQTK3u4SBdBZy' \
-H 'Content-Type: application/json' \
-d '{
"inputText": "Wikipedia is a free online encyclopedia, created and edited by volunteers around the world and hosted by the Wikimedia Foundation.",
"targetLanguageCode": "es"
}'
{
"translation": "Wikipedia es una enciclopedia gratuita en línea, creada y editada por voluntarios de todo el mundo y alojada por la Fundación Wikimedia.",
"sourceLanguageCode": "en"
}