Yahoo provides a free API for exchange rates. Unlike European Central Bank though, it gives a list of currency pairs. You could get all currencies at once or ask for specific pairs (on different endpoints though).