GET
/
v2
/
languages
Retrieve supported languages
curl --request GET \
  --url https://api.lilt.com/v2/languages
{
  "source_to_target": {
    "en": {
      "da": true,
      "de": true,
      "fr": true,
      "...": "..."
    },
    "...": "..."
  },
  "code_to_name": {
    "aa": "Afar",
    "ab": "Abkhazian",
    "af": "Afrikaans",
    "...": "..."
  }
}

Authorizations

key
string
query
required

Response

An object listing supported languages and their corresponding locales.

source_to_target
object

A two-dimensional object in which the first key is an ISO 639-1 language code indicating the source, and the second key is an ISO 639-1 language code indicating the target.

Example:
{
"en": {
"da": true,
"de": true,
"fr": true,
"...": "..."
},
"...": "..."
}
code_to_name
object

An object in which the key is an ISO 639-1 language code, and the value is the language name.

Example:
{
"aa": "Afar",
"ab": "Abkhazian",
"af": "Afrikaans",
"...": "..."
}