Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man translate-text

/translate-text

agentutility / wordmint / translate-text
PRICE / CALL
$0.002
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
wordmint
CATEGORY
ai
STATUS
live
NAME
translate-text translate agent messages, support replies, and documents without breaking markdown, code blocks, urls, or proper nouns
SYNOPSIS
POST https://x402.agentutility.ai/translate-text
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Translate agent messages, support replies, and documents without breaking Markdown, code blocks, URLs, or proper nouns. Send text and target_language, then get translated_text plus detected_source_language; source_language and formality are optional. It auto-detects the source and uses a latency-tuned fallback for 100+ languages. Use it as a translation API, document translation service, support reply translator, or localization API for recurring agent workflows.

INPUTrequest schema
propertytypedescriptionreq?
textstringText to translate. Max 12k chars.required
target_languagestringTarget language as an ISO code or name, e.g. 'en' or 'Spanish'.required
source_languagestringOptional. Source language ISO code or name. Auto-detected if omitted.optional
formalitystringOptional. Register: 'casual', 'formal', or 'neutral' (default).
enum: casual · formal · neutral
optional
OUTPUTresponse shape
fieldtypedescription
translated_textstringTranslated output string in the target language, with Markdown, code blocks, and URLs preserved.
target_languagestringTarget language used for the translation, as an ISO code or language name.
source_languagestringSource language as supplied in the request, or null if auto-detected.
detected_source_languagestringLanguage auto-detected from the input text when source_language was not provided.
formalitystringFormality register applied to the translation: casual, formal, or neutral.
input_charsnumberCharacter count of the original input text submitted for translation.
output_charsnumberCharacter count of the translated_text returned by the model.
modelstringIdentifier of the AI model that produced the translation.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/translate-text \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the translate-text tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
translatetranslationi18nlanguageai
env
VENICE_API_KEY
methods
POST
cluster
wordmint
price
$0.002 USDC per call
ADJACENTother endpoints in wordmint
endpointdescriptionprice
contract-translateTranslates contract excerpts and commercial terms, preserving numbering, defined terms, clause references, dates, and party names.$0.002
cron-explainCron expression parser.$0.002
customer-review-translateTranslates customer reviews, ratings comments, and voice-of-customer excerpts, preserving product names, SKUs, and star ratings.$0.002
education-course-translateTranslates course outlines, assignments, quiz instructions, and LMS copy, preserving placeholders and numbering.$0.002
finance-report-translateTranslates finance reports: market commentary, investor letters, earnings notes, and finance summaries, preserving tickers and numbers.$0.002
game-localization-translateTranslates game content: dialogue, item descriptions, UI strings, and patch notes, preserving tokens.$0.002
immigration-document-translateTranslates immigration form excerpts, appointment instructions, evidence checklists, and application notes, preserving names, dates, IDs,…$0.002
invoice-translateTranslates invoice notes, payment terms, receipt line descriptions, and billing messages, preserving amounts, invoice IDs, and dates.$0.002
SEE ALSO
agentutility · wordmint · x402 · mcp · llms.txt · registry.json · bazaar.x402.org