# MyMemory Text Translator

> MyMemory Text Translator is a paid API for AI agents from ZeroClick x402 Service Registry at translate.withzero.ai, paid per call via MPP, $0.002/call, not verified (last probed 2026-10-10); live alternatives: JigsawStack AI Language Translation ($0.001) and httpay.xyz LibreTranslate Text Translation ($0.003).

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)
- [httpay.xyz LibreTranslate Text Translation](https://www.zero.xyz/c/httpay-xyz-1a77af8b) ($0.003)

Translates text from one language to another using the MyMemory Translation API, returning the translated text, detected source language, and a confidence score.

## Facts

- Endpoint: POST https://translate.withzero.ai/run?utm_source=zero.xyz
- Price: $0.002/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-10
- Last successful call: 2026-07-15
- Success rate: 25% of calls made through Zero
- Rating: 3.8 / 5 from 3 reviews
- Activations on Zero: 13
- Provider: ZeroClick x402 Service Registry
- Website: https://withzero.ai
- Tags: tools, translate, translation, language, i18n, localization
- Canonical page: https://www.zero.xyz/c/zeroclick-x402-service-registry-translate-2c36803d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1f3_YkLhq2V04L5CXs0aD

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 zeroclick-x402-service-registry-translate-2c36803d -d '<json body>'
```

Example prompt: Translate the following text from English (en) to Japanese (ja): 'Thank you for your order! Your package will arrive within 3-5 business days.'

## When to prefer this

Use this endpoint when you need fast, no-auth, pay-per-call text translation across 30+ languages with a confidence score. Ideal for agents that need lightweight translation without managing API keys or subscriptions. Best for single-passage translations up to 5000 characters where a match/confidence score is useful for downstream quality checks.

## Known failure modes

- Unsupported language code returns an error or empty translation
- Text exceeding 5000 characters is rejected with a validation error
- Ambiguous or very short input may yield a low match score
- Rare or dialect-specific language codes may not be recognized
- Network or upstream MyMemory API downtime causes request failure

## How this service works

Translate text between 30+ languages using Workers AI (m2m100) with a MyMemory fallback. Input: text to translate, source language code, and target language code (ISO 639-1). Output: translated text, detected source language, and translation match score.

## Output

Returns a JSON object with the translated text string, the detected or confirmed source language code (e.g. 'en'), and a match score between 0 and 1 indicating translation confidence.

## Example request

```json
{
 "text": "Hello, how are you today?",
 "sourceLang": "en",
 "targetLang": "es"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text",
  "sourceLang",
  "targetLang"
 ],
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 5000,
   "minLength": 1,
   "description": "The text to translate (max 5000 characters)"
  },
  "sourceLang": {
   "type": "string",
   "maxLength": 5,
   "minLength": 2,
   "description": "Source language code (ISO 639-1, e.g. \"en\", \"fr\", \"de\", \"es\")"
  },
  "targetLang": {
   "type": "string",
   "maxLength": 5,
   "minLength": 2,
   "description": "Target language code (ISO 639-1, e.g. \"it\", \"ja\", \"zh\", \"pt\")"
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "translatedText",
  "detectedSourceLanguage",
  "matchScore"
 ],
 "properties": {
  "matchScore": {
   "type": "number",
   "description": "Translation confidence/match score (0-1)"
  },
  "translatedText": {
   "type": "string",
   "description": "The translated text"
  },
  "detectedSourceLanguage": {
   "type": "string",
   "description": "The detected or confirmed source language code"
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zeroclick-x402-service-registry-translate-2c36803d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from translate.withzero.ai](https://www.zero.xyz/host/translate.withzero.ai/llms.txt)
