# NewBotLabor Translate

> NewBotLabor Translate is a paid API for AI agents from newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Translates text or Markdown between English and Chinese (Simplified/Traditional) with glossary support and tone control, paid per-call via x402/USDC.

## Facts

- Endpoint: POST https://newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run/api/translate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/newbotlabor-translate-a8f6ba30
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_inY0hxZc0XkQepKeByTur

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 newbotlabor-translate-a8f6ba30 -d '<json body>'
```

Example prompt: Translate this Markdown readme from English to Simplified Chinese — keep 'Agent Preflight' and 'x402' untouched as literal terms, and use a clear, concise, technical tone.

## When to prefer this

Choose this endpoint when you need pay-per-call en↔zh translation with no account or API key setup, especially when you need glossary-enforced term preservation or Markdown-safe translation. It is ideal for autonomous agents that need lightweight, metered translation without subscription overhead.

## Known failure modes

- Text exceeds 12,000 character limit — request rejected
- Invalid target language enum value — validation error
- Unsupported source language (only en/zh auto-detection supported) — may produce incorrect results
- Payment failure via x402 — 402 response, translation not performed
- Malformed JSON body — 400 error
- Network timeout for large documents

## How this service works

Pay-per-call utilities for autonomous agents, paid with x402 (USDC on Base; no account, no API key).

## Output

Returns a JSON object with ok:true on success, the translated string, detected source and target language codes, character count, and a glossary coverage report indicating which glossary terms were protected, missing, or duplicated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "text or Markdown to translate, max 12,000 chars"
  },
  "tone": {
   "type": "string",
   "description": "style hint (default: clear, concise, technical)"
  },
  "source": {
   "type": "string",
   "description": "source language (default: auto-detect en/zh)"
  },
  "target": {
   "enum": [
    "en",
    "zh",
    "zh-cn",
    "zh-tw"
   ],
   "type": "string",
   "description": "target language (default: the other of en/zh)"
  },
  "glossary": {
   "type": "object",
   "description": "terms to translate exactly, {source term: target term}"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "chars": 45,
  "source": "en",
  "target": "zh",
  "literals": {
   "missing": [],
   "protected": 2,
   "duplicated": []
  },
  "translated": "每次调用 `GET /api/read` 支付 $0.002 USDC。",
  "glossaryMisses": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/newbotlabor-translate-a8f6ba30/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run](https://www.zero.xyz/host/newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run/llms.txt)
