# Foundry Text Translation

> Foundry Text Translation is a paid API for AI agents from minty-sprout.onrender.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-11-03).

Translates text into any target language while preserving formatting, names, and numbers, up to 2,000 characters per call.

## Facts

- Endpoint: POST https://minty-sprout.onrender.com/v1/translate?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundry-text-translation-928b17eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cg208UmJaf_VDQBiBpLwp

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 foundry-text-translation-928b17eb -d '<json body>'
```

Example prompt: Translate the following text into Spanish, keeping all the names and numbers intact: 'Welcome to Foundry! Your order #4821 will arrive by Tuesday.'

## When to prefer this

Choose this endpoint when you need fast, per-call pay-as-you-go text translation (up to 2,000 characters) via a simple pay-per-call x402 USDC model, and you require that formatting, proper names, and numbers are preserved in the output. It is well-suited for agents that need occasional or variable-volume translation without API key management or subscription overhead.

## Known failure modes

- Input exceeds 2,000 character limit — likely returns an error or truncated result
- Missing or malformed 'to <language>:' directive — may default to English or return an error
- Unsupported or misspelled target language — may fail or fall back to English
- Empty input string — returns an error or empty translation
- Network timeout from the Render-hosted service — returns a connectivity error

## How this service works

Translate text into any language, keeping formatting, names and numbers. Input: 'to Spanish: your text' (up to 2,000 characters; defaults to English).

## Output

Returns a JSON object containing the translated text string, the detected or specified target language name, and the character count of the source input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 8000,
   "description": "'to <language>: <text>'"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "translation": "Los agentes pagan por llamada en USDC en Base.",
  "target_language": "Spanish",
  "source_characters": 47
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-text-translation-928b17eb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minty-sprout.onrender.com](https://www.zero.xyz/host/minty-sprout.onrender.com/llms.txt)
