# DeepL Translate

> DeepL Translate is a paid API for AI agents from DeepL at deepl.mpp.paywithlocus.com, paid per call via MPP, $0.025+ (scales with text length) (dynamic), not verified (last probed 2026-10-10); live alternatives: JigsawStack AI Language Translation ($0.001) and MyMemory Text Translator ($0.002).

Agents call it through Zero, which pays per call: no API key and no wallet of your own. New accounts start with $5.

Live alternatives for the same use case:
- [JigsawStack AI Language Translation](https://www.zero.xyz/c/jigsawstack-withzero-ai-translate-20be08f9) ($0.001)
- [MyMemory Text Translator](https://www.zero.xyz/c/zeroclick-x402-service-registry-translate-2c36803d) ($0.002)

Translates text into a target language using DeepL's neural machine translation engine, with optional formality, context, and markup handling.

## Facts

- Endpoint: POST https://deepl.mpp.paywithlocus.com/deepl/translate?utm_source=zero.xyz
- Price: $0.025+ (scales with text length) (dynamic)
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 1
- Provider: DeepL
- Docs: https://developers.deepl.com
- Website: https://www.deepl.com
- Tags: translation, languages, glossary, document-translation, data
- Canonical page: https://www.zero.xyz/c/deepl-translate-2dac7b08
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5gVoD-TPpOdTefs58Lw3D

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability deepl-translate-2dac7b08 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Translate text between 30+ languages with DeepL's industry-leading neural machine translation. Supports formality control, context, and model selection.

## Output

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.

## Example request

```json
{
 "text": [
  "Hello, how are you today?"
 ],
 "target_lang": "DE"
}
```

## Request schema (JSON Schema)

```json
{
 "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
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/deepl-translate-2dac7b08/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from deepl.mpp.paywithlocus.com](https://www.zero.xyz/host/deepl.mpp.paywithlocus.com/llms.txt)
