Language Identification
FREEMIUM
By MeaningCloud
Updated 10 months ago

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.

Learn more about this API
GETLang 2.0
GETLang 2.0

Language Identification 2.0

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.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication