爱词霸翻译接口为:http://fy.iciba.com/ajax.php?a=fy

执行日翻中得到的结果:

{"status":1,"content":{"from":"ja","to":"zh","vendor":"tencent","out":"\u8981\u5b9e\u73b0\u68a6\u60f3\uff0c\u5c31\u662f\u4e00\u76f4\u559c\u6b22\u7740\u81ea\u5df1\u7684\u751f\u6d3b","ciba_use":"\u6765\u81ea\u673a\u5668\u7ffb\u8bd1\u3002","ciba_out":"","err_no":0}}

使用例子

public class IcibaTranslator 
    {
        const string headerName = "user-agent";
        const string headerValue = "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)";
        private readonly HttpClient client;
        private string icibaUrl = "http://fy.iciba.com/ajax.php?a=fy&f={0}&t={1}&w={2}";
        private readonly Regex regex = new Regex("(?<=\"out\":\").*?(?=\",)");
        public string FirendlyName => "爱词霸翻译";
        public string From { get; set; }
        public string To { get; set; }

        public IcibaTranslator(string from = "ja", string to = "zh")
        {
            From = from;
            To = to;
            client = new HttpClient();
            client.Timeout = TimeSpan.FromSeconds(5);
            client.DefaultRequestHeaders.Add(headerName, headerValue);
        }

        public async Task<string> Translate(string text)
        {
            try
            {
                var url = string.Format(icibaUrl, From, To, WebUtility.UrlEncode(text));
                var response = await client.GetAsync(url);
                var result = await response.Content.ReadAsStringAsync();
                var match = regex.Match(Regex.Unescape(result));
                return match.Success ? match.Value : $"{FirendlyName}错误";
            }
            catch (TaskCanceledException)
            {
                return $"{FirendlyName}超时";
            }
            catch (Exception ex)
            {
                return ex.Message.ToString();
            }
        }
    }

一沙一世界,一花一天堂。君掌盛无边,刹那成永恒。