Skip to content

Pro Endpoint

Simulate the DeepL Pro account to initiate translation requests. Unlimited, which may effectively avoid 429 issues, but you need to provide the dl_session parameter of the Pro account, otherwise it cannot be used.

/v1/translate

Method: POST

Request Headers

HeaderDescriptionValue
Content-TypeThe content type of the request body.application/json
AuthorizationThe access token to protect your API.Bearer your_access_token

Please note that if you are unable to pass Authorization, you can also use URL Params instead. For example, /translate?token=your_access_token

Request Parameters

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

Response

json
{
  "alternatives": [
    "Did you hear about this?",
    "You've heard about this?",
    "You've heard of this?"
  ],
  "code": 200,
  "data": "Have you heard about this?",
  "id": 8356681003,
  "method": "Pro",
  "source_lang": "ZH",
  "target_lang": "EN"
}

Released under the MIT License.