# DeepL Translate via Locus x402

> DeepL Translate via Locus x402 is a paid API for AI agents from deepl.x402.paywithlocus.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Translates text between 30+ languages with professional quality using DeepL's neural translation engine, with options for formality, formatting, and markup handling.

## Facts

- Endpoint: POST https://deepl.x402.paywithlocus.com/deepl/translate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/deepl-translate-via-locus-x402-722f6991
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NtGmzEu3dS6W-dZehN2sz

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-via-locus-x402-722f6991 -d '<json body>'
```

Example prompt: Translate these three product descriptions into Japanese using DeepL — use quality_optimized mode and prefer a formal tone: 'Wireless noise-cancelling headphones', 'Ultra-slim laptop stand', 'Portable Bluetooth speaker'.

## When to prefer this

Choose this endpoint when you need professional-grade neural translation (DeepL quality) accessible via a pay-per-call x402 micropayment model, without needing a DeepL API subscription. It's ideal for agents that need to translate batches of up to 50 strings, handle HTML/XML markup safely, control formality levels, or pass contextual hints to improve translation accuracy. Prefer this over generic translation APIs when output quality and nuance (especially for European languages) are important.

## Known failure modes

- Unsupported target_lang code returns an error — must use valid DeepL language codes like DE, FR, JA
- Submitting more than 50 text items at once may be rejected
- Formality options are not supported for all language pairs — e.g. some languages ignore formality settings
- Auto-detection may fail or be inaccurate for very short or ambiguous text snippets
- Payment failure or insufficient USDC balance will block the request before translation occurs
- Invalid tag_handling value (other than 'xml' or 'html') will cause a schema error

## How this service works

Locus public pay-per-use API

## Output

Returns a JSON object containing the translated texts in the `data` field, along with payment details (settled USDC amount, authorized max) and a request object with a unique ID and a status URL for tracking. The actual translated strings are nested under `data`.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "context": {
   "type": "string"
  },
  "formality": {
   "type": "string"
  },
  "model_type": {
   "type": "string"
  },
  "source_lang": {
   "type": "string"
  },
  "target_lang": {
   "type": "string"
  },
  "tag_handling": {
   "type": "string"
  },
  "split_sentences": {
   "type": "string"
  },
  "preserve_formatting": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

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