# MemoryAPI Text Translator

> MemoryAPI Text Translator is a paid API for AI agents from api.memoryapi.org, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Translates text between 11 supported languages (EN, ES, FR, DE, IT, PT, ZH, JA, AR, RU, KO) for a small per-call fee

## Facts

- Endpoint: GET https://api.memoryapi.org/x402/translate
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-memoryapi-org-243a48a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KVJoVu_hi6oThyd4ljh59

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 api-memoryapi-org-243a48a4
```

Example prompt: Translate this sentence from English to Japanese: 'The meeting has been rescheduled to tomorrow afternoon.'

## When to prefer this

Use this endpoint when you need fast, pay-per-call text translation across any of the 11 supported languages without committing to a subscription. Ideal for agents that occasionally need translation in an automated workflow where USDC micropayments via x402 are already supported.

## Known failure modes

- Unsupported language code provided — only EN, ES, FR, DE, IT, PT, ZH, JA, AR, RU, KO are supported
- Empty or missing source text results in an error
- Payment not fulfilled via x402 protocol causes a 402 response
- Source and target language are the same, possibly returning unchanged text or an error
- Text too long or exceeding character limits causes a rejection

## How this service works

Translate text between 11 languages — EN ES FR DE IT PT ZH JA AR RU KO

## Output

The translated version of the input text in the requested target language, returned as a text response.

## Example request

```json
{
 "text": "Hello world",
 "source": "en",
 "target": "es"
}
```

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {
  "source": "en",
  "target": "es",
  "success": true,
  "characters": 11,
  "translated": "Hola mundo"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-memoryapi-org-243a48a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.memoryapi.org](https://www.zero.xyz/host/api.memoryapi.org/llms.txt)
