Currency Conversion rates via a Web Service

Some time ago I found the following Web Service, which provides the currency conversion rates for free. The WebSite also provides some other very nice services. I thought it would be interesting to bookmark that one. What kind of Web Service do you use to do the currency conversion?



  • Will check it out. Thanks.

  • Did anyone implement this into theit WEB page VIA Ajax?
    I need a solution for currency convert for my page and would like to do it via ajax. dissapointed that google or yahoo do not provide web api to their currency convert services :(

  • its ok let me check

  • it dosent contain all currencies.Do you know any free webservicec for conversion with all cureencies?

  • I have used this webservice and it is pretty good, but i have one problem with this as it is taking only parameters which are pre defined, but i need to pass dropdownlist selected value as one parameter and the second one is USD. Anyone has sample code to do like this , Plzzzzzzzz help me out

  • The web service is asking for web service credentials while adding it as web reference in my .net app .How do i go about accessing the Method in it

  • Someone know how it is possible update the placeholders with the actual values?

  • Did anyone implement this into their WEB page VIA SOAP?

  • Sample code:

    net.webservicex.www.Currency obj = new net.webservicex.www.Currency();
    case "SGD":
    obj = net.webservicex.www.Currency.SGD;
    case "USD":
    obj = net.webservicex.www.Currency.USD;
    case "AUD":
    obj = net.webservicex.www.Currency.AUD;
    case "EUR":
    obj = net.webservicex.www.Currency.EUR;
    case "INR":
    obj = net.webservicex.www.Currency.INR;


    create another object(obj1) as like above

    net.webservicex.www.CurrencyConvertor cr = new net.webservicex.www.CurrencyConvertor();
    double euro_us = cr.ConversionRate(obj, obj1);

    now you can pass the dropdownlist's value.

    Have a nice day


  • Please Give Me Web Service for Inr To USD carrency Converter. my emil id is

  • cupcake efficiency absolute range offset past melts

  • thanks for nice article dear,
    i want to know that, how can i bind the dropdownlist of the all the countries that provided in web service, because i want to add 2 dropdownlist of the country and then i take the value of the dropdownlist dynamically.
    if u have the code then please send me on

    waiting for favorable reply...
    Viral sarvaiya

  • Hi,
    Do you know how accurate is the currency in the webservice?
    I cant find any information on that plus, the resource that this web service gets its data from.

  • Hi,

    I've an issue in IIS 5.1.
    Am using currency convertor webservice provided by
    It works fine, if i run in debug mode. But if i host the project in IIS 5.1, it shows the following error.

    "System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetRequestStream() at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at net.webservicex.www.CurrencyConvertor.ConversionRate(Currency FromCurrency, Currency ToCurrency) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\currency\2c61a503\91943083\App_WebReferences"

    I might've missed some steps in IIS . Could anyone please help me out ?

  • I am new to Dot Net

    My Requirement is :


    User will select his country currency and enter the amount

    What i want is :

    User given value conversion to my requirement may be U.S Dollar or U.K Pounds whatever it may be.

    The main thing is i need Updated value of currency.

    It's urgent. Help me clearly .

    What to place in .aspx file
    Coding in aspx.cs file


  • Aku bertanya-tanya sekarang jika kita dapat berbicara tentang statistik situs Anda - volume pencarian, dll, saya sedang mencoba situs yang saya dapat membeli adspace melalui - beritahu saya jika kita bisa bicara tentang harga dan yang lainnya. Cheers mate Anda melakukan pekerjaan yang besar sekalipun.

  • thanks amigo! great post!

  • هذا هو بلدي أنا أول مرة زيارة هنا. لقد وجدت الكثير من الاشياء في بلوق الخاص بك لا سيما مناقشتها. من طن من التعليقات على المواد الخاصة بك ، واعتقد انني لست الوحيد وجود جميع التمتع هنا! استمروا في العمل الجيد.

  • this is wrost webservice

  • Wacker, welche nГ¶tige WГ¶rter..., der bemerkenswerte Gedanke

  • Ich meine, dass Sie den Fehler zulassen. Ich kann die Position verteidigen. Schreiben Sie mir in PM.

  • Excuse, the question is removed

  • Questo non ГЁ logico

  • Che cosa scaturisce da questo?

  • You are not right. I am assured. Let's discuss. Write to me in PM, we will talk.

  • Hi there, just became cognizant of your weblog via Google, and discovered that it can be actually informative. I'm going to watch out for brussels. I'll appreciate when you continue this in future. Loads of folks will likely be benefited from your writing. Cheers!

  • What you say is reasonable, yet I still take reservations on this issue ~

  • Absolutely with you it agree. In it something is and it is excellent idea. It is ready to support you.

  • Ex7hTY re comments really that big a deal?

  • Does anybody know where WebserviceX gets the exchange rates form?

    I need to convince clients to use it and they want to know if the values are legitimate.

  • im a serial commenter

  • Radically the incorrect information

  • Here you will find how to building an AJAX currency converter with ASP.NET, jQuery and Google

  • good blog as usual

  • How to call this web service in my application ?

  • Looking forward to then

  • well, this is what I'm looking for, thanks bro

  • I have been looking for how to consume this... Thanks Jehilan!

    I re-modified it to display the result in a textbox.

    Code below...

    private void GetRate()
    Currency obj = new Currency();
    obj = Currency.GBP;
    Currency obj2 = new Currency();
    obj2 = Currency.USD;

    CurrencyConvertor cr = new CurrencyConvertor();
    double euro_us = cr.ConversionRate(obj, obj2);

    TextBox2.Text = euro_us.ToString();
    TextBox2.Visible = false;

    protected void Page_Load(object sender, EventArgs e)
    if (!IsPostBack)

    Am sure its gonna help others too. *Smiles*

  • Don't forget to set the TextBox2.Visible to true... Cheers!

  • Fabulous, what a website it is! This webpage gives useful data to
    us, keep it up.

Comments have been disabled for this content.