# Strale Text Translation API

> Strale Text Translation API is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054/call, status unknown (last checked 2026-09-15).

Translates text from one language to another, with optional auto-detection of the source language, returning a translated string with an audit record.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/translate
- Price: $0.054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-text-translation-api-797a5269
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o6ehUt4uRv-tlxNkjVCRt

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 strale-text-translation-api-797a5269
```

Example prompt: Can you translate this text — 'Hej, hur mår du?' — into English? The source language is Swedish.

## When to prefer this

Choose this endpoint when you need a translation API that provides an auditable, cryptographically chained record of every call — useful for compliance-sensitive workflows, multi-agent pipelines requiring traceability, or regulated environments. Prefer it over generic translation APIs when audit trails and per-call micropayment pricing (via x402) fit your architecture, or when operating within an existing Strale agent infrastructure.

## Known failure modes

- Missing required 'text' parameter returns a 400 validation error
- Missing required 'target_language' returns a 400 validation error
- Unsupported or misspelled target language may return an error or fallback
- Very long text inputs may be truncated or rejected
- Payment not settled (x402 flow failure) results in a 402 response
- Auto-detection failure on ambiguous or very short input may produce an inaccurate source language guess

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns the translated text in the requested target language, along with an audit record containing a cryptographic chain hash for traceability. The response is structured JSON confirming the translation output and provenance metadata.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text",
      "target_language"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Text to translate"
      },
      "source_language": {
       "type": "string",
       "description": "Source language (optional, auto-detected)"
      },
      "target_language": {
       "type": "string",
       "description": "Target language (e.g. English, Swedish, French)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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