# HydraTrader Text Translate (x402)

> HydraTrader Text Translate (x402) is a paid API for AI agents from x402.hydratrader.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Translates input text to a target language via a pay-per-call POST endpoint using x402 micropayments at $0.01 USDC per request.

## Facts

- Endpoint: POST https://x402.hydratrader.ai/v1/translate?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/hydratrader-text-translate-x402-84b584f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_irxMWRVuhsBgSoT7Aj0VB

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 hydratrader-text-translate-x402-84b584f7 -d '<json body>'
```

Example prompt: Translate the following product description into Spanish: 'Our new wireless headphones deliver crystal-clear sound with 30-hour battery life and active noise cancellation.'

## When to prefer this

Choose this endpoint when you need lightweight, pay-as-you-go text translation without an API key, particularly in agentic workflows where x402 micropayment infrastructure is already in use. Ideal for low-volume or sporadic translation needs where subscription-based APIs are overkill.

## Known failure modes

- HTTP 402 returned if x402 payment is not attached or payment fails
- Input text exceeds 8000 character limit returns validation error
- Unsupported target language in options may return an error or unexpected output
- Malformed JSON body returns 400 Bad Request
- Task enum mismatch if body.task is set to a non-translate value

## How this service works

Translate text: Verb-path alias of POST /v1/cheap-errand ($0.01 USDC). Same handler + payment terms; path defaults task=translate when body.task omitted. Cheap agent glue for buyer-supplied text. Base via x402. No API key.

## Output

Returns the translated version of the input text in the target language specified in the options or inferred from context, delivered as a JSON response body.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "task": {
   "enum": [
    "summarize",
    "rewrite",
    "classify",
    "extract_keywords",
    "sentiment",
    "translate"
   ],
   "type": "string"
  },
  "input": {
   "type": "string",
   "maxLength": 8000
  },
  "options": {
   "type": "object"
  },
  "client_ref": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hydratrader-text-translate-x402-84b584f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.hydratrader.ai](https://www.zero.xyz/host/x402.hydratrader.ai/llms.txt)
