# payload402 Text Translation (Azure Translator)

> payload402 Text Translation (Azure Translator) is a paid API for AI agents from payload402.edgebytenet.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Translates short text (up to 500 characters) between languages using Azure Translator, returning the translated string and metadata.

## Facts

- Endpoint: GET https://payload402.edgebytenet.workers.dev/translate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payload402-text-translation-azure-translator-0fbb0ba6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ymysTBOs7xp32Z13wXwjp

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 payload402-text-translation-azure-translator-0fbb0ba6
```

Example prompt: Translate 'Welcome to our platform, please sign in to continue' from English into French using machine translation — this is for a UI button label, not a certified document.

## When to prefer this

Choose this endpoint when you need a quick, low-cost machine translation of short text (under 500 chars) for UI copy, agent messages, or informal research snippets, and do not require certified, legal, or medical-grade translation. It is backed by Azure Translator (Microsoft) and is accessible via a simple GET request with x402 micropayment. Prefer alternatives for long documents, domain-specific terminology, or certified translation needs.

## Known failure modes

- Missing required 'text' or 'to' query parameter returns an error
- Unsupported or invalid ISO 639 language code causes a translation failure
- Text exceeding 500 characters may be rejected or truncated
- Azure Translator service downtime results in a 5xx error
- Payment of $0.01 USDC not completed blocks the request via x402 payment flow

## How this service works

Translate short text between languages (Azure Translator). Use when an agent needs a verifiable string in another language for UI copy, messages, or research snippets — not legal, medical, or certified translation.

## Output

A JSON object containing the original text, detected or specified source language code, target language code, the translated string, the translation source label ('azure-translator'), and a note clarifying that this is short-text machine translation, not certified or domain-specific.

## 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",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Target ISO 639 code (e.g. es, fr)"
      },
      "from": {
       "type": "string",
       "description": "Source ISO 639 code or auto"
      },
      "text": {
       "type": "string",
       "description": "Short text to translate (max 500 chars)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "es",
  "from": "en",
  "note": "Short-text machine translation via Azure Translator (Microsoft); not certified or domain-specific",
  "text": "Hello",
  "source": "azure-translator",
  "translated": "Hola"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payload402-text-translation-azure-translator-0fbb0ba6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payload402.edgebytenet.workers.dev](https://www.zero.xyz/host/payload402.edgebytenet.workers.dev/llms.txt)
