# x402-deployer Translation API

> x402-deployer Translation API is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Translates text into 100+ languages with auto-detection of source language, preserving Markdown, code blocks, and URLs in the output

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/translate
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-c8385949
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EovthSET0Avf-bQKnMIck

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 x402-deployer-x402-deployer-workers-dev-c8385949 -d '<json body>'
```

Example prompt: Translate the following Markdown blog post into French — the source is English but auto-detect it anyway — and make sure all the code blocks and hyperlinks stay intact: '# Getting Started\n\nInstall via `npm install mylib`. See [docs](https://example.com).'

## When to prefer this

Choose this endpoint when you need fast, affordable machine translation supporting 100+ languages with robust handling of structured text (Markdown, code, URLs) and automatic source-language detection, especially within an x402 micropayment workflow at $0.005 USDC per call.

## Known failure modes

- Unsupported target language code or name returns an error
- Empty or missing text body returns a validation error
- Ambiguous short text may result in incorrect language auto-detection
- Rate limiting or payment failure (x402) returns a 402 Payment Required response
- Very long texts may exceed token limits and return a truncation or error response

## How this service works

AI translator. 100+ languages. Auto-detect source. ISO codes or names. Native fluency. Preserves Markdown / code / URLs.

## Output

Returns the translated text in the target language with Markdown formatting, code snippets, and URLs preserved intact, along with the detected or confirmed source language code and the target language code.

## Example request

```json
{
 "input": {
  "body": {
   "text": "Hello world. This is a test translation.",
   "source_language": "en",
   "target_language": "es"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-c8385949/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
