NBU exchange rate export
Select date:
Using this service, you can freely receive NBU exchange rates in XML format.
https://pf-soft.net/service/currency
If no query parameters are provided, the exchange rates for the last available date are returned by default. If you need to get exchange rates for a specific date, you must add the following parameter to the request: date with a value in the format dmY, where d is the day of the month (two digits), m is the month number (two digits), Y is the year (four digits) of the required date.
For example, the request to get exchange rates for October 31, 2014 will look like this:
https://pf-soft.net/service/currency?date=31102014
Structure of the response XML file
The result of the request will be an XML file with the following structure:
<?xml version="1.0" encoding="windows-1251"?>
<ValCurs Date="31/10/2014" SetDate="31/10/2014" NextDate="03/11/2014"
Name="PFSoft Currency Service" Version="1.2">
<Valute id="30">
<NumCode>036</NumCode>
<CharCode>AUD</CharCode>
<Nominal>100</Nominal>
<Name>Australian Dollars</Name>
<Value>634.7846</Value>
</Valute>
...
</ValCurs>
The attribute values of the nodes are as follows:
Date - the requested date;
SetDate - the date of setting the provided exchange rates;
NextDate - the next date for setting the provided exchange rates;
NumCode - digital currency code;
CharCode - alphabetic currency code;
Nominal - nominal value;
Name - currency name;
Value - exchange rate value.
You can receive exchange rates on your computer using the ValOffice program.
