# AgentRXI Text Translation (M2M-100)

> AgentRXI Text Translation (M2M-100) is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-15).

Translates text (single or batch of up to 20) between ~100 languages using the M2M-100 multilingual model, with optional source language specification.

## Facts

- Endpoint: GET https://agentrxi.com/v1/translate?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-text-translation-m2m-100-61c97823
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QSZIWr7U3NGVoDbXtZYIJ

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 agentrxi-text-translation-m2m-100-61c97823
```

Example prompt: Translate the following text to French using the M2M-100 translation service: 'The weather today is sunny and warm. Don't forget to bring sunscreen.' — the source language is English.

## When to prefer this

Choose this endpoint when you need fast, pay-per-call multilingual translation across a wide range (~100) of language pairs, especially for single texts or small batches up to 20 strings, without committing to a subscription. Ideal for agent workflows where translation cost must be predictable per call. Prefer over subscription-based services when volume is sporadic.

## Known failure modes

- Unsupported or misspelled language ISO code returns an error or falls back unexpectedly
- Batch exceeding 20 texts may be rejected or truncated
- Very long texts may exceed character limits and incur higher cost or be rejected
- Ambiguous source text without source_lang specified may produce incorrect translation if the default (en) is wrong
- Special characters, markup, or code snippets embedded in text may be corrupted during translation

## How this service works

Translate text between about 100 languages (M2M-100). One text or a batch of up to 20; give target_lang and optionally source_lang (default en). Priced by size: $0.004 + $0.0007 per 1,000 characters. Also callable as GET with the same fields as query parameters.

## Output

Returns the translated text (or an array of translated texts for batch requests). Each result corresponds to the input text(s) converted into the target language, rendered as a string or list of strings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "target_lang"
     ],
     "properties": {
      "text": {
       "type": "string"
      },
      "texts": {
       "type": "string",
       "description": "Up to 20 texts instead of text; separate items with |"
      },
      "source_lang": {
       "type": "string",
       "description": "ISO code, default en"
      },
      "target_lang": {
       "type": "string",
       "description": "ISO code, e.g. fr, es, de, zh, ja"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-text-translation-m2m-100-61c97823/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
