DeepL
APIMachine translation API for text and documents
- Erişim
- API key
Hakkında
DeepL is a machine translation API for text and whole documents, with glossaries, style rules and a text-improvement endpoint. It is for apps that need translation in many languages. The API rejects calls made directly from a browser, so requests must come from a backend.
Neler yapabilirsin
- Translate text strings into 100+ languages from your app
- Translate Word, PowerPoint and PDF files and keep their formatting
- Fix grammar and spelling with DeepL Write, and keep glossary terms consistent
Başlarken
- Sign up for a DeepL API plan
- Copy your API key from your account page
- On a free plan, call api-free.deepl.com instead of api.deepl.com
Örnek kod
# On a free API plan, use https://api-free.deepl.com instead
curl -X POST https://api.deepl.com/v2/translate \
-H "Content-Type: application/json" \
-H "Authorization: DeepL-Auth-Key $DEEPL_API_KEY" \
-d '{"text": ["Hello world!"], "target_lang": "DE"}'Ayrıntılar
- Barındırma
- Hazır hizmet (bulut)
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- C#, Java, JavaScript/TypeScript, PHP, Python, Ruby
- MCP sunucusu
- Yerel sunucu