# AsterPay AI Translate

> AsterPay AI Translate is a paid API for AI agents from x402.asterpay.io, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-12).

Translates text from any detected source language into a specified target language using AI

## Facts

- Endpoint: POST https://x402.asterpay.io/v1/ai/translate?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/asterpay-ai-translate-c5267709
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dny3FnT9KhcdZRJo1FsX9

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 asterpay-ai-translate-c5267709 -d '<json body>'
```

Example prompt: Can you translate the following text into Finnish: 'Hello, welcome to our platform. We hope you enjoy your experience here.'

## When to prefer this

Choose this endpoint when you need a simple, pay-per-use AI-powered text translation without committing to a subscription service, especially in agentic workflows that already use x402 micropayment infrastructure. Ideal for low-volume or on-demand translation tasks where auto-detection of source language is acceptable.

## Known failure modes

- Unsupported target language code returns an error or empty translation
- Very long text may be truncated or cause timeout
- Ambiguous short text may result in incorrect source language detection
- Non-text input (binary, numeric-only) may produce poor translation quality
- Missing target_language field will cause a validation error

## How this service works

Translate text to any language using AI

## Output

Returns a JSON object containing the translated text string, the detected source language code, and the target language code that was requested.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "translation"
  ],
  "properties": {
   "translation": {
    "type": "string"
   },
   "source_language": {
    "type": "string"
   },
   "target_language": {
    "type": "string"
   }
  }
 },
 "example": {
  "translation": "Hei maailma",
  "source_language": "en",
  "target_language": "fi"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/asterpay-ai-translate-c5267709/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.asterpay.io](https://www.zero.xyz/host/x402.asterpay.io/llms.txt)
