{"uid":"cap_899g-kEJMAq-9OTLcdrhx","slug":"dexl-agents-text-translation-4e7666e5","name":"DexL Agents Text Translation","description":"Translate text into any target language, detecting the source when you do not give it. Proper nouns, numbers, code and formatting are kept as they are. Returns the translation alone, with no preamble to strip. Fixed price per call.","url":"https://agents.dexl.io/v1/tools/translate-text","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","description":"Target language, e.g. \"Turkish\", \"German\", \"ja\"."},"from":{"type":"string","description":"Source language. Detected when omitted."},"text":{"type":"string","maxLength":8000}}},"responseSchema":{"type":"json","example":{"units":1,"cached":false,"output":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OQ7fS5I9pSNqDBHN1YLww","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates text from one language to another, with optional auto-detection of the source language, for up to 8000 characters per call.","exampleAgentPrompt":"Translate this text to German: 'Our new product launches next week and we are excited to share it with you.'","exampleUseCases":[{"title":"Customer support multilingual reply","prompt":"Translate this customer message to English so I can read it — the original is in Japanese: '新しい注文について確認したいことがあります。'"},{"title":"Product listing localization","prompt":"Translate the following product description to Turkish: 'Lightweight running shoes with breathable mesh upper and cushioned sole, available in five colors.'"},{"title":"Auto-detect and translate user input","prompt":"I have this text from a user and I'm not sure what language it is — can you translate it to English: 'Bonjour, je voudrais savoir si ma commande a été expédiée.'"}],"resultDescription":"A JSON object containing the translated text in an 'output' field, the number of units consumed, and a boolean indicating whether the result was served from cache.","failureModes":["Text exceeds 8000 character limit — request rejected","Unsupported or misspelled target language code — error returned","Empty text input — may return empty output or error","Network timeout for very long texts near the character limit","Ambiguous source language causing incorrect auto-detection"],"whenToPreferThis":"Choose this endpoint when you need fast, pay-per-call text translation without managing API keys or subscriptions, especially in agentic or machine-to-machine workflows where payment is handled via x402 protocol. Ideal for translating short-to-medium texts (up to 8000 characters) across a wide range of languages with optional auto-detection of the source language.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:34:17.751Z","isFirstParty":false}