API Get Languages

API Documentation home

Quick Example

curl "https://api.modernmt.com/languages" | python -mjson.tool
{
    "data": {
        "en": ["fr", "it", "ja", ... ],
        "fr": ["en", "it", "ja", ... ],
        "it": ["en", "fr", "ja", ... ],
        "ja": ["en", "fr", "it", ... ],
        ...
    },
    "status": 200
}

Description

This method retrieves the list of all the language combinations supported for translation.

Resource URL

https://api.modernmt.com/languages

Request Fields

None.

Response Fields

The response is an object which maps all source languages to the array of all supported target languages.