# AmanChain Text Translation Service

> AmanChain Text Translation Service is a paid API for AI agents from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai, paid per call via x402, $0.009331/call, status unknown (last checked 2026-09-14).

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

## Facts

- Endpoint: POST https://preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/api/x402/aman-translate
- Price: $0.009331/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-d9b70c31
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HSuFCqNja6J286sg0xnW0

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

Example prompt: Can you translate the following text into Spanish: 'Welcome to our platform, we are happy to have you here.' — use the AmanChain translation service and charge my USDC balance per call.

## When to prefer this

Choose this endpoint when you need a lightweight, no-account, pay-per-call translation service that accepts USDC micropayments via x402, supports 20+ languages, and requires no API key setup. Ideal for agents that need occasional on-demand translations without managing subscriptions or API credentials.

## Known failure modes

- Unsupported target language returns an error or falls back to source text
- Malformed JSON body (missing serviceId or request field) causes a 400-level error
- Insufficient USDC balance causes x402 payment failure and no translation is returned
- Very long input text may exceed processing limits and return a truncated or failed response
- Network or node unavailability returns a 5xx error

## 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 endpoint returns the translated version of the input text in the requested target language, produced deterministically by the AmanChain node against live consensus state, billed at ~$0.009 USDC per call via x402.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "request": {
       "type": "string",
       "description": "service input (see body example)"
      },
      "serviceId": {
       "type": "string",
       "description": "the service id, \"aman-translate\""
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-text-translation-service-d9b70c31/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai](https://www.zero.xyz/host/preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/llms.txt)
