# Inference402 Arabic Translation (EN↔AR)

> Inference402 Arabic Translation (EN↔AR) is a paid API for AI agents from inference402.worlddata402.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-19).

Translates text between English and Arabic (MSA or Egyptian dialect) using Llama 3.3 70B, billed per call via USDC on Base mainnet with no account required.

## Facts

- Endpoint: GET https://inference402.worlddata402.workers.dev/v1/translate/ar?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/inference402-arabic-translation-en-ar-b5569f29
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fKymrIEULt9FRwDTXDS1i

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 inference402-arabic-translation-en-ar-b5569f29
```

Example prompt: Translate this English text to Egyptian Arabic: 'We're sorry for the delay, your order will arrive tomorrow morning.' Use the Egyptian dialect, not MSA.

## When to prefer this

Choose this endpoint when you need pay-per-call Arabic↔English translation with dialect control (MSA vs Egyptian Arabic), no API key setup, and USDC micropayment billing on Base — ideal for agentic workflows that need on-demand translation without subscription overhead or account management.

## Known failure modes

- Text exceeding 5000 characters returns a validation error
- Invalid or missing direction enum value causes a 400 error
- Payment failure or insufficient USDC balance returns a 402 Payment Required response
- Ambiguous or low-quality input text may produce inaccurate translations without explicit error
- Unsupported dialect value returns a schema validation error

## How this service works

Pay-per-call AI inference for agents: chat (Llama 3.3 70B / 3.1 8B), structured JSON, summarize, translate (incl. Egyptian Arabic), extract, classify, sentiment, keywords, rewrite, embeddings, moderation, vision and speech-to-text. USDC on Base mainnet over x402. No API key, no account.

## Output

A JSON object containing the translated text string, the model used (e.g. @cf/meta/llama-3.3-70b-instruct-fp8-fast), the dialect (msa or egyptian), and the direction (en-ar or ar-en).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 5000
  },
  "dialect": {
   "enum": [
    "msa",
    "egyptian"
   ],
   "type": "string",
   "default": "msa",
   "description": "en-ar: dialect of the Arabic output. ar-en: dialect of the Arabic input."
  },
  "direction": {
   "enum": [
    "en-ar",
    "ar-en"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
  "dialect": "egyptian",
  "direction": "ar-en",
  "translation": "I don't understand what exactly you want, can you explain it to me again?"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/inference402-arabic-translation-en-ar-b5569f29/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from inference402.worlddata402.workers.dev](https://www.zero.xyz/host/inference402.worlddata402.workers.dev/llms.txt)
