fxtop.com currency converters and historical exchange rates english homepage

For developers

past Historical converter
graph Historical rates
comparison Historical comparison
converter Currency converter
USD Currency portal
diff Forex map
diff Forex trends
portal Currency pair portal
cross Cross fx rates
equivalence Pocket guide
gold Gold (1oz=2 178 USD)
inflation calculator nechto Fotolia Inflation Calculator
world inflation map Inflation map
Advanced converter Advanced converter
Countries Countries
converters Unit converters
English quiz: online easy English assessment English assesment
Major fx rates :
1 EUR=1.0816 USD
1 EUR=163.52 JPY
1 EUR=0.8577 GBP
1 USD=151.18 JPY
1 USD=0.9071 CHF
1 GBP=1.2611 USD
1 USD=1.3602 CAD
1 USD=1.5348 AUD
1 EUR=0.9811 CHF
Fxtop.com :
About this site
How to use this converter ?
Converting rules
Links accepted
Data feed
For developers
For publishers
Feedback
Donate
© 2022 FXTOP
Rates on 27 mars 2024
Exchange rates feeding services
For more than 10 years, Fxtop provide exchange rates information to businesses.

This page describes services we already provide to our clients. We can also adapt our services to your very specific needs.

Several kind of files are provided : XML, Text or CSV (could be read easily with Excel), JSON, SQL queries or web services.

Exchange rates are provided against a base currency (like US dollar or euro or whichever you like), we used common charsets like Unicode UTF-8 or ISO--8859-1 (Western european Latin1)

Exchange rates can be sent to your systems through different means : file put on our website, file put on our FTP site, file sent to your FTP site, file sent by mail ou data sent through a web service

We've got a powerful dedicated server with 200+ Mbps guaranteed and other dedicated servers for development, backup and integration tests. So our service agreement includes an availability above 99%.

Our fares are reasonable, services are set up very quickly and we adapt to any specific needs so don't hesitate to subscribe or contact us

If you are a bit lost about technical terms, have look at our terminology section or contact us so we can help you choose service that fits most to your needs.

Excel addon
Data available is available in Excel addon
For non developers, this is maybe the easiest way to access our data, as you can access it using User Defined function.
To access it, you just download this Excel Addon, you unzip it, there are 2 files,
the first file is called Fxtop_currency.xll, you open Excel and add this XLL file as a complement of Excel
Once you've done it, 4 new functions are available in Excel (under category "Fxtop") :
GetLivePrice : Retrieve last exchange rate (nearly real time).
GetPrice : Retrieve exchange rate at a date in the past or today
ConvertCurrency : Convert an amount in the past from one currency to another.
GetHistoPrice : Retrieve a list of historical exchange rates for a currency pair between two dates
the second file is called TestCurrency.xlsx and it contains several samples of calls of above 3 functions

XML
XML is the standard file format for structured data exchange.
Currency quotations against the euro are available in XML (eXtensible Markup Language) format.
An example of xml exchange file can be seen with an XML interpretor (like Internet Explorer) here (labels in 11 languages and exchange rates against euro) or here (labels in english and exchange rates against US dollar)

if you want the page with daily exchange rates and all 162 currencies list in 11 languages, please contact webmaster@fxtop.com, it is a commercial service.

Explanations of XML tags :
<DAYPRICE> is the exchange rate between the euro currency and the currency at the date specified in the <ALLCURRENCIES><DATE> Tag
<LIBEN> is the name in English of the country (or organization) issuing the currency, for example "United States" for USD)
<LIBDEVEN> is the currency label in English (for example "US dollar" for USD)
<LIBFR> is the name in French of the country (or organization) issuing the currency, for example "Etats-Unis" for USD)
<LIBDEVFR> is the currency label in French (for example "dollar américain" for USD)
<LIBIT>, <LIBES>, <LIBDE>, <LIBDK>, <LIBSE>, <LIBNO>, <LIBPT>, <LIBFI>, <LIBNL> : label of the country issuing currency respectively in Italian, Spanish, German, Danish, Swedish, Norwegian, Portuguese, Finnish, Flemmish
<LIBDEVIT>, <LIBDEVES>, <LIBDEVDE> : label of the currency respectively in Italian, Spanish, German
<ISOCODE> is the three letter code for the currency
<SHLIB> is the short label, for example "$" for US Dollar, "F" for French Franc
<NBDEC> is the number of digits after the decimal point, for example 2 for US Dollar because people use cents for Dollars but 0 for Italian Lira because they have no cents.
<MODEC> is a number corresponding to the importance or the category of the currency (for example 3 for a currency belonging to Euroland) )
Example :
<ALLCURRENCIES> <DATE>08/09/2000</DATE> <PREVIOUSDATE>07/09/2000</PREVIOUSDATE> <CURRENCY> <ISOCODE>ADF</ISOCODE> <LIBEN>Andorra (Franc)</LIBEN> <DAYPRICE>5.7250</DAYPRICE> </CURRENCY>
Means that 1 euro (EUR) = 5.7250 Andorra Franc (ADF) on 08/09/2000
To get the exchange rate between the US Dollar and the British pound you have to do a division : 1 USD = EURGBP/EURUSD GBP
with EURGBP=0.61240 (1 EUR =0.61240 GBP) and EURUSD= 0.8735 (1 EUR= 0.8735 USD)
so you get :
1 USD = 0.61240 / 0.8735 GBP = 0.70108 GBP

