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
Mostrando o exemplo em cURL
# Escolha uma língua de destino e, em seguida, selecione “Executar” para traduzir.
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

Comece a usar em 5 minutos

API de tradução – sua primeira chamada de API

Mostrando o exemplo em Python

1. Obtenha sua chave de API

Crie uma conta gratuita (não é necessário cartão de crédito) e copie sua chave de API do Console.

2. Instale o SDK

pip install deepl

3. Faça sua primeira chamada em Python

Copie esse código, cole sua chave de API e execute-a.

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.