skip to main content
Federal Reserve Bank of New York
Careers
Publications Catalog
News & Events
Banking Markets Research Education Regional Outreach About the Fed
 

 
 
Noon Foreign Exchange Rates Web Service

The Federal Reserve Bank of New York now offers Noon Foreign Exchange Rates (exchange rates) data as a Web Service. The Noon Foreign Exchange Rates Web Service allows you to query the latest available exchange rates as follows:

  • by date
  • by currency code
  • by currency code with date range

The web service uses SOAP messages to communicate. It exposes the following operations:

string getAllLatestNoonRates ( )
returns: latest available Noon exchange rates

string getAllNoonRates ( date date1 )
returns: latest available Noon exchange rates for the specified date

string getLatestNoonRate ( string currency_code )
returns: latest Noon exchange rate available for the specified currency code

string getNoonRates ( string currency_code, date date1, date date2 )
returns: latest Noon exchange rate available for the specified currency code, date range

Returned values are in XML format that conforms to the emerging Statistical Data and Metadata Exchange (SDMX) standard for use in automated processes.

Exchange Rates Data in XML
We report some rates in U.S. dollars per foreign currency unit and others in foreign currency units per U.S. dollar, following a long-standing convention. In the XML (see sample), the UNIT property along with the CURR element identify a report as being in U.S. dollars per foreign currency unit or foreign currency units per U.S. dollar. If the unit is USD (United States dollar), the rate is U.S. dollars per foreign currency unit, as is the case for the Euro. In our Euro report, you will find UNIT="USD" and <CURR>EUR</CURR>. If the unit is not the USD, the rate is foreign currency units per United States dollar. For the Mexican peso, for example, you will find UNIT="MXN" and <CURR>USD</CURR>.

To find out how a currency's exchange rate is reported, go to http://www.newyorkfed.org/markets/fxrates/noon.cfm

Web Service Definition (WSDL):
http://www.newyorkfed.org/markets/fxrates/
WebService/v1_0/FXWS.wsdl

Sample Web Service Client
We have two sample client programs that use the Web Service, one through Java, the other through .NET.

Sample Java Client: FXWSJavaClient_v1.0.16.zip
Sample .NET Client: FXWSDotNetClient_v1.0.9.zip

Exchange Rates published by the Federal Reserve Bank of New York ››

We are seeking feedback on this web service.
Feedback Form ››