Get language pairs
This endpoint has been deprecated and may be removed in future versions of the API.
Get the list of supported language pairs for Machine Translation.
- A language pair represents a combination of a source language code together with a target language code.
- These codes follow the IETF BCP 47 language tag standard.
For example, the codeen-GBstands for British English andpt-PTfor Portuguese from Portugal.
See the language code schema for more information regarding the allowed format/syntax.
Example of a response to this endpoint:
[{"source": "en", "target": "de"}, {"source": "da", "target": "en"}].
This response means that our MT API supports and allows translating from:
- English (en) to German (de).
- Danish (da) to English (en).
However, it does not necessarily support the other way round!
When specifying the MT language pairs of your need, pay special attention to the direction (source-target) of the language pair codes.
| Responses | ||||
|---|---|---|---|---|
200Successful response
| ||||
401The access token provided is missing, expired, revoked, malformed, or invalid for other reasons. The client MAY request a new access token and retry the protected resource request.
| ||||
403The request requires higher privileges than provided by the access token. The request should not be retried.
| ||||
429Too many requests in the time interval
|