Microsoft Text Translation 3.0

FREEMIUM
By microsoft-azure
Updated 2 months ago
6.4/10
Popularity Score
451ms
Latency
62%
Success Rate

Microsoft Text Translation 3.0 API Documentation

New version of Text Translation API

View API Details
GETLanguages
POSTTranslate
POSTTransliterate
POSTDetect
POSTBreakSentence
POSTDictionary Examples
GETLanguages

Gets the set of languages currently supported by other operations of the Translator Text API.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
scopeSTRING
OPTIONALA comma-separated list of names defining the group of languages to return. Allowed group names are: translation, transliteration and dictionary.
Code Snippet
unirest.get("https://microsoft-azure-microsoft-text-translation-3-0-v1.p.rapidapi.com/languages?api-version=3.0")
.header("X-RapidAPI-Host", "microsoft-azure-microsoft-text-translation-3-0-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://microsoft-azure-microsoft-text-translation-3-0-v1.p.rapidapi.com/languages?api-version=3.0
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://microsoft-azure-microsoft-text-translation-3-0-v1.p.rapidapi.com/languages?api-version=3.0")
.header("X-RapidAPI-Host", "microsoft-azure-microsoft-text-translation-3-0-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication