Sign Up

Log In

Language Identification

FREEMIUM
By MeaningCloud
Updated 11 days ago
Tools
4.2/10
Popularity Score
79ms
Latency
100%
Success Rate

Language Identification API Documentation

Automatic language detection for texts obtained from any kind of source (blog, twitter, online news and so on). Through statistic techniques based on N-grams evaluation, more than 60 languages are correctly identified.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
GETLang 2.0
GETLang 2.0

Language Identification 2.0

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AcceptSTRING
OPTIONAL
Optional Parameters
docSTRING
OPTIONALInput file with the content to analyze. The supported formats for file contents can be found at https://www.meaningcloud.com/developer/documentation/supported-formats, (if 'doc' has a value, 'url' and 'txt' must be empty)
txtSTRING
OPTIONALInput text. It can be plain text, HTML or XML, always using UTF-8 encoding, (if 'txt' has a value, 'url' and 'doc' must be empty)
urlSTRING
OPTIONALURL of the content to analyze. Currently only non-authenticated HTTP and FTP are supported. The content types supported for URL contents can be found at https://www.meaningcloud.com/developer/documentation/supported-formats, (if 'url' has a value, 'txt' and 'doc' must be empty)
thresholdNUMBER
OPTIONALLanguage detection threshold as a percentage of similarity with respect to the top result
selectionSTRING
OPTIONALList of expected languages, separated by |.
verboseSTRING
OPTIONALWhen active, it shows additional information about the languages detected.
Request Snippet
unirest.get("https://language-identification.p.rapidapi.com/lang-2.0.php?doc=undefined&txt=undefined&url=undefined&threshold=undefined&selection=undefined&verbose=undefined")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Accept", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

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://language-identification.p.rapidapi.com/lang-2.0.php?doc=undefined&txt=undefined&url=undefined&threshold=undefined&selection=undefined&verbose=undefined")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Accept", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard