theme
Translation Cloud
FREE
By alexburan
Updated a year ago

Translation Cloud API Documentation

Simple to use API to get machine and human translation in over 50 languages. Powered by Translation Cloud's network of 15,000 linguists.

Learn more about this API
POSTGet a translation for the supplied project ID.
POSTCreate Project
POSTGet a list of available languages and their abbreviations.
POSTGet a translation file for the supplied project ID.
POSTGet price
POSTRetrieve the number of available translators for a given language pair.
POSTCreate Project

Create a new project

Authorization:

description

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
textSTRING
REQUIREDThe text to translate. Text may be a JSON encoded. If text is JSON encoded, it must be in the format: ["This is segment 1.", "This is segment 2.", "This is segment 3."].
srcSTRING
REQUIREDThe abbreviation of the source language.
dstSTRING
REQUIREDThe abbreviation of the target language.
translation_typeSTRING
REQUIREDMust be either "machine" or "post_edit".
keyQUERY
REQUIREDYour private API key. Obtain one here http://translation-cloud.com/solutions/api/
Optional Parameters
fileSTRING
OPTIONALA file containing text to translate. Supported formats are .po, .properties, .rrc, .strings, .xls, .xlsx, .xml, .resx, .xlf, and .yml. If uploading a file, "text" and "text_is_json_encoded" will be ignored. The "text" value will automatically be set from the data in the file.
testSTRING
OPTIONALRun as a test to validate post data. Must be either "n" or "y". Defaults to "n". If run as a test, your credit card will not be charged, and dummy values for translations, project IDs, and prices will be used in the response.
text_is_json_encodedSTRING
OPTIONALIf the text is json encoded or not. Must be either "n" or "y". Defaults to "n". If text is JSON encoded, it must be in the format: ["This is segment 1.", "This is segment 2.", "This is segment 3."].
callbackSTRING
OPTIONALURL to contact when this project is completed. Defaults to "". Sends the project ID as "project_id" in POST data. Only works when "translation_type" is set to "post_edit".
special_instructionsSTRING
OPTIONALSpecial instructions to the translators. Defaults to "".
Code Snippet
Install SDK
null

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication