# Japanese-English AI Translation API

> Japanese-English AI Translation API is a paid API for AI agents from jp-data-api-production.up.railway.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Translates text bidirectionally between Japanese and English with auto-detection of translation direction, optimized for business and product content.

## Facts

- Endpoint: GET https://jp-data-api-production.up.railway.app/ai/translate
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/japanese-english-ai-translation-api-36925f3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AP2MP8nblWrBPhRa6S4xW

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 japanese-english-ai-translation-api-36925f3f
```

Example prompt: Translate this Japanese product description into natural English: '高品質のステンレス製タンブラーで、保温・保冷効果が長時間続きます。'

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call Japanese-English or English-Japanese translation without requiring an API key setup, especially for business documents, product descriptions, UI strings, or emails. Prefer this over general-purpose translation APIs when working in a Japan-focused stack or when you want automatic direction detection without configuring language pairs manually.

## Known failure modes

- Missing required 'text' query parameter returns an error
- Input text exceeding ~4000 characters may be truncated or rejected
- Ambiguous language input (e.g. mixed scripts) may produce incorrect auto-detection
- Network or server errors on Railway hosting platform may cause intermittent failures
- Non-Japanese/English text will likely produce poor or undefined results

## How this service works

Japanese-English translation (both directions) with natural, context-aware output. No API key needed, pay per call. Handles business documents, product descriptions, UI strings, emails. Auto-detects direction.

## Output

Returns the translated text in the target language (English or Japanese), produced with context-aware, natural phrasing suitable for business documents, product descriptions, UI strings, and emails.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "en | ja (optional; auto-detected)"
      },
      "text": {
       "type": "string",
       "description": "text to translate (up to ~4000 chars)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/japanese-english-ai-translation-api-36925f3f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from jp-data-api-production.up.railway.app](https://www.zero.xyz/host/jp-data-api-production.up.railway.app/llms.txt)
