# x402 Arabic API – Arabic↔English Translation

> x402 Arabic API – Arabic↔English Translation is a paid API for AI agents from arabic-x402-api-base.motaz-crypto.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-02).

Translates text between Arabic (including Saudi/Gulf dialect) and English, with optional Web3 glossary enforcement and verbatim preservation of addresses, numbers, and URLs, billed per-request via x402 USDC micropayments.

## Facts

- Endpoint: POST https://arabic-x402-api-base.motaz-crypto.workers.dev/translate-ar?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-arabic-api-arabic-english-translation-667eb36b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JnskQvPGpgFHaxyN98SDV

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 x402-arabic-api-arabic-english-translation-667eb36b -d '<json body>'
```

Example prompt: Translate this English crypto instruction to Arabic and use the Web3 glossary so terms like 'seed phrase', 'gas', and 'wallet' are rendered correctly: 'Send 25 USDC to 0x5cb7Cc71c117675ef36102eaed7a5Aa78A29B29a and keep your seed phrase offline.'

## When to prefer this

Choose this endpoint when you need Arabic↔English translation that is Gulf-dialect-aware, enforces a curated Web3/crypto terminology glossary, and guarantees verbatim pass-through of blockchain addresses, numbers, and URLs. It is the right choice for crypto or DeFi applications targeting Arabic-speaking audiences in the Gulf region, where MSA-only translators would produce unnatural or inconsistent crypto terminology. Prefer it over generic translation APIs when terminology consistency and address integrity are non-negotiable.

## Known failure modes

- Text exceeds 4000-character limit — request rejected with validation error
- Payment header missing or malformed — 402 response requiring x402 USDC payment
- Reused payment header for a different request within the window — 409 conflict
- Unsupported direction enum value — schema validation error
- Ambiguous script that auto-detect cannot resolve — may produce incorrect direction
- Glossary terms present in source but not in the 91-term list — reported in glossaryMissing array

## How this service works

Arabic-native, Gulf-dialect aware Arabic API for agents: Arabic<->English translation (optional Web3 glossary), Arabic summarization, Saudi/Gulf dialect<->MSA conversion and i18n JSON localization. Keeps 0x addresses, numbers, URLs and code verbatim. Paid per request with x402 (USDC). Lost response: resend the IDENTICAL payment header to the same endpoint within 1 hour to get the same stored response (200, no second charge); any other payment reuse returns 409.

## Output

A JSON object containing the translated text, the detected or specified direction (e.g. 'en-ar'), the model used, a verbatim-preservation check listing any addresses/URLs/numbers found and whether they survived intact, the glossary applied, any glossary terms that were missing coverage, and whether the response was served from a cached retry.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 4000,
   "minLength": 1,
   "description": "Text to translate (Arabic incl. Saudi/Gulf dialect, or English)."
  },
  "glossary": {
   "enum": [
    "web3"
   ],
   "type": "string",
   "description": "Apply a fixed Arabic Web3 terminology list (wallet, gas, smart contract, staking, bridge, DEX, seed phrase...). Reviewed by Nouf 2026-10-31; 91 terms with accepted Arabic forms."
  },
  "direction": {
   "enum": [
    "auto",
    "ar-en",
    "en-ar"
   ],
   "type": "string",
   "default": "auto",
   "description": "auto detects from script."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "@cf/qwen/qwen3-30b-a3b-fp8",
  "checks": {
   "retried": false,
   "glossary": "web3",
   "verbatim": {
    "ok": true,
    "urls": [],
    "numbers": [],
    "addresses": []
   },
   "glossaryMissing": []
  },
  "direction": "en-ar",
  "translation": "أرسل 25 USDC إلى 0x5cb7Cc71c117675ef36102eaed7a5Aa78A29B29a واحتفظ بعبارة الاسترداد دون اتصال بالإنترنت."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-arabic-api-arabic-english-translation-667eb36b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from arabic-x402-api-base.motaz-crypto.workers.dev](https://www.zero.xyz/host/arabic-x402-api-base.motaz-crypto.workers.dev/llms.txt)
