DeepL API
by developers.deepl.com
Language and text
Added on October 31st, 2026
Checked and working on November 15th, 2026
Visit developers.deepl.com →
What it does
The DeepL API translates text and whole documents (Word, PowerPoint, PDF and more) with DeepL's AI translation, known for natural-sounding results, between more than 30 languages. You can set formality, use glossaries for your own terms and improve texts with DeepL Write. Responses are JSON. The DeepL API Free plan gives 500,000 characters per month with a free account (it uses its own server, api-free.deepl.com); DeepL API Pro is paid per character. An official MCP server (npm package deepl-mcp-server) lets AI agents translate with a DeepL API Free key.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- The DeepL API Free plan gives 500,000 characters per month with a free account (it uses its own server, api-free.deepl.com); DeepL API Pro is paid per character.
- Formats
- JSON
- Interface
- REST, MCP
- Provider
- developers.deepl.com
- Last checked
- Working on November 15th, 2026
More information: https://developers.deepl.com/docs
Compare: DeepL API vs Google Cloud Translation API · DeepL API vs Microsoft Translator
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl -X POST 'https://api-free.deepl.com/v2/translate' \
-H 'Authorization: DeepL-Auth-Key YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"text": ["hello"], "target_lang": "DE"}'
JavaScript
const response = await fetch("https://api-free.deepl.com/v2/translate", {
method: 'POST',
headers: {
"Authorization": "DeepL-Auth-Key YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({"text":["hello"],"target_lang":"DE"}),
});
const data = await response.json();
console.log(data);
Python
import requests
response = requests.post(
"https://api-free.deepl.com/v2/translate",
headers={
"Authorization": "DeepL-Auth-Key YOUR_API_KEY",
"Content-Type": "application/json",
},
json={
"text": [
"hello",
],
"target_lang": "DE",
},
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key.