DeepL for Developers

The Language AI platform for developers. Translate text, documents, or speech through simple APIs.

Start free, no credit card required.

translate.sh
Showing the cURL example
# اختر اللغة الهدف، ثم انقر على «تشغيل» للترجمة.
curl -X POST https://api.deepl.com/v2/translate \
  --header "Content-Type: application/json" \
  --header "Authorization: DeepL-Auth-Key $YOUR_API_KEY" \
  --data '{ "text": ["Hello, world!"], "target_lang": "" }'
$ sh translate.sh

Our APIs

Translate API

Translate text and HTML with world-leading accuracy.

  • 100+ supported languages
  • Glossary & formality control
  • HTML/XML support

Voice API

Transcribe and translate speech in real time with both speech-to-text and speech-to-speech.

  • 30+ supported languages
  • Low-latency streaming
  • Specialized vocabulary support

Document API

Translate documents like PDF, DOCX, PPTX, and more, while preserving original formatting and design.

  • 15+ supported formats
  • Support for images, tables, and rich text
  • Up to 100 MB per document

5 دقائق كافية للبدء

ترجمة API - أول اتصال API

جارٍ عرض المثال باللغة Python

1. الحصول على مفتاح API

يمكنك الاشتراك مجاناً (لا يُطلب منك تقديم بطاقة ائتمان) ونسخ مفتاح API من وحدة التحكم.

3. إجراء أول اتصال باللغة Python

ما عليك نسخ هذا الرمز، ولصق مفتاح API، وتشغيله.

import deepl

deepl_client = deepl.DeepLClient("YOUR_API_KEY")
result = deepl_client.translate_text("Hello, world!", target_lang="DE")
print(result.text)  # "Hallo, Welt!"

Start building with DeepL

Free API key. No credit card required.

Translate, transcribe and write in 30+ languages.