In order to obtain the euro foreign exchange reference rates published by the European Central Bank in CSV format, use the following address in your programme or script: http://www.bank.lv/vk/ecb.csv When using the above address, you will receive the exchange rates published on that particular day. Please note that the exchange rates are published after 17.00; therefore, if you run your request before the rates are published, you will receive an empty file.
Should you require the exchange rates for any of the preceding dates, the date parameter 'yyyymmdd' should be added. For example, to obtain the exchange rates for 23 March 2005, the address would have to look as follows: http://www.bank.lv/vk/ecb.csv?date=20050323
The euro foreign exchange reference rates published by the European Central Bank are available as of 4 January 1999.