As the other answers point out, you will need access to an API of some sort. With exchange rates, though, the much bigger problem is going to be finding one that doesn't cost an arm and a leg. I know only one, XE.com. They have a real web service starting at $540/year, ad-less calculator embeds for the web site and an ad-driven free embed or popup.