JSON

JSON is a popular file format to exchange structured data, it is more compact than XML.
Our historical data and daily datas are available in JSON format
A sample can be seen HERE
Sample month average in october 2013 against US Dollar, language English only
Sample day price on 15 october 2013 against US Dollar, language English only

SOAP Web services
We allow third parties to call some of our functions to convert amounts from one currency to another, retrieve exchange rates (today or in the past), retrieve currency description, list of currencies.
Some services are commercial services so you need subscription, please contact us to get a quote.

Standard web service using SOAP protocol and WSDL file

SOAP is the standard way to use web service, it is based on a Web Service Definition Language (WSDL) file (special file written in XML way). It can be used by any application, XML files are exchanged with that protocol.
We provide such web service based on SOAP protocol, we based it on http protocol which is more convenient (http port is not blocked by firewalls). We use standard Unicode (UTF-8) charset for encoding strings.
This web service is compatible with inflation
Our Web Service Definition Language (WSDL) file is here
This file describes 3 services and associated parameters :
DescCurrency : return description of a currency : 3 char Iso Code , language (2 chars long : FR, EN, DE, IT, ES, FI, DK, NL, PT SE NO, JP), label of country of the currency in this language, label of currency (the label of country exists in 12 languages but currency label is given only in French (FR), English (EN), German (DE), Italian (IT) and spanish (ES) so far) used charset is standard Unicode UTF-8.
ListCurrencies : return list of currencies dealt by our site (over 200 currencies) : it is a sequence with same content as DescCurrency service.
Convert: converts amount from one currency to another at a date (today's date if no date is given). For this service, you need to provide User/Login parameters, if you don't provide them or if they are incorrect, conversions will be done with exchange rates in year 1999, whatever date is passed ! Format date is DD/MM/YYYY.

You can find a sample of execution of these three services on a PHP page on https://fxtop.com/dev/clientwsdl.php, this page is not necessarily hosted on our server to work. You can use other technologies than PHP to use this webservice.

Source code of this sample is available here (if it doesn't look like Php code in your browser, use "View source" function in your browser). As you can see, it is very easy to use web services with PHP language. for example following code :

$leservice=new SoapClient("https://fxtop.com/dev/service.wsdl");
$mylist=$leservice->Convert("123.45", "USD", "GBP", "15/12/1953", "LOGIN","PASSWORD");
echo "Converting 123.45 USD in GBP on 15/12/1953  with login/password provided - ResultAmount=".
	$mylist->ResultAmount .", DD=". $mylist->DD .", MM=". 
	$mylist->MM .", YYYY=". $mylist->YYYY .", C1=". 
	$mylist->C1 .", C2=". $mylist->C2 .
	", OriginalAmount=". $mylist->OriginalAmount .", ExchangeRate=". $mylist->ExchangeRate .", Comment=". $mylist->Comment ."<br />";
displays :
Converting 123.45 USD in GBP on 15/12/1953  with login/password provided - ResultAmount=
	44.31917256, DD=15, MM=12, YYYY=1953, C1=USD, 
	C2=GBP, OriginalAmount=123.45, ExchangeRate=0.3590050430000 , Comment=
So 123.45 dollars US were worth 44.32 sterling pound in december 1953

If you use PHP, we suggest you to use an optimized web service on https://fxtop.com/dev/serviceForPhp.wsdl, it contains 2 extra functions named TabCurrencies and HistoricalRates. See sample on this page written in PHP on https://fxtop.com/dev/clientwsdlForPhp.php.
Code source of this PHP sample is available here (if this PHP source code doesn't display properly, use function "View source" in your web browser).

Online test of SOAP web service

You can test this webservice without writing a line in PHP, you just have to go to SoapClient (Direct link)
Then enter our web service definition file https://fxtop.com/dev/service.wsdl click "Retrieve" then enter parameters you want to test puis de saisir les paramètres que vous souhaitez.

.Net sample code written in C# to integrate this SOAP web service

You can find here a sample of execution of web service with .net written in C#.
To use it, create a new project under Visual Studio, choose "Console Application", then on Solution Explorer, right click on "ConsoleApplication1" and choose "Add a "reference of service".
Enter https://fxtop.com/dev/service.wsdl and clik "Ok". File is parsed by Visual Studio.
Then rename "ServiceReference1" to "MyFxtop". Copy paste this source code in Program.cs and sample will work.
Please note that this sample will only perform currency conversion in 1999, to perform currency conversion today on at another date, you need a login.

Please contact us so we can give you full access to this feature then you will be able to use it or if you want us to adapt it to your needs.

Light web services based on REST architecture with HTTP transportation protocol
These are light interfaces to call our services : they don't use a WSDL file to describe the services (.WSDL might be long to interpret) and exchange messages are light.

Here are some samples of use of these services (please note that you can call them with different technologies than the one displayed in sample) :
Please note that if you are not a registered user, only samples of past queries in 1999 will work !

Web service descriptionDirect call sampleStatic html form sampleDynamic form sample with Ajax/Jquery
Webservice with http GET method in the past, return in XML format Here convert 70 GBP into euro on 15/12/1999 HTML form to call web service with http GET method in the past, return in XML format Sample dynamic form with asynchronous queries in Ajax/Jquery in the past using internal call of webservice with http GET method in the past, return in XML format.
Webservice with http GET method in the past, return in TEXT format Here convert 70 GBP into euro on 15/12/1999 Use above HTML form and choose "TEXT" Mode to call web service with http GET method in the past, return in TEXT format Light dynamic sample dynamic form with synchronous queries in Ajax (but without Jquery) in the past using internal call of webservice with http GET method in the past, return in TEXT format.
Webservice with http GET method in the past, return in JSON format Here convert 70 GBP into euro on 15/12/1999 None None
Web Service to retrieve past rates with GET method of HTTP protocol HTTP, return in JSON or XML format
This web service is compatible with inflation
Here retrieval in XML format of Euroland CPI (Consumer Price Index) index at 15/12/1999
JSON
Aucun Aucun
Webservice with http GET method at today's rate, return in text format Here convert 70 GBP into euro at today's rate HTML form to call webservice with http GET method at today's rate, return in text format None
Webservice with http GET method at today's rate, return in XML format Here convert 70 GBP into euro at today's rate HTML form to call web service with http GET method at today's rate, return in XML format Sample dynamic form with asynchronous queries in Ajax/Jquery using internal call of webservice with http GET method at today's rate, return in XML format
Webservice with http GET method at today's rate, return in JSON format Here convert 70 GBP into euro at today's rate None None
Webservice with http POST method at today's rate, return in XML format Pages using POST method can't be called directly. HTML form to call webservice with http POST method at today's rate, return in XML format] Sample dynamic form with asynchronous queries in Ajax/Jquery using internal call of webservice with http POST method at today's rate, return in XML format
Sample dynamic secured form with asynchronous queries in Ajax/Jquery using internal call of webservice with https (SSL - Secured Socket Layer) POST method at today's rate, return in XML format.
Webservice with http GET method to retrieve range of historical exchange rates between 2 dates, return in XML format
This web service is compatible with inflation
Daily historical rates GBP/EUR in July 1999 HTML form to call REST web historical rates service with http GET method, return in XML format None
Webservice with http GET method to retrieve range of historical exchange rates between 2 dates, return in Excel format (CSV)
This web service is compatible with inflation
Daily historical rates GBP/EUR in July 1999

HTML form to call REST web historical rates service with http GET method, return in XLSX Excel 2007 format

HTML form to call REST web historical rates service with http GET method, return in CSV format

None
Webservice with http GET method to retrieve range of historical exchange rates between 2 dates, return SQL queries for MySQL
This web service is compatible with inflation
Daily historical rates GBP/EUR in July 1999 HTML form to call REST web historical rates service with http GET method, return SQL queries to populate a MySQL database None
Webservice with http GET method to retrieve all exchange rates against a base currency (at a specific date or today if date not defined), return in XML format Daily historical rates against USD on 1st of July 1999 (XML) HTML form to call REST web daily rates service with http GET method, return in XML format None
Webservice with http GET method to retrieve all exchange rates against a base currency (at a specific date or today if date not defined), return in JSON format Daily historical rates against USD on 1st of July 1999, english language only (JSON) None None
Webservice with http GET method to retrieve all exchange rates against a base currency (at a specific date or today if date not defined), return in CSV format Daily historical rates against USD on 1st of July 1999 (CSV) HTML form to call REST web daily rates service with http GET method, return in XML format None
Web service to retrieve monthly rates against a base currency, XML format Monthly exchange rates in july 1999 against Us Dollar None None
Web service to retrieve monthly rates against a base currency, JSON format Monthly exchange rates in july 1999 against Us Dollar, JSON format, only in English None None
Daily XML file with exchange rates against US dollar or any other base currency. Reserved for clients, more information about XML services Reserved for clients, see sample here (labels in 11 languages and exchange rates against euro) or here (labels in english and exchange rates against US dollar), etc... None
Daily CSV file with exchange rates against US dollar or any other base currency. Reserved for clients Reserved for clients, see sample CSV file (could be read easily with Excel) None
Daily SQL file with exchange rates against US dollar or any other base currency. Reserved for clients Reserved for clients, see sample mySQL file or sample for Oracle database None


Note 1 : Fields syntax is described in Link syntax.
Note 2 : for security reason, browsers frequently deactivate cross-domain ajax scripts, which means that above Ajax/Jquery samples won't work on your site even if we created you an account (we've got a workaround ready : using javascript include with conversion functions (Like on this sample which can work on your site if we create you an account), alternate solution is a proxy server page).

Please contact us so we can give you full access to this feature then you will be able to use it or if you want us to adapt it to your needs.

Dynamic conversions on your web site

Dynamic conversions can be achieved with Ajax/Jquery as explained above.
It can also be achieved with JavaScript technologies like it is performed on most of pages of fxtop.com (like Currency converter, Quick currency converter for mobile phone, Dual currency converter on bottom of cross page).
You can find an example of currency converter you can personalize on your server on that sample page, and another sample here
This is a commercial service, please contact us so we can integrate such conversion or data providing on your web site.

Terminology
SOAP stands for Simple Object Access Protocol, is a protocol specification for exchanging structured information in the implementation of Web Services in computer networks. It relies on Extensible Markup Language (XML) for its message format, and usually relies on other Application Layer protocols, most notably Hypertext Transfer Protocol (HTTP), for message negotiation and transmission.

The Web Services Description Language (WSDL) is an XML-based language that is used for describing the functionality offered by a Web service.

Representational state transfer (REST) is a style of software architecture for distributed systems such as the World Wide Web. REST has emerged over the past few years as a predominant Web service design model. REST has increasingly displaced other design models such as SOAP and WSDL due to its simpler style.
REST uses HTTP protocol to exchange messages and facilitates the transaction between web servers by allowing loose coupling between different services. REST is less strongly typed than its counterpart, SOAP. The REST language is based off the use of nouns and verbs, and has an emphasis on readability. Unlike SOAP, REST does not require XML parsing and doesn't require a message header to and from a service provider. This ultimately uses less bandwidth.

Please note that Ajax means "Asynchronous JavaScript and XML" is a set of technologies to perform Web 2.0 dynamic and interactive content (part of the page is refreshed without having to reload all page).
. Ajax is based on following technologies :
- JavaScript (client side programming language), so it means that some processing are done on browser.
- XMLHttpRequest : a JavaScript object to deal with asynchronous queries
- Document Object Model (DOM)
- XML (eXtended Markup Language) used to format messages that are exchanged between client and server
- XHTML content (language used to describe the content of web page)
- Cascade Style Sheet (CSS)

JQuery is a cross-browser JavaScript library designed to simplify the client-side scripting of HTML.

SSL is Secured Socket Layer, it is a protocol to securely exchange data over the Internet (data is encrypted between client and server for privacy reason), it is used when address starts with "https://".

GET method is a request method supported by HTTP protocol. With this method, parameters are passed in the address (URI /URL) you can see them in address bar like C1=EUR&A=110 means that C1 (first currency) is EUR and Amount is 110.

POST method is a request method supported by HTTP protocol, parameters are not sent in address bar like with GET method but are grouped in body of the request message (there is no body part of message with GET method).

Part of content of this terminology section comes from related articles of Wikipedia, grants to the authors of these articles.

Specific services
If you have specific needs like :
- integrating the currency converter on your Internet web site or Intranet
- information services on currency exchange rates on your web site
- providing interexchange files with currency exchange rate (with format like XML, SQL, CSV (text files separated by semi colon that can be read by Excel)) available daily on our web site (or sent to you to your FTP server or by mail or available on our FTP server).
- web service to retrieve individual exchange rates (today or in the past) with technologies like XML, RSS, SOAP, WSDL. We support SSL (Secured Socket Layer) for encryption of individual conversions.
- web development (HTML, Javascript, PHP, Java, XML, databases (MySql, Oracle, Sybase, SQL Server)...)
- contents creation
- design (web site, trademarks, logos...)
- consulting (finance, Internet, Computer Science, Euro, cryptography, monetics & smartcards), advice, technical support...
Please feel free to contact us and explain your needs.

RSS
We provide a free RSS flow that you can access through rss icon.
This RSS flow can be adapted to your needs (no advert, particular currencies...), contact us for more details.

Other services
About fxtop.com
Links accepted
Link and fields syntax
Exchange rates data feed subscription
Customized software for publishers
Exchange rates feeding and specific services for developers
Rules
XML
Worksheet about euro
Copyright
Feedback
Legal and privacy
Quiz about euro
Other questions : see about page or contact us