# Briefs402 Document Translation Brief

> Briefs402 Document Translation Brief is a paid API for AI agents from briefs402.worlddata402.workers.dev, paid per call via x402, $0.2/call, status unknown (last checked 2026-10-30).

Translates documents between English and Arabic (MSA or Egyptian dialect) using Llama 3.3 70B with a no-fabrication policy, returning a structured translation brief paid via USDC on Base.

## Facts

- Endpoint: GET https://briefs402.worlddata402.workers.dev/v1/brief/translate-doc?utm_source=zero.xyz
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/briefs402-document-translation-brief-f64e6da7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_agPRwtPKWK27bMXSbxeJy

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 briefs402-document-translation-brief-f64e6da7
```

Example prompt: Translate the following English document to Modern Standard Arabic: 'Cloudflare Workers allow developers to deploy serverless functions at the edge, reducing latency for global users.' Use en-ar direction and msa dialect.

## When to prefer this

Choose this endpoint when you need English↔Arabic document translation with dialect control (MSA vs Egyptian), no API key or account setup, and are comfortable paying $0.20 USDC per call via the x402 protocol on Base mainnet. Ideal for agents that require structured translation output with confidence scoring and chunk metadata rather than raw translated text alone. Prefer over generic translation APIs when Arabic dialect specificity and a no-fabrication LLM policy matter.

## Known failure modes

- Text exceeds 20,000 character limit — request will be rejected
- Invalid direction enum value (must be 'en-ar' or 'ar-en') — returns validation error
- Invalid dialect enum value (must be 'msa' or 'egyptian') — returns validation error
- Payment failure or insufficient USDC balance — 402 payment required response
- Empty or missing text field — returns error
- Service unavailability on Cloudflare Workers edge — connection timeout

## How this service works

Ready-made intelligence reports for AI agents: company, country, daily market, EU tenders, domain due diligence, location, literature review, food product, package risk and document translation briefs. Each brief fuses several live data sources and is written by Llama 3.3 70B under strict no-fabrication rules (English or Arabic). USDC on Base mainnet over x402. No API key, no account.

## Output

A JSON object containing a subject line (e.g. 'Document translation (en→ar)'), key facts with chunk count and input character count, a confidence rating (e.g. 'high'), and the full translated text string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 20000,
   "description": "Document text (≤ 20,000 characters)"
  },
  "dialect": {
   "enum": [
    "msa",
    "egyptian"
   ],
   "type": "string",
   "default": "msa",
   "description": "Arabic variety of the output (en-ar) or input (ar-en)"
  },
  "direction": {
   "enum": [
    "en-ar",
    "ar-en"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "subject": "Document translation (en→ar)",
  "key_facts": {
   "chunks": 1,
   "input_chars": 98
  },
  "confidence": "high",
  "translation": "تتيح Cloudflare Workers للمطورين..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/briefs402-document-translation-brief-f64e6da7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from briefs402.worlddata402.workers.dev](https://www.zero.xyz/host/briefs402.worlddata402.workers.dev/llms.txt)
