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

/localize-pack

agentutility / compose / localize-pack
PRICE / CALL
$0.05
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
compose
CATEGORY
uncategorized
STATUS
live
NAME
localize-pack localizes text in one call: detects the source language, translates, and optionally rewrites the translation in a chosen tone
SYNOPSIS
POST https://x402.agentutility.ai/localize-pack
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

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

Localizes text in one call: detects the source language, translates, and optionally rewrites the translation in a chosen tone. Give it text and a target language and get back the detected source language (ISO code + confidence), a fluent translation, and, when a tone is supplied, the translated text rewritten in that tone (formal, casual, friendly, persuasive, and 8 more). One paid call replaces the detect, translate, restyle chain: ideal for support reply localization, multilingual publishing, agent-to-human messaging. Composite: one call runs detect-language + translate in parallel, then rewrite-tone over the translation when a tone is provided. Use it as a localization pipeline API or multilingual content adapter.

INPUTrequest schema
propertytypedescriptionreq?
textstringText to localize. Max 6000 chars.required
target_languagestringTarget language name or ISO code (e.g. 'Spanish', 'de').required
tonestringOptional tone for the translated text: formal, casual, friendly, confident, empathetic, concise, playful, persuasive, apologetic, technical, simple, enthusiastic.optional
OUTPUTresponse shape
fieldtypedescription
detected_languagestring
target_languagestring
translated_textstring
tonestring
toned_textstring
composed_ofstring
componentsstring
degradedstring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/localize-pack \
  -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 localize-pack tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
composelocalizepacklocalize-pack
methods
POST
cluster
compose
price
$0.05 USDC per call
ADJACENTother endpoints in compose
endpointdescriptionprice
company-dossierBuilds a company research dossier in one call: firmographic profile, domain intelligence, WHOIS registration, TLS, and tech stack.$0.05
doc-briefDigests a public PDF in one call: layout-aware markdown, an executive summary, and named entities.$0.05
news-digestSummarizes the news on any topic in one call: ranked results, a bullet digest of the coverage, and the named entities (people, companies,…$0.05
outreach-packDrafts a cold email and verifies the recipient address in one call.$0.05
person-dossierResearches a person from their email address in one call: enrichment, deliverability, disposable check, and social handle.$0.05
pr-packTurns a git diff into a commit message and PR description in one call.$0.05
repo-health-briefAssesses whether a public GitHub repo is safe to depend on, in one call: health score, README, and star history.$0.05
site-snapshot-packCaptures a website's screenshot, metadata, and SSL certificate in one call.$0.05
SEE ALSO
agentutility · compose · x402 · mcp · llms.txt · registry.json · bazaar.x402.org