DeepL
Text translation, glossaries and writing improvement
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
Where to find them
- Sign up for a DeepL API plan, Free or Pro, at deepl.com/pro#api: it is separate from the DeepL Pro translator subscription and, if you already have a translator account, DeepL asks you to create another one for the API.
- At deepl.com/your-account/keys copy the key or create another.
Tools (2)
DeepL API request
DEEPL_SEND_REQUESTAuthenticated call to the DeepL API (per-connection URL). Any endpoint of the API is allowed. Paths on https://api.deepl.com or https://api-free.deepl.com, depending on the key. Examples: POST /v2/translate {"text": ["…"], "target_lang": "EN-GB"}, POST /v2/write/rephrase {"text": ["…"], "target_lang": "en-US"}, GET /v2/usage, GET /v3/languages?resource=translate_text, GET /v3/glossaries.
Required scopes
No scopes required
Input
DeepL API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. Translate texts
DEEPL_TRANSLATE_TEXTTranslates one or more texts with DeepL. Returns, in the same order, each translation and the detected source language.
Required scopes
No scopes required
Input
Translate texts input Name Type Description textsrequiredstring[]Texts to translate (each one is translated separately) targetrequiredstringTarget language: EN-US, EN-GB, ES, FR, DE, IT, PT-PT, PT-BR… sourcestringSource language without variant (EN, ES, FR…); detected if omitted formalitystringFormal or informal form of address, in the languages that support itOne of: formal,informalcontextstringText that guides the translation; it is not translated or billed

