LanguageAI provides official client libraries for the most popular programming languages, enabling you to integrate translation capabilities into your applications with minimal effort. The official SDKs handle authentication, request formatting, error handling, and response parsing.
Official SDKs
Python
Full-featured client library for Python 3.8+.
pip install deepl
JavaScript / Node.js
Official Node.js client library with TypeScript support.
npm install deepl-node
PHP
Official PHP client library. Requires PHP 7.4+.
composer require deeplcom/deepl-php
.NET / C#
Official .NET client library. Supports .NET Standard 2.0+.
dotnet add package DeepL.net
Java
Official Java client library. Requires Java 8+.
implementation 'com.deepl.api:deepl-java:1.7.0'
Ruby
Official Ruby client library. Requires Ruby 3.0+.
gem 'deepl-rb'
Community SDKs
These libraries are maintained by the community and are not officially supported by LanguageAI. Use at your own discretion.
Dart / Flutter
dart pub add deepl_dart
Go
go get github.com/DeepLcom/deepl-golang
Rust
cargo add deepl
Kotlin
implementation 'com.deepl.api:deepl-kotlin:0.1.0'
Core API Endpoints
All client libraries wrap the following RESTful API endpoints:
| Method | Endpoint | Description |
|---|---|---|
| POST | /v2/translate |
Translate text |
| POST | /v2/document |
Upload document for translation |
| POST | /v2/document/{id} |
Check document status |
| POST | /v2/document/{id}/result |
Download translated document |
| GET | /v2/languages |
List supported languages |
| GET | /v2/usage |
Check API usage statistics |
| GET | /v2/glossaries |
List glossaries |
| POST | /v2/glossaries |
Create a glossary |
Authentication
All API requests must include your authentication key in the Authorization header:
Authorization: DeepL-Auth-Key YOUR_API_KEY
You can create and manage API keys from the Developer Platform.