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
A apresentar o exemplo do idioma cURL
# Escolha um idioma 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

Tenha tudo pronto em cinco minutos

API de tradução: a sua primeira chamada de API

Exemplo em

1. Obter a chave de API

Registe-se grátis (não é necessário cartão de crédito) e copie a sua chave de API a partir da consola.

2. Instalar o SDK

pip install deepl

3. Faça a sua primeira chamada em Python

Copie este código, cole a chave de API e execute o código.

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.