 <p>Here's how (in C#):</p> <p>First, you create your name value collection using the inputs you need like:</p> <pre><code>var nvc = new NameValueCollection { {"q", input}, {"source", "en"}, {"target", "en"}, {"key","Your translate API key here"} }; </code></pre> <p>Then you can call a function like this one:</p> <pre><code>internal string Post(string url, ref CookieContainer cookieJar, NameValueCollection nvc, string referer = null) { var postdata = string.Join("&amp;", Array.ConvertAll(nvc.AllKeys, key =&gt; string.Format("{0}={1}", HttpUtility.UrlEncode(key), HttpUtility.UrlEncode(nvc[key])))); var request = (HttpWebRequest)WebRequest.Create(url); request.CookieContainer = cookieJar; request.UserAgent = "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0"; request.Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"; request.Headers.Add("Accept-Charset", "ISO-8859-1,utf-8;q=0.7,*;q=0.7"); request.Headers.Add("Accept-Encoding", "gzip, deflate"); request.Headers.Add("Accept-Language", "en-us"); request.Method = "POST"; request.KeepAlive = true; request.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate; request.ContentType = "application/x-www-form-urlencoded"; request.ContentLength = postdata.Length; if (!string.IsNullOrEmpty(referer)) request.Referer = referer; var writer = new StreamWriter(request.GetRequestStream()); writer.Write(postdata); writer.Close(); var response = (HttpWebResponse)request.GetResponse(); var resp = (new StreamReader(response.GetResponseStream())).ReadToEnd(); return resp; } </code></pre> <p>Here's the call:</p> <pre><code>var result=Post("https://www.googleapis.com/language/translate/v2/detect",ref new CookieContainer(),nvc); </code></pre> <p>for small values of input, you can use GET instead of POST, just append postdata onto the url after a <code>?</code>.</p> <p>For google translate API, the response is in JSON format, there are many posts on how to parse JSON responses, so I won't go into that here, but these should help you get started: <a href="http://stackoverflow.com/questions/7699972/how-to-decode-a-json-string-using-c?lq=1">How to decode a JSON string using C#?</a> <a href="http://stackoverflow.com/questions/7721261/convert-json-file-to-c-sharp-object?lq=1">Convert JSON File to C# Object</a></p>