# Axon Text Translation

> Axon Text Translation is a paid API for AI agents from aiaia-xaxon402.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Translates a given text string from an auto-detected source language into a specified target language, returning the translated text along with detected and target language codes.

## Facts

- Endpoint: GET https://aiaia-xaxon402.vercel.app/api/translate/%7Blang%7D/%7Btext%7D
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/axon-text-translation-129cbc59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0YyCYbK7Pw2wDQW5NNY7E

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 axon-text-translation-129cbc59
```

Example prompt: Translate 'The market is looking bullish today' into Indonesian using Axon.

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call AI-powered text translation with automatic source language detection, especially within a crypto or Web3 workflow already using the Axon suite. Ideal for translating short-to-medium text snippets (messages, summaries, token descriptions) without needing a dedicated translation service subscription.

## Known failure modes

- Unsupported or unrecognized target language code returns an error or empty translation
- Malformed URL path parameters (missing lang or text) result in a 400 or routing error
- Very long text strings may be truncated or cause timeout
- x402 micropayment failure on Base blocks the request entirely
- Ambiguous or very short input text may yield incorrect source language detection

## How this service works

Axon provides AI-powered crypto intelligence endpoints covering token research, market analysis, contract auditing, sentiment tracking, news summarization, portfolio advice, deep research, text translation, language detection, SEO content generation, and contract explanation. All analytical endpoints require x402 micropayment on Base.

## Output

A JSON object containing the original text, the detected source language code (e.g. 'en'), the target language code (e.g. 'id'), and the translated text string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "hello world",
  "sourceLang": "en",
  "targetLang": "id",
  "translated": "halo dunia"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/axon-text-translation-129cbc59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aiaia-xaxon402.vercel.app](https://www.zero.xyz/host/aiaia-xaxon402.vercel.app/llms.txt)
