DeepL (AI translation) Actor avatar

DeepL (AI translation) Actor

Try for free

No credit card required

Go to Store
DeepL (AI translation) Actor

DeepL (AI translation) Actor

tkapler/deepl-actor
Try for free

No credit card required

Receive high-quality translations from/to 24 languages using the DeepL API. It uses a proprietary algorithm with convolutional neural networks (CNNs) and translate far better than e.g. Google Translate. Free Tier is available.

You can access the DeepL (AI translation) Actor programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "iyx174N0OXkPhjUMV"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/tkapler~deepl-actor/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-tkapler-deepl-actor",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/tkapler~deepl-actor/runs": {
50      "post": {
51        "operationId": "runs-sync-tkapler-deepl-actor",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/tkapler~deepl-actor/run-sync": {
93      "post": {
94        "operationId": "run-sync-tkapler-deepl-actor",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "text",
135          "auth_key"
136        ],
137        "properties": {
138          "auth_key": {
139            "title": "Authentication Key",
140            "type": "string",
141            "description": "Authentication Key for DeepL API. You can find it here https://www.deepl.com/pro-account/summary"
142          },
143          "text": {
144            "title": "Source text",
145            "type": "string",
146            "description": "Text you want to translate"
147          },
148          "target_lang": {
149            "title": "Target language",
150            "enum": [
151              "BG",
152              "CS",
153              "DA",
154              "DE",
155              "EL",
156              "EN-GB",
157              "EN-US",
158              "ES",
159              "ET",
160              "FI",
161              "FR",
162              "HU",
163              "IT",
164              "JA",
165              "LT",
166              "LV",
167              "NL",
168              "PL",
169              "PT-PT",
170              "PT-BR",
171              "RO",
172              "RU",
173              "SK",
174              "SL",
175              "SV",
176              "ZH"
177            ],
178            "type": "string",
179            "description": "The language (and variant) into which the text should be translated",
180            "default": "EN-GB"
181          },
182          "source_lang": {
183            "title": "Source language",
184            "enum": [
185              "",
186              "BG",
187              "CS",
188              "DA",
189              "DE",
190              "EL",
191              "EN",
192              "ES",
193              "ET",
194              "FI",
195              "FR",
196              "HU",
197              "IT",
198              "JA",
199              "LT",
200              "LV",
201              "NL",
202              "PL",
203              "PT",
204              "RO",
205              "RU",
206              "SK",
207              "SL",
208              "SV",
209              "ZH"
210            ],
211            "type": "string",
212            "description": "Language of the text to be translated. Default is automatic detection.",
213            "default": ""
214          },
215          "split_sentences": {
216            "title": "Split sentences",
217            "enum": [
218              "0",
219              "1",
220              "nonewlines"
221            ],
222            "type": "string",
223            "description": "Sets whether the translation engine should first split the input into sentences. This is enabled by default.<br />For applications that send one sentence per text parameter, it is advisable to set split_sentences=0, in order to prevent the engine from splitting the sentence unintentionally.",
224            "default": "1"
225          },
226          "preserve_formatting": {
227            "title": "Preserve formatting",
228            "enum": [
229              "0",
230              "1"
231            ],
232            "type": "string",
233            "description": "Sets whether the translation engine should respect the original formatting, even if it would usually correct some aspects. <br />The formatting aspects affected by this setting include:<br />-Punctuation at the beginning and end of the sentence<br />-Upper/lower case at the beginning of the sentence",
234            "default": "0"
235          },
236          "formality": {
237            "title": "Formality",
238            "enum": [
239              "default",
240              "more",
241              "less"
242            ],
243            "type": "string",
244            "description": "Sets whether the translated text should lean towards formal or informal language. This feature currently only works for target languages 'DE' (German), 'FR' (French), 'IT' (Italian), 'ES' (Spanish), 'NL' (Dutch), 'PL' (Polish), 'PT-PT', 'PT-BR' (Portuguese) and 'RU' (Russian).",
245            "default": "default"
246          },
247          "glossary_id": {
248            "title": "Glossary ID",
249            "type": "string",
250            "description": "Specify the glossary to use for the translation. Important: This requires the source_lang parameter to be set and the language pair of the glossary has to match the language pair of the request."
251          }
252        }
253      },
254      "runsResponseSchema": {
255        "type": "object",
256        "properties": {
257          "data": {
258            "type": "object",
259            "properties": {
260              "id": {
261                "type": "string"
262              },
263              "actId": {
264                "type": "string"
265              },
266              "userId": {
267                "type": "string"
268              },
269              "startedAt": {
270                "type": "string",
271                "format": "date-time",
272                "example": "2025-01-08T00:00:00.000Z"
273              },
274              "finishedAt": {
275                "type": "string",
276                "format": "date-time",
277                "example": "2025-01-08T00:00:00.000Z"
278              },
279              "status": {
280                "type": "string",
281                "example": "READY"
282              },
283              "meta": {
284                "type": "object",
285                "properties": {
286                  "origin": {
287                    "type": "string",
288                    "example": "API"
289                  },
290                  "userAgent": {
291                    "type": "string"
292                  }
293                }
294              },
295              "stats": {
296                "type": "object",
297                "properties": {
298                  "inputBodyLen": {
299                    "type": "integer",
300                    "example": 2000
301                  },
302                  "rebootCount": {
303                    "type": "integer",
304                    "example": 0
305                  },
306                  "restartCount": {
307                    "type": "integer",
308                    "example": 0
309                  },
310                  "resurrectCount": {
311                    "type": "integer",
312                    "example": 0
313                  },
314                  "computeUnits": {
315                    "type": "integer",
316                    "example": 0
317                  }
318                }
319              },
320              "options": {
321                "type": "object",
322                "properties": {
323                  "build": {
324                    "type": "string",
325                    "example": "latest"
326                  },
327                  "timeoutSecs": {
328                    "type": "integer",
329                    "example": 300
330                  },
331                  "memoryMbytes": {
332                    "type": "integer",
333                    "example": 1024
334                  },
335                  "diskMbytes": {
336                    "type": "integer",
337                    "example": 2048
338                  }
339                }
340              },
341              "buildId": {
342                "type": "string"
343              },
344              "defaultKeyValueStoreId": {
345                "type": "string"
346              },
347              "defaultDatasetId": {
348                "type": "string"
349              },
350              "defaultRequestQueueId": {
351                "type": "string"
352              },
353              "buildNumber": {
354                "type": "string",
355                "example": "1.0.0"
356              },
357              "containerUrl": {
358                "type": "string"
359              },
360              "usage": {
361                "type": "object",
362                "properties": {
363                  "ACTOR_COMPUTE_UNITS": {
364                    "type": "integer",
365                    "example": 0
366                  },
367                  "DATASET_READS": {
368                    "type": "integer",
369                    "example": 0
370                  },
371                  "DATASET_WRITES": {
372                    "type": "integer",
373                    "example": 0
374                  },
375                  "KEY_VALUE_STORE_READS": {
376                    "type": "integer",
377                    "example": 0
378                  },
379                  "KEY_VALUE_STORE_WRITES": {
380                    "type": "integer",
381                    "example": 1
382                  },
383                  "KEY_VALUE_STORE_LISTS": {
384                    "type": "integer",
385                    "example": 0
386                  },
387                  "REQUEST_QUEUE_READS": {
388                    "type": "integer",
389                    "example": 0
390                  },
391                  "REQUEST_QUEUE_WRITES": {
392                    "type": "integer",
393                    "example": 0
394                  },
395                  "DATA_TRANSFER_INTERNAL_GBYTES": {
396                    "type": "integer",
397                    "example": 0
398                  },
399                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
400                    "type": "integer",
401                    "example": 0
402                  },
403                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
404                    "type": "integer",
405                    "example": 0
406                  },
407                  "PROXY_SERPS": {
408                    "type": "integer",
409                    "example": 0
410                  }
411                }
412              },
413              "usageTotalUsd": {
414                "type": "number",
415                "example": 0.00005
416              },
417              "usageUsd": {
418                "type": "object",
419                "properties": {
420                  "ACTOR_COMPUTE_UNITS": {
421                    "type": "integer",
422                    "example": 0
423                  },
424                  "DATASET_READS": {
425                    "type": "integer",
426                    "example": 0
427                  },
428                  "DATASET_WRITES": {
429                    "type": "integer",
430                    "example": 0
431                  },
432                  "KEY_VALUE_STORE_READS": {
433                    "type": "integer",
434                    "example": 0
435                  },
436                  "KEY_VALUE_STORE_WRITES": {
437                    "type": "number",
438                    "example": 0.00005
439                  },
440                  "KEY_VALUE_STORE_LISTS": {
441                    "type": "integer",
442                    "example": 0
443                  },
444                  "REQUEST_QUEUE_READS": {
445                    "type": "integer",
446                    "example": 0
447                  },
448                  "REQUEST_QUEUE_WRITES": {
449                    "type": "integer",
450                    "example": 0
451                  },
452                  "DATA_TRANSFER_INTERNAL_GBYTES": {
453                    "type": "integer",
454                    "example": 0
455                  },
456                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
457                    "type": "integer",
458                    "example": 0
459                  },
460                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
461                    "type": "integer",
462                    "example": 0
463                  },
464                  "PROXY_SERPS": {
465                    "type": "integer",
466                    "example": 0
467                  }
468                }
469              }
470            }
471          }
472        }
473      }
474    }
475  }
476}

DeepL (AI translation) Actor OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for DeepL (AI translation) Actor from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 2 bookmarks

  • Created in Oct 2021

  • Modified 2 years ago