Please change you code with below code
[WebMethod]
public decimal ConvertGOOG(decimal amount, string fromCurrency, string toCurrency)
{
WebClient web = new WebClient();
string apiURL = String.Format("http://finance.google.com/finance/converter?a={0}&from={1}&to={2}", amount, fromCurrency.ToUpper(), toCurrency.ToUpper());
string response = web.DownloadString(apiURL);
var split = response.Split((new string[] { "<span class=bld>" }), StringSplitOptions.None);
var value = split[1].Split(' ')[0];
decimal rate = decimal.Parse(value, CultureInfo.InvariantCulture);
return rate;
}
This will return the conversion currency
Google has stopped making use of http://www.google.com/ig/calculator?hl=en&q={2}{0}%3D%3F{1}
solved How to implement currency conversion