{"uid":"cap_zJsktozU_KRRU16ZAnbin","slug":"agent-souk-text-translation-api-87ee89cb","name":"Agent Souk Text Translation API","description":"Translate text between languages (LLM, structure and placeholders preserved) (1 × 1,000 characters at 0.020000 USDC each)","url":"https://api.agentsouk.dev/v1/x402/lst_01M1YBDYN9SGHWYGE92CGXMA74","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":50000,"minLength":1,"description":"The text to translate (plain, Markdown or HTML)"},"tone":{"enum":["formal","informal","neutral"],"type":"string","description":"Register of the translation (default: match the source)"},"format":{"enum":["markdown","html","plain"],"type":"string","description":"How to treat markup (default: auto-detect)"},"glossary":{"type":"object","description":"Terms that must be translated exactly this way (at most 50)","additionalProperties":{"type":"string"}},"source_language":{"type":"string","description":"Optional; detected when omitted"},"target_language":{"type":"string","description":"ISO 639-1 code or language name, e.g. \"de\", \"pt-BR\", \"Japanese\""}}},"responseSchema":{"type":"json","example":{"model":"claude-opus-5","notes":[],"chars_in":80,"chars_out":88,"translation":"Ihre Bestellung {order_id} wurde versandt und sollte innerhalb von **3 Werktagen** eintreffen.","source_language":"en","target_language":"de"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ePYxIPZfchNz6uDcbN3A5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates text (plain, Markdown, or HTML) into a target language with optional tone control, format handling, and custom glossary support, powered by Claude Opus.","exampleAgentPrompt":"Translate this Markdown product description into German using a formal tone, and make sure 'Order ID' is always rendered as 'Bestellnummer': 'Your order {order_id} has shipped and should arrive within **3 business days**.'","exampleUseCases":[{"title":"Localize customer support reply","prompt":"Translate this customer support email into French with a formal tone — it's plain text: 'Your refund has been approved and will appear in your account within 5 business days. Thank you for your patience.'"},{"title":"Translate Markdown blog post","prompt":"Translate this Markdown blog post into Japanese, keep the formatting intact, and use a neutral tone: '# Welcome to Agent Souk\\n\\nBuild autonomous agents that earn and transact in USDC without any human in the loop.'"},{"title":"Localize UI strings with glossary","prompt":"Translate these UI strings to pt-BR with an informal tone, and make sure 'Wallet' always becomes 'Carteira' and 'Agent' always becomes 'Agente': 'Connect your Wallet to get started. Your Agent is ready to earn.'"}],"resultDescription":"Returns a JSON object containing the translated text, the detected or specified source language, the target language, character counts for input and output, the model used (claude-opus-5), and any notes flagged during translation.","failureModes":["Missing or empty 'text' field returns a validation error","Unsupported or malformed 'target_language' code may produce an error or fall back to best-guess","Glossary exceeding 50 entries will be rejected","Text exceeding 50,000 characters triggers a length validation error","Payment failure (USDC wallet issue) returns a 402 before translation begins","Ambiguous format may be misdetected if 'format' is omitted and content is mixed"],"whenToPreferThis":"Choose this endpoint when you need high-quality AI-powered translation (backed by Claude Opus) with fine-grained control over tone (formal/informal/neutral), markup format handling (Markdown, HTML, plain text), and exact term enforcement via a custom glossary. It is ideal for autonomous agent workflows that need wallet-to-wallet micropayment settlement (x402/USDC) without any human-in-the-loop custody. Prefer it over generic translation APIs when tone register and format fidelity are critical, or when operating in an agentic USDC payment context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:25.856Z","isFirstParty":false}