# ClinkAgent Text Translation API

> ClinkAgent Text Translation API is a paid API for AI agents from clinkagent.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Translates up to 2,000 characters of text into any target language, returning detected source language and full translation as clean JSON

## Facts

- Endpoint: POST https://clinkagent.com/translate/text?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/clinkagent-text-translation-api-39fae027
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__hM5jW1UeKb14ZGi2t9Mb

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 clinkagent-text-translation-api-39fae027 -d '<json body>'
```

Example prompt: Translate this text into Japanese: 'Thank you for your order. It will arrive within 3-5 business days.' — auto-detect the source language.

## When to prefer this

Choose this endpoint when you need a lightweight, no-auth, pay-per-call translation with automatic source language detection and clean JSON output — ideal for AI agents that need programmatic multilingual output without managing API keys or accounts. Best for short-to-medium texts (under 2,000 chars) across common language pairs. The x402 micropayment model makes it suitable for sporadic, on-demand translation in agentic pipelines without subscription overhead.

## Known failure modes

- Text exceeds 2,000 character limit — request rejected or truncated
- Unsupported or ambiguous target language string — translation may fail or default
- Language auto-detection fails on very short or ambiguous text — incorrect source language returned
- Network timeout or service unavailability — HTTP 5xx error
- Payment not processed or insufficient funds — HTTP 402 error blocking the request

## How this service works

Translate text for AI agents - POST any text up to 2,000 chars with a target language, get clean JSON back: the detected source language + the full translation, never prose. Any language pair - Spanish, French, German, Japanese, Chinese, Korean, Arabic, Hindi, Portuguese, English - source auto-detected when omitted. Translation API, language translation, localize, i18n. No API key, no account. POST {text, target_lang, source_lang?}. Free sample: /translate/example.

## Output

Returns a JSON object containing the detected source language (language code or name), the target language, and the full translated text — no prose or extra formatting, just structured data ready for agent consumption.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to translate, up to 2,000 chars"
  },
  "source_lang": {
   "type": "string",
   "description": "Optional source language; auto-detected when omitted"
  },
  "target_lang": {
   "type": "string",
   "description": "Language to translate into, free-form (\"English\", \"es\", \"Brazilian Portuguese\")"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "input_chars": 6,
  "output_chars": 13,
  "translated_text": "Hello, world!",
  "detected_source_lang": "Mandarin Chinese"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clinkagent-text-translation-api-39fae027/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clinkagent.com](https://www.zero.xyz/host/clinkagent.com/llms.txt)
