The Wayback Machine - https://web.archive.org/all/20050204024435/http://www.oanda.com:80/products/fxml/index.shtml

FXML - XML Interface to FXP

FXML is a simple, automatic way of retrieving currency exchange rates over the Internet using an XML interface. FXML is intended for Web Automation Developers who have licensed and want to use the OANDA currency exchange rates in their own system or Web site.

Subscribers to this service access the exchange rates via the Internet using the HTTP protocol to send XML requests and receive XML responses that contain a list of currencies, dates and the appropriate exchange rates.

By sending an XML request to FXML with the base (home) and quote currencies, you can retrieve the latest or historical exchange rates from OANDA's exchange servers.

A sample from FXML is displayed in the following table:

<RESPONSE>
<EXPR>USD</EXPR>
<EXCH>EUR</EXCH>
<AMOUNT>1</AMOUNT> 
<NPRICES>1</NPRICES>
<CONVERSION>
<DATE>Sat, 30 Dec 2000 21:50:03 GMT</DATE> 
<ASK>0.9421</ASK>
<BID>0.9416</BID> 
</CONVERSION>
</RESPONSE> 

It is possible to create one-to-many currency tables using FXML by providing the base currency and a series of quote currencies. This will generate results such as those displayed in the following table:

<RESPONSE>
<EXPR>USD</EXPR>
<EXCH>EUR</EXCH> 
<AMOUNT>1</AMOUNT>
<NPRICES>1</NPRICES>
<CONVERSION>
<DATE>Tue, 20 Mar 2001 21:00:00 GMT</DATE> 
<ASK>0.9088</ASK> 
<BID>0.9082</BID>
</CONVERSION>
<EXPR>USD</EXPR>
<EXCH>CAD</EXCH>
<AMOUNT>1</AMOUNT>
<NPRICES>1</NPRICES>
<CONVERSION>
<DATE>Tue, 20 Mar 2001 21:00:00 GMT</DATE>
<ASK>0.6389</ASK>
<BID>0.6384</BID>
</CONVERSION>
...  
</RESPONSE>

To obtain currency exchange rates in XML format:

  1. Register to obtain an OANDA account
  2. Subscribe to OANDA FXML service

If you would like to obtain a redistribution license, please contact us today.