# agentsvc.io Text Translation API

> agentsvc.io Text Translation API is a paid API for AI agents from agentsvc.io, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-10).

Translates text from one language to another using MyMemory, with auto language detection, paid per call via USDC on Base.

## Facts

- Endpoint: POST https://agentsvc.io/api/v1/proxy/translate?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentsvc-io-text-translation-api-64a9d3b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4CsKvl5yOnYQ4qn1rDMcX

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 agentsvc-io-text-translation-api-64a9d3b6 -d '<json body>'
```

Example prompt: Translate 'Hello, how are you doing today?' from English into Japanese for me.

## When to prefer this

Choose this endpoint when you need quick, pay-per-call text translation without setting up an account or API key — ideal for agents that translate short strings infrequently. It supports auto language detection and covers major world languages via MyMemory. Best suited for texts under 500 characters; for longer documents or higher translation quality requirements, consider a dedicated translation provider with bulk support.

## Known failure modes

- Text exceeds 500 character limit — request rejected or truncated
- Invalid ISO 639-1 language code provided for source or target — error response
- Unsupported language pair — MyMemory may return low-confidence or empty translation
- Network or upstream MyMemory API failure — service unavailable error
- Missing target_lang field — request fails with validation error

## How this service works

86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.

## Output

Returns a JSON object containing the translated text, the original text, the detected or specified source language code, the target language code, a confidence score (0–1), and the name of the underlying translation service (MyMemory).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to translate (max 1000 characters per call; longer text is truncated)"
  },
  "source_lang": {
   "type": "string",
   "default": "auto",
   "description": "Source language code. Default: 'auto' (auto-detect). Use ISO 639-1 codes."
  },
  "target_lang": {
   "enum": [
    "en",
    "de",
    "fr",
    "es",
    "it",
    "pt",
    "nl",
    "pl",
    "sv",
    "cs",
    "el",
    "ru",
    "uk",
    "tr",
    "ar",
    "hi",
    "id",
    "vi",
    "zh",
    "ja",
    "ko"
   ],
   "type": "string",
   "description": "Target language, ISO 639-1 code (e.g. 'de', 'fr', 'ja')"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "service": "Argos Translate (local)",
   "confidence": 1,
   "source_lang": "en",
   "target_lang": "de",
   "original_text": "Hello, how are you?",
   "pivot_language": null,
   "translated_text": "Hallo, wie geht es Ihnen?"
  },
  "success": true
 }
}
```

## More

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