# Lingua — AI Translation & Localization

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

Translates text between any of 100+ language pairs with cultural adaptation and context-awareness, paid per call via USDC.

## Facts

- Endpoint: POST https://lingua-x402.fly.dev/api/localize
- Price: $2/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-translation-localization-a72ec8b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t7q22FfgNmEGb68ReRJv5

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-translation-localization-a72ec8b3 -d '<json body>'
```

Example prompt: Translate this product description into Brazilian Portuguese with cultural adaptation: 'Our cozy wool blankets are perfect for cold winter nights by the fireplace.'

## When to prefer this

Choose this endpoint when you need context-aware, culturally adapted translation rather than purely literal word substitution. It is particularly well-suited for marketing copy, UI localization, customer communications, and any content where cultural tone matters. Prefer it over generic machine translation APIs when nuance, idiomatic accuracy, and cultural appropriateness are priorities, and when your agent infrastructure supports x402 USDC micropayments.

## Known failure modes

- Unsupported language pair returns an error or empty translation
- Malformed request body (missing required fields) returns a 400 or schema validation error
- Payment failure in USDC results in a 402 Payment Required response
- Extremely long texts may time out or be truncated
- Ambiguous source language without explicit specification may cause incorrect language detection

## 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 a translated and culturally adapted version of the input text in the target language, produced by an AI model aware of context and cultural nuance across 100+ supported languages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "pattern": "\\S",
   "maxLength": 50000,
   "minLength": 1
  },
  "content_type": {
   "type": "string",
   "pattern": "\\S",
   "maxLength": 200,
   "minLength": 1
  },
  "target_locale": {
   "type": "string",
   "pattern": "^[a-z]{2}(?:-[A-Z]{2})?$"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lingua-ai-translation-localization-a72ec8b3/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)
