Skip to content

Official Endpoint

Simulate the DeepL official API to initiate translation requests. Unlimited, but frequent requests within a certain period of time will result in a 429 error.

/v2/translate

Method: POST

Request Headers

HeaderDescriptionValue
Content-TypeThe content type of the request body.application/json
AuthorizationThe authorization of the request.Authorization: DeepL-Auth-Key [yourAccessToken] [yourAuthKey]

Please note that if you want to pass two parameters at the same time, separate them with a space.

Request Parameters

ParameterTypeDescriptionRequired
textstringThe text you want to translate.true
source_langstringThe language code of the source text.false
target_langstringThe language code you want to translate to.true

More details can be found in the official API documentation.

Released under the MIT License.