{"uid":"cap_ySCfSpdC-4a968ZaIu_ZS","slug":"m2m-100-multilingual-text-translation-fba90eac","name":"M2M-100 Multilingual Text Translation","description":"Translate text between about 100 languages (M2M-100). One text or a batch of up to 20; give target_lang and optionally source_lang (default en). Also callable as GET with the same fields as query parameters.","url":"https://agents.torbrooknews.com/v1/translate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["target_lang"],"properties":{"text":{"type":"string"},"texts":{"type":"string","description":"Up to 20 texts instead of text; separate items with |"},"source_lang":{"type":"string","description":"ISO code, default en"},"target_lang":{"type":"string","description":"ISO code, e.g. fr, es, de, zh, ja"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m3ioQ1vNaxfG7W3si381b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates text or a batch of up to 20 texts between approximately 100 languages using the M2M-100 model.","exampleAgentPrompt":"Can you translate the following text to French using the M2M-100 translator: 'The weather is beautiful today and I am very happy'?","exampleUseCases":[{"title":"Localize product descriptions to German","prompt":"I need to translate these three product descriptions into German for our EU store launch: 'Lightweight running shoes with extra cushioning | Premium leather wallet with RFID protection | Stainless steel water bottle 32oz'. Translate all of them."},{"title":"Batch translate customer reviews to English","prompt":"I have a batch of customer reviews written in Japanese that I need to read — can you translate all of them into English? Here they are separated by pipes: '商品はとても良かったです|配送が遅かった|また購入します'"},{"title":"Convert support ticket content to Spanish","prompt":"Translate this support message from English to Spanish so I can send it to our customer: 'Your refund has been processed and should appear in your account within 3-5 business days.'"}],"resultDescription":"Returns the translated text (or an array of translated texts for batch requests) in the target language. For single text input, returns one translated string; for batch input (pipe-separated via `texts`), returns a list of translated strings corresponding to each input.","failureModes":["Unsupported language code returns an error — only ~100 languages supported by M2M-100","Missing target_lang parameter causes a validation error","Batch exceeds 20 texts returns an error","Empty or null text input may return an empty result or error","Very long text inputs may be truncated or rejected","Rare language pairs with low training data may produce lower quality translations"],"whenToPreferThis":"Choose this endpoint when you need fast, pay-per-call multilingual translation without managing an API key, especially for batch translation of up to 20 items at once. It covers ~100 languages via the M2M-100 model, which supports many non-English language pairs directly (not just through English pivot). Prefer it for agentic workflows requiring lightweight localization without a subscription to Google Translate or DeepL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:46:07.279Z","isFirstParty":false,"canonicalSlug":"m2m-100-multilingual-text-translation-fba90eac"}