# DexL Agents Text Translation

> DexL Agents Text Translation is a paid API for AI agents from agents.dexl.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Translates text from one language to another, with optional auto-detection of the source language, for up to 8000 characters per call.

## Facts

- Endpoint: POST https://agents.dexl.io/v1/tools/translate-text
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dexl-agents-text-translation-4e7666e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_899g-kEJMAq-9OTLcdrhx

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 dexl-agents-text-translation-4e7666e5 -d '<json body>'
```

Example prompt: Translate this text to German: 'Our new product launches next week and we are excited to share it with you.'

## When to prefer this

Choose this endpoint when you need fast, pay-per-call text translation without managing API keys or subscriptions, especially in agentic or machine-to-machine workflows where payment is handled via x402 protocol. Ideal for translating short-to-medium texts (up to 8000 characters) across a wide range of languages with optional auto-detection of the source language.

## Known failure modes

- Text exceeds 8000 character limit — request rejected
- Unsupported or misspelled target language code — error returned
- Empty text input — may return empty output or error
- Network timeout for very long texts near the character limit
- Ambiguous source language causing incorrect auto-detection

## How this service works

Translate text into any target language, detecting the source when you do not give it. Proper nouns, numbers, code and formatting are kept as they are. Returns the translation alone, with no preamble to strip. Fixed price per call.

## Output

A JSON object containing the translated text in an 'output' field, the number of units consumed, and a boolean indicating whether the result was served from cache.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "description": "Target language, e.g. \"Turkish\", \"German\", \"ja\"."
  },
  "from": {
   "type": "string",
   "description": "Source language. Detected when omitted."
  },
  "text": {
   "type": "string",
   "maxLength": 8000
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "units": 1,
  "cached": false,
  "output": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dexl-agents-text-translation-4e7666e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.dexl.io](https://www.zero.xyz/host/agents.dexl.io/llms.txt)
