{"uid":"cap_PK8Fg5WNkxrEto5WgmhGf","slug":"webbersites-com-text-translation-45327a22","name":"webbersites.com Text Translation","description":"TRANSLATION — POST {text, target} and get the translation plus the detected source language. Any language pair; target as a name or ISO code ('spanish', 'de', 'ja'). Up to 8,000 chars per call; line breaks and markdown preserved; code, URLs, and proper names left alone. Optional {source} to pin the source language, {formality}: formal|informal. Fast cheap LLM under the hood; the x402 payment IS the auth.","url":"https://api.webbersites.com/api/translate-text","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["text","target"],"properties":{"text":{"type":"string","description":"The text to translate, up to 8,000 characters"},"source":{"type":"string","description":"Optional source language; auto-detected when omitted"},"target":{"type":"string","description":"Target language — name or ISO code ('spanish', 'de', 'ja')"},"formality":{"type":"string","description":"formal or informal register (optional)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"model":{"type":"string"},"usage":{"type":"object"},"target":{"type":"string"},"translation":{"type":"string"},"source_language":{"type":"string","description":"detected (or provided) source language"}}}}}}},"responseSchema":{"type":"json","example":{"model":"gemini-2.5-flash-lite","target":"japanese","translation":"トークンの有効期限が切れたため、デプロイは失敗しました。","source_language":"English"}},"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_waEBEQ1Bi0iVAOMz0isjU","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 any language to any target language, preserving formatting and returning the detected source language.","exampleAgentPrompt":"Translate the following text into formal Spanish, preserving all the markdown formatting: '## Getting Started\\nWelcome to our platform! Please follow the steps below to set up your account.'","exampleUseCases":null,"resultDescription":"Returns the translated text with original formatting intact (line breaks, markdown, code blocks, URLs, and proper names preserved), plus the detected source language of the input.","failureModes":["Text exceeds 8,000 character limit — call will be rejected or truncated","Invalid or unrecognized target language name/code — translation fails","Payment not processed via x402 — request unauthorized","Ambiguous source language with very short input — detection may be incorrect","Network timeout for unusually complex or long text near the character limit"],"whenToPreferThis":"Use this endpoint when you need fast, cheap per-call text translation with automatic source language detection, support for any language pair, and preservation of markdown/code/URL formatting. Ideal for agents needing to localize content on-the-fly without managing API keys — the x402 micropayment serves as authentication. Choose this over heavier translation APIs when cost-per-call and formatting fidelity matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:45:25.486Z","isFirstParty":false}