Overview
The Czech National Bank (CNB) publishes official daily exchange rates for 30+ currencies against the Czech Koruna (CZK) as a plain XML file. No authentication, account, or API key is required. This data is authoritative for Czech financial regulations, accounting, and VAT compliance.
Beginner Tip
The endpoint returns XML not JSON. Parse the response with an XML library. The CNB URL provides today's rates at https://www.cnb.cz/en/financial_markets/foreign_exchange_market/exchange_rate_fixing/daily.xml. For a specific date append ?date=YYYY-MM-DD.
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
Table.@date The date of the exchange rate publication in Czech date format. Table.Row.Currency Full name of the foreign currency (e.g. US dollar). Table.Row.Code Three-letter ISO currency code (e.g. USD, EUR). Table.Row.Rate Exchange rate of the foreign currency in Czech Koruna, using a comma as the decimal separator. Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://www.cnb.cz/cs/financni_trhy/devizovy_trh/kurzy_devizoveho_trhu/";
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 →Bank of Russia
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.
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.
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.