Euro foreign exchange reference rates

The reference rates are usually updated by 15:00 CET on every working day, except on TARGET closing days. They are based on a regular daily concertation procedure between central banks across Europe and worldwide, which normally takes place at 14:15 CET.

Euro foreign exchange reference rates as at 27 July 2015

All currencies quoted against the euro (base currency)
Currency Spot Chart
USD US dollar 1.1058up USD
JPY Japanese yen 136.23up JPY
BGN Bulgarian lev 1.9558eq BGN
CZK Czech koruna 27.029down CZK
DKK Danish krone 7.4615eq DKK
GBP Pound sterling 0.71270up GBP
HUF Hungarian forint 310.02down HUF
PLN Polish zloty 4.1285down PLN
RON Romanian leu 4.4180down RON
SEK Swedish krona 9.4530up SEK
CHF Swiss franc 1.0595up CHF
NOK Norwegian krone 9.0420up NOK
HRK Croatian kuna 7.5965up HRK
RUB Russian rouble 65.8165up RUB
TRY Turkish lira 3.0679up TRY
AUD Australian dollar 1.5184up AUD
BRL Brasilian real 3.7354up BRL
CAD Canadian dollar 1.4409up CAD
CNY Chinese yuan renminbi 6.8668up CNY
HKD Hong Kong dollar 8.5708up HKD
IDR Indonesian rupiah 14924.55up IDR
ILS Israeli shekel 4.2071up ILS
INR Indian rupee 70.9592up INR
KRW South Korean won 1293.39up KRW
MXN Mexican peso 18.0555up MXN
MYR Malaysian ringgit 4.2242up MYR
NZD New Zealand dollar 1.6741up NZD
PHP Philippine peso 50.356up PHP
SGD Singapore dollar 1.5152up SGD
THB Thai baht 38.585up THB
ZAR South African rand 14.0287up ZAR
ISK Icelandic krona - The last rate was published on 3 Dec 2008.  N/A   N/A 

The exchange rates against the euro published by the ECB are for reference purposes only.
The ECB aims to ensure that the published exchange rates reflect the market conditions at the time of the daily concertation procedure. Since the exchange rates of the above currencies against the euro are averages of buying and selling rates, they do not necessarily reflect the rates at which actual market transactions have been made.

The euro foreign exchange reference rates:

  • are published by electronic market information providers and by the ECB on its website shortly after the concertation procedure has been completed;
  • are computed using the “certain” method (i.e. EUR 1 = x foreign currency units); only one reference exchange rate (i.e. the mid-rate) for each currency is published;
  • vary, depending on the currency, in terms of the number of significant digits, reflecting market conventions. However, in most cases five significant digits are used.
  • may be published by the euro area national central banks in more comprehensive lists than the one provided by the ECB.

Latest rates

Last 90 days

Since 1999

Statistical Data Warehouse

How to parse the data in PHP

Regular expression example


<?php
    
//This is a PHP(4/5) script example on how eurofxref-daily.xml can be parsed
    //Read eurofxref-daily.xml file in memory 
    //For this command you will need the config 
    //option allow_url_fopen=On (default)
    
$XMLContent=file("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml");
    
//the file is updated daily between 2.15 p.m. and 3.00 p.m. CET
            
    
foreach($XMLContent as $line){
        if(
preg_match("/currency='([[:alpha:]]+)'/",$line,$currencyCode)){
            if(
preg_match("/rate='([[:graph:]]+)'/",$line,$rate)){
                
//Output the value of 1EUR for a currency code
                
echo'1&euro;='.$rate[1].' '.$currencyCode[1].'<br/>';
                
//--------------------------------------------------
                //Here you can add your code for inserting
                //$rate[1] and $currencyCode[1] into your database
                //--------------------------------------------------
            
}
        }
    }
?>

XML parser example


<?php
    
function StartElement($parser$name$attrs) { 
        if (!empty(
$attrs['RATE'])) {
            echo 
"1&euro;=".$attrs['RATE']." ".$attrs['CURRENCY']."<br />"
        }
    }
    
$xml_parserxml_parser_create();
    
xml_set_element_handler($xml_parser"StartElement""");
    
// for the following command you will need file_get_contents (PHP >= 4.3.0) 
    // and the config option allow_url_fopen=On (default)
    
xml_parse($xml_parserfile_get_contents ("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml"));
    
xml_parser_free($xml_parser);
?>

Example

SimpleXML.php


<?php
    
//This is aPHP(5)script example on how eurofxref-daily.xml can be parsed
    //Read eurofxref-daily.xml file in memory
    //For the next command you will need the config 
    //option allow_url_fopen=On (default)
    
$XML=simplexml_load_file("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml");
    
//the file is updated daily between 2.15 p.m. and 3.00 p.m. CET
            
    
foreach($XML->Cube->Cube->Cube as $rate){
        
//Output the value of 1EUR for a currency code
        
echo '1&euro;='.$rate["rate"].' '.$rate["currency"].'<br/>';
        
//--------------------------------------------------
        //Here you can add your code for inserting
        //$rate["rate"] and $rate["currency"] into your database
        //--------------------------------------------------
    
}
?>

Output of the code above

1€=1.1058 USD
1€=136.23 JPY
1€=1.9558 BGN
1€=27.029 CZK
1€=7.4615 DKK
1€=0.71270 GBP
1€=310.02 HUF
1€=4.1285 PLN
1€=4.4180 RON
1€=9.4530 SEK
1€=1.0595 CHF
1€=9.0420 NOK
1€=7.5965 HRK
1€=65.8165 RUB
1€=3.0679 TRY
1€=1.5184 AUD
1€=3.7354 BRL
1€=1.4409 CAD
1€=6.8668 CNY
1€=8.5708 HKD
1€=14924.55 IDR
1€=4.2071 ILS
1€=70.9592 INR
1€=1293.39 KRW
1€=18.0555 MXN
1€=4.2242 MYR
1€=1.6741 NZD
1€=50.356 PHP
1€=1.5152 SGD
1€=38.585 THB
1€=14.0287 ZAR