From where do you fetch exchange rates for foreign currencies?

The exchange rate for foreign currencies are fetched from Open Exchange Rates, a major currency exchange rate provider. They provide real-time exchange rates for more than 165 world currencies.