# Lingua — AI Batch Translation & Localization

> Lingua — AI Batch Translation & Localization is a paid API for AI agents from lingua-x402.fly.dev, paid per call via x402, $3/call, status unknown (last checked 2026-09-14).

Translates multiple text items across 100+ language pairs with cultural context-awareness using AI, paid per call in USDC via x402

## Facts

- Endpoint: POST https://lingua-x402.fly.dev/api/batch-translate
- Price: $3/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lingua-ai-batch-translation-localization-ce9bf98e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t-oFChnuXaYV3jRH5lFAF

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 lingua-ai-batch-translation-localization-ce9bf98e -d '<json body>'
```

Example prompt: Can you batch translate these product descriptions — 'Soft leather wallet', 'Waterproof hiking boots', 'Wool knit scarf' — from English into French, Spanish, and Japanese using Lingua, making sure the tone is culturally appropriate for each market?

## When to prefer this

Choose this endpoint when you need to translate multiple texts in a single API call, want AI-driven cultural adaptation rather than word-for-word substitution, need broad language coverage (100+ languages), and are comfortable paying per-call in USDC via x402. Prefer this over single-text endpoints when batch efficiency matters, and over rule-based translation services when cultural nuance and natural phrasing are important.

## Known failure modes

- Payment not received or insufficient USDC — request rejected before translation begins
- Unsupported language pair specified — service may error or return empty result
- Malformed batch input (missing required fields) — HTTP 400 validation error
- Oversized batch exceeding service limits — may time out or return partial results
- Network instability on fly.dev infrastructure — intermittent 5xx errors possible

## How this service works

Pay USDC, get context-aware AI translation between any language pair. Supports 100+ languages, cultural adaptation, and batch translation.

## Output

Returns translated versions of all submitted texts, adapted for cultural context and natural expression in the target language(s). Each batch item corresponds to a translated output, covering the full range of 100+ supported language pairs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "pattern": "^[a-z]{2}$"
  },
  "from": {
   "type": "string",
   "pattern": "^[a-z]{2}$"
  },
  "texts": {
   "type": "array",
   "items": {
    "type": "string",
    "pattern": "\\S",
    "maxLength": 2500,
    "minLength": 1
   },
   "maxItems": 20,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lingua-ai-batch-translation-localization-ce9bf98e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lingua-x402.fly.dev](https://www.zero.xyz/host/lingua-x402.fly.dev/llms.txt)
