DeepL API enables the seamless and secure integration of translation capabilities into your websites and applications through an HTTP interface.
DeepL provides official open-source libraries to help you create these backend implementations, available in Python, Node, .NET, PHP, Ruby and Java. Learn more here.
DeepL API documentation
Consult the DeepL API documentation (available in English) for detailed information on the request parameters and request methods required for each API function.
Security guidance
Never reveal your API key in publicly accessible code.
Requests to third-party APIs from frontend applications would expose your credentials on the web, leaving your account vulnerable to fraud and abuse e.g., racking up high usage costs on a DeepL API Pro plan.
If your API key has been exposed, immediately do the following:
- Log in to your DeepL account, and go to Account
- Navigate to the API keys & Limits tab
- Create a new key: click Create new key and again to confirm
- Deactivate the compromised key: click the more options icon
, then Deactivate key
Route your requests through your own backend servers to ensure safe use the DeepL API on your website or application. This keeps your credentials hidden and allows you to specify CORS policies and rate limits as required by your use case. Make sure to secure your backend servers against unauthorized access.
Plugins
Plugins are developed and maintained by the respective plugin provider. Should you encounter difficulties when using a plugin, check that your plugin is up to date. In the case of questions, you should contact the plugin provider.