{"slug":"api-webbersites-com-api-translate-text-2cfe76","title":"TRANSLATION — POST {text, target} and get the translation plus the detected sour","host":"api.webbersites.com","method":"POST","resource":"https://api.webbersites.com/api/translate-text","category":"code","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 ","price_listed":0.01,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":3,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"target":"japanese","text":"The deploy failed because the token expired."},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"formality":{"description":"formal or informal register (optional)","type":"string"},"source":{"description":"Optional source language; auto-detected when omitted","type":"string"},"target":{"description":"Target language — name or ISO code ('spanish', 'de', 'ja')","type":"string"},"text":{"description":"The text to translate, up to 8,000 characters","type":"string"}},"required":["text","target"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"model":{"type":"string"},"source_language":{"description":"detected (or provided) source language","type":"string"},"target":{"type":"string"},"translation":{"type":"string"},"usage":{"type":"object"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"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.","last_updated":"2026-10-08T06:07:55.449Z","schemes":["exact"]}