{"uid":"cap_5gVoD-TPpOdTefs58Lw3D","slug":"deepl-translate-2dac7b08","name":"DeepL Translate","description":"Translate text between 30+ languages with DeepL's industry-leading neural machine translation. Supports formality control, context, and model selection.","url":"https://deepl.mpp.paywithlocus.com/deepl/translate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text","target_lang"],"properties":{"text":{"type":"array","items":{"type":"string"},"description":"Text(s) to translate (up to 50 items)"},"context":{"type":"string","description":"Additional context to improve translation quality (not translated)"},"formality":{"type":"string","description":"\"default\", \"more\", \"less\", \"prefer_more\", \"prefer_less\""},"model_type":{"type":"string","description":"\"quality_optimized\", \"latency_optimized\", or \"prefer_quality_optimized\""},"source_lang":{"type":"string","description":"Source language code (auto-detected if omitted)"},"target_lang":{"type":"string","description":"Target language code (e.g. \"DE\", \"FR\", \"ES\", \"JA\", \"ZH\")"},"tag_handling":{"type":"string","description":"\"xml\" or \"html\" for markup-aware translation"},"split_sentences":{"type":"string","description":"\"0\" (none), \"1\" (default), or \"nonewlines\""},"preserve_formatting":{"type":"boolean","description":"Preserve original formatting (punctuation, case)"}},"additionalProperties":true},"responseSchema":null,"example":{"request":{"text":["Hello, how are you today?"],"target_lang":"DE"},"response":{"data":{"translations":[{"text":"Hallo, wie geht es dir heute?","detected_source_language":"EN"}]},"success":true}},"exampleRequest":{"text":["Hello, how are you today?"],"target_lang":"DE"},"tags":["translation","languages","glossary","document-translation","data"],"displayCostAmount":"0.025","displayCostAsset":"USDC","priceDynamic":true,"priceHint":"$0.025+ (scales with text length)","priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"dynamic","summary":"$0.025+ (scales with text length) (dynamic)","primary":{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m68eipsDYhgTNuBHQB9rd","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"DeepL","brandSlug":"deepl","brandBaseUrl":"https://www.deepl.com","brandDocsUrl":"https://developers.deepl.com","whatItDoes":"Translates text into a target language using DeepL's neural machine translation engine, with optional formality, context, and markup handling.","exampleAgentPrompt":"Translate the following text into formal German using DeepL's quality-optimized model: 'We are pleased to inform you that your application has been approved and will be processed within five business days.' — keep the formal register and preserve any HTML tags.","exampleUseCases":null,"resultDescription":"Returns the translated text in the target language, along with the detected or confirmed source language code. For quality-optimized models, also indicates the model used. Supports up to 50 text items per request.","failureModes":["Unsupported target_lang code returns a 400 Bad Request with an error message","Text exceeding character limits returns a quota or length error","Invalid formality value for a language that doesn't support it returns a 400 error","Missing required target_lang field returns a 422 validation error","Rate limit or quota exhaustion returns a 429 or 456 error"],"whenToPreferThis":"Choose this endpoint when you need high-quality neural machine translation powered by DeepL, especially for European languages, formal/informal register control, markup-aware (HTML/XML) translation, or when you need context hints to improve accuracy. Prefer over generic translation APIs when translation fidelity and tone control matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-06-14T13:30:21.834Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:33:30.071Z","isFirstParty":false,"canonicalSlug":"deepl-translate-2dac7b08"}