# 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, $1/call, status unknown (last checked 2026-09-14).

Translates text between any of 100+ language pairs with context-aware, culturally adapted output, paid via USDC on x402.

## Facts

- Endpoint: POST https://lingua-x402.fly.dev/api/translate
- Price: $1/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-55c33932
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O546AfN0a5U2RCMIOSzLO

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-55c33932 -d '<json body>'
```

Example prompt: Can you translate this product description into Japanese — 'Experience the freshest cold brew coffee, crafted daily from single-origin beans' — making sure it sounds natural and culturally appropriate for a Japanese audience?

## When to prefer this

Choose this endpoint when you need context-aware, culturally adapted translation across 100+ language pairs with a pay-per-call USDC model via x402 — ideal for AI agents that need on-demand translation without API key management or subscription overhead.

## Known failure modes

- Unsupported language pair returns an error
- Malformed or missing body content causes a 400-level error
- Payment failure or insufficient USDC balance blocks the request
- Ambiguous source language may produce lower-quality output
- Very long text inputs may exceed limits or timeout

## How this service works

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

## Output

The agent receives translated text in the target language, adapted for cultural context and natural fluency, ready to use in the target locale.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "pattern": "^[a-z]{2}$"
  },
  "from": {
   "type": "string",
   "pattern": "^[a-z]{2}$"
  },
  "text": {
   "type": "string",
   "pattern": "\\S",
   "maxLength": 50000,
   "minLength": 1
  },
  "context": {
   "type": "string",
   "pattern": "\\S",
   "maxLength": 4000,
   "minLength": 1
  }
 }
}
```

## More

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