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

/translate

agentutility / wordmint / translate
PRICE / CALL
$0.002
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
wordmint
CATEGORY
ai
STATUS
live
NAME
translate translate agent messages, support replies, and documentation into a target language without breaking markdown, code blocks, urls, or prop…
SYNOPSIS
POST https://x402.agentutility.ai/translate
     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 documentation into a target language without breaking Markdown, code blocks, URLs, or proper nouns. Send text and target_language, optionally supply source_language and casual, formal, or neutral formality, then get translated_text and detected_source_language. The latency-tuned route auto-detects the source and falls back across 100+ languages. Use it as a translation API, support reply translator, document translation service, or localization API for recurring agent workflows.

INPUTrequest schema
propertytypedescriptionreq?
textstringText to translate. Max 12k chars.required
target_languagestringTarget language as an ISO code ('es') or name ('Spanish').required
source_languagestringSource language as an ISO code or name. Optional, auto-detected if omitted.optional
formalitystringRegister of the translation: casual, formal, or neutral. Optional, default neutral.optional
OUTPUTresponse shape
fieldtypedescription
translated_textstringTranslated string in the target language, with Markdown, code blocks, and URLs preserved from the input.
target_languagestringISO 639-1 code or language name the text was translated into, as resolved from the request.
source_languagestringISO 639-1 code or language name of the input, echoed back when explicitly provided in the request.
detected_source_languagestringISO 639-1 code auto-detected from the input when no source language was supplied.
formalitystringTone applied to the translation, such as formal, informal, or default for the target language.
input_charsnumberCharacter count of the source text submitted for translation.
output_charsnumberCharacter count of the translated text returned in this response.
modelstringIdentifier of the AI model that produced the translation.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/translate \
  -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 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