curl --request GET \
--url https://api.deepl.com/v3/languages \
--header 'Authorization: <api-key>'[
{
"lang": "de",
"name": "German",
"usable_as_source": true,
"usable_as_target": true,
"features": [
"formality",
"tag_handling",
"glossary"
]
},
{
"lang": "en",
"name": "English",
"usable_as_source": true,
"usable_as_target": false,
"features": [
"tag_handling",
"glossary"
]
},
{
"lang": "en-US",
"name": "English (American)",
"usable_as_source": false,
"usable_as_target": true,
"features": [
"tag_handling",
"glossary"
]
}
]Returns languages supported by the specified DeepL API product. Each language indicates whether it can be used as a source language, a target language, or both, along with the features it supports for that product.
curl --request GET \
--url https://api.deepl.com/v3/languages \
--header 'Authorization: <api-key>'[
{
"lang": "de",
"name": "German",
"usable_as_source": true,
"usable_as_target": true,
"features": [
"formality",
"tag_handling",
"glossary"
]
},
{
"lang": "en",
"name": "English",
"usable_as_source": true,
"usable_as_target": false,
"features": [
"tag_handling",
"glossary"
]
},
{
"lang": "en-US",
"name": "English (American)",
"usable_as_source": false,
"usable_as_target": true,
"features": [
"tag_handling",
"glossary"
]
}
]Authentication with Authorization header and DeepL-Auth-Key authentication scheme. Example: DeepL-Auth-Key <api-key>
The product to retrieve languages for. Supported values: translate_text, translate_document,
glossary, voice, write, style_rules.
translate_text, translate_document, glossary, voice, write, style_rules JSON array where each item represents a supported language.
The language code (BCP 47).
"de"
Name of the language in English.
"German"
Whether this language can be used as a source language with the specified product.
Whether this language can be used as a target language with the specified product.
Features supported for this language with the specified product. Always present;
empty array if no optional features are supported. Consult /v3/languages/products
to determine whether a feature must be present on the source language, target language,
or both for a given product.
formality, custom_instructions, tag_handling, glossary, writing_style, tone ["formality", "tag_handling", "glossary"]