Response

Sample response:

{
    "status": {
        "code": 0,
        "credits": 1,
        "msg": "OK"
    },
    "language_list": [
        {
            "iso-639-1": "en",
            "iso-639-2": "eng",
            "iso-639-3": "eng",
            "language": "en",
            "name": "English",
            "relevance": 100
        }
    ],
    "deepTime": 0.06057405471801758,
    "time": 0.16714835166931152
}

Response fields:

NameDescription
statusDescribes the request outcome in terms of success or failure.
status.codeNumerical value of result code. Refer to theerror code catalog.
status.msgHuman-readable error code, if any, orOK.
status.creditsCredits consumed by the request.
status.remaining_creditsCredits left to reach the usage limit.
language_listContains the list of languages detected, sorted by relevance.
language_list[].languageCode of the language. A language included in the ISO-639-1 standard is represented by a two-letter code, while other languages are represented by a three-letter code.
language_list[].nameHuman-readable name of the language.
language_list[].relevanceRelevance value associated to the detected language.
language_list[].iso-639-1Two-letter code of the language if it is included in the ISO-639-1 standard.
language_list[].iso-639-2Three-letter code of the language if it is included in the ISO-639-2 standard.
language_list[].iso-639-3Three-letter code of the language if it is included in the ISO-639-3 standard.
language_list[].iso-639-5Three-letter code of the language if it is included in the ISO-639-5 standard.
deepTimeTime taken for the neural network to perform the identification.
timeTime taken for the API to perform the request.