{"uid":"cap_inY0hxZc0XkQepKeByTur","slug":"newbotlabor-translate-a8f6ba30","name":"NewBotLabor Translate","description":"Pay-per-call utilities for autonomous agents, paid with x402 (USDC on Base; no account, no API key).","url":"https://newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run/api/translate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"text or Markdown to translate, max 12,000 chars"},"tone":{"type":"string","description":"style hint (default: clear, concise, technical)"},"source":{"type":"string","description":"source language (default: auto-detect en/zh)"},"target":{"enum":["en","zh","zh-cn","zh-tw"],"type":"string","description":"target language (default: the other of en/zh)"},"glossary":{"type":"object","description":"terms to translate exactly, {source term: target term}"}}},"responseSchema":{"type":"json","example":{"ok":true,"chars":45,"source":"en","target":"zh","literals":{"missing":[],"protected":2,"duplicated":[]},"translated":"每次调用 `GET /api/read` 支付 $0.002 USDC。","glossaryMisses":[]}},"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_wBru4SErOkJKNV9sK8efK","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 or Markdown between English and Chinese (Simplified/Traditional) with glossary support and tone control, paid per-call via x402/USDC.","exampleAgentPrompt":"Translate this Markdown readme from English to Simplified Chinese — keep 'Agent Preflight' and 'x402' untouched as literal terms, and use a clear, concise, technical tone.","exampleUseCases":[{"title":"Localize API docs to Chinese","prompt":"Take this English API reference page (Markdown, ~3000 chars) and translate it to Simplified Chinese. Keep all code snippets, endpoint paths, and the terms 'USDC' and 'Base' exactly as-is."},{"title":"Translate user feedback to English","prompt":"I have a batch of Traditional Chinese user reviews I need to read. Translate this one to English — the source is zh-tw — and keep a friendly, natural tone."},{"title":"Technical blog post localization","prompt":"Translate this English blog post to zh-cn. The tone should be clear and technical. Make sure 'zero-knowledge proof' always translates to '零知识证明' — add that to the glossary."}],"resultDescription":"Returns a JSON object with ok:true on success, the translated string, detected source and target language codes, character count, and a glossary coverage report indicating which glossary terms were protected, missing, or duplicated.","failureModes":["Text exceeds 12,000 character limit — request rejected","Invalid target language enum value — validation error","Unsupported source language (only en/zh auto-detection supported) — may produce incorrect results","Payment failure via x402 — 402 response, translation not performed","Malformed JSON body — 400 error","Network timeout for large documents"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call en↔zh translation with no account or API key setup, especially when you need glossary-enforced term preservation or Markdown-safe translation. It is ideal for autonomous agents that need lightweight, metered translation without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:15.253Z","isFirstParty":false,"canonicalSlug":"newbotlabor-translate-a8f6ba30"}