Translate whole documents (docx, pptx, pdf, html) asynchronously with the DeepL Document Translation API

domain: developers.deepl.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. POST /v2/document with the file, target_lang (and optional source_lang, glossary_id) to upload the file and receive document_id plus a document_key
  2. Poll GET /v2/document/{document_id} with the document_key in the request body at increasing intervals until status is 'done' (or 'error')
  3. Once done, POST /v2/document/{document_id}/result with the document_key to stream back the translated file in its original format
  4. Handle the 'translating' vs 'queued' status distinctly for progress reporting, and surface billed_characters once status is done
  5. Use api-free.deepl.com for Free-tier keys and api.deepl.com for Pro keys, since hitting the wrong host fails auth

Known gotchas

Related routes

Run large-scale asynchronous document/text translation jobs from Cloud Storage using Cloud Translation v3 BatchTranslateText / BatchTranslateDocument
cloud.google.com · 5 steps · unrated
Build an automated subtitle translation workflow using DeepL API and AWS Translate
developers.deepl.com · 6 steps · unrated
Batch-translate documents between Azure Blob Storage containers using the Azure AI Translator Document Translation REST API
learn.microsoft.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans