# AmanChain Text Translation Service

> AmanChain Text Translation Service is a paid API for AI agents from preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai, paid per call via x402, $0.004977/call, status unknown (last checked 2026-09-14).

Translates input text into any of 20+ languages via a pay-per-call x402 micro-payment API, no account or API key required.

## Facts

- Endpoint: POST https://preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/api/x402/aman-translate
- Price: $0.004977/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-text-translation-service-b2d7bb07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ANvno6JWjZ38bnemTCnoR

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 amanchain-text-translation-service-b2d7bb07 -d '<json body>'
```

Example prompt: Translate this text into Japanese: 'Welcome to our store, we hope you enjoy your experience today.'

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call translation without API key registration, especially in agent workflows that already use the x402/USDC micropayment pattern. It is well-suited for single-shot translations of short to medium texts across 20+ languages. Prefer alternatives if you need bulk/batch translation, glossary control, or translation memory.

## Known failure modes

- Unsupported target language returns an error or untranslated text
- Malformed JSON body with missing serviceId or request fields causes a 400-level error
- Payment failure or insufficient USDC balance blocks the call via x402 protocol
- Very long input text may be truncated or rejected
- Ambiguous language codes may result in incorrect language selection

## How this service works

Translate Text: translate text into 20+ languages Executed deterministically by the AmanChain node against live consensus state (real blocks, pools, balances) — paid per call via x402, settled in USDC on Base. Input: JSON body {"serviceId":"aman-translate","request":"<input>"}. No account, no API key.

## Output

The API returns the translated text in the requested target language, produced deterministically by the AmanChain node. The response contains the converted string ready for direct use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-text-translation-service-b2d7bb07/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai](https://www.zero.xyz/host/preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/llms.txt)
