Identifies the language(s) in a document

Returns list of candidate languages in order of descending confidence. The response is an ordered list of identified languages, including language and identification confidence, sorted by descending confidence.

Authentication

X-BabelStreetAPI-Keystring
API Key authentication via header
OR
X-RosetteAPI-Keystring
API Key authentication via header

Request

This endpoint expects an object.
languagestringOptional
3 letter code of language.
optionsobjectOptional

Response

OK
languageDetectionslist of objectsOptional
List of detected languages