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
Ejemplo en cURL
# Elige un idioma de llegada y, a continuación, selecciona «Ejecutar» para traducir.
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

Ponte en marcha en cinco minutos

API del Traductor de DeepL: tu primera llamada a la API

Ejemplo en Python

1. Obtén tu clave de API

Crea una cuenta gratis (no necesitas tarjeta de crédito) y copia tu clave de API desde el panel de control.

2. Instala el SDK

pip install deepl

3. Haz tu primera llamada en Python

Copia este código, pega tu clave de API y ejecútalo.

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.