Your first API request

Make your first API request and translate text with the DeepL API.

Once you've created a DeepL API account and located your authentication key, you're ready to make your first request. Let's start with text translation.

To translate text, you can use the /translate endpoint, which also supports translation of XML and HTML content.

We included text translation examples for our client libraries, too, just to give you an idea of what they look like.

The example below uses our API Pro endpoint If you're an API Free user, remember to update your requests to use instead.

Example request
curl -X POST '' \
--header 'Authorization: DeepL-Auth-Key [yourAuthKey]' \
--header 'Content-Type: application/json' \
--data '{
  "text": [
    "Hello, world!"
  "target_lang": "DE"
Example response
  "translations": [
      "detected_source_language": "EN",
      "text": "Hallo, Welt!"

Dernière mise à jour