Overview
The Bank of Russia XML API provides official daily exchange rates for foreign currencies against the Russian Ruble, published by the Central Bank of the Russian Federation. No authentication is required and the data is freely accessible via a simple XML endpoint. It is ideal for Russian financial applications, accounting software, or compliance tools that need official CBR exchange rates.
Beginner Tip
The API returns XML not JSON. Use an XML parser in your language of choice. The main endpoint returns today's rates at https://www.cbr.ru/scripts/XML_daily.asp. For a specific date, add the parameter ?date_req=DD/MM/YYYY.
Available Data
The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.
Example Response
Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.
{
"base": "USD",
"date": "2025-01-15",
"rates": {
"EUR": 0.92,
"GBP": 0.79,
"JPY": 149.5,
"CAD": 1.35
}
} Field Reference
Valute.CharCode Three-letter ISO currency code (e.g. USD, EUR). Valute.Name Full name of the currency in Russian (e.g. US Dollar). Valute.Value Exchange rate of one unit of the foreign currency in Russian Rubles, using a comma as the decimal separator. Valute.Nominal The number of foreign currency units the rate applies to (e.g. 1 for USD, 100 for JPY). Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://www.cbr.ru/scripts/XML_daily.asp";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Metadata Score Breakdown
Estimated from metadata — endpoint not independently tested
Metadata estimate · endpoint not independently tested
Technical Specifications
Related Tags
Similar APIs
View All →Currency-api
⭐ Beginner's PickCurrency-api is a free, open-source currency exchange rates API hosted on GitHub with no rate limits, no authentication, and support for 150+ currencies.
Czech National Bank
The Czech National Bank (CNB) publishes official daily exchange rates for 30+ currencies against the Czech Koruna (CZK) as a plain XML file.
Economia.Awesome
⭐ Beginner's PickEconomia.Awesome is a free Brazilian API that provides real-time and historical currency exchange rates for dozens of currency pairs, including BRL (Brazilian Real) against USD, EUR, BTC, and more.
Exchangerate.host
⭐ Beginner's PickExchangerate.host provides free foreign exchange and cryptocurrency rates via a simple REST API, covering 170+ currencies and major crypto assets.
Frankfurter
⭐ Beginner's PickFrankfurter is an open-source currency data API backed by the European Central Bank (ECB) exchange rate dataset, providing rates for 33 major currencies updated every weekday.