Droid CNB Rates
Czech National Bank (or ECB) exchange rates as a block and shortcode: a table, a single rate in text, or a currency converter.
Show the official exchange rates of the Czech National Bank on your site – as a table, as one rate in a sentence, or as a currency converter.
Block "ČNB exchange rates"
- Table of chosen currencies in your order, with the amount column (100 HUF, 100 JPY…), the date and, if you like, the change against the previous day.
- One rate in text: "1 EUR = 24,425 CZK (Source: ČNB, 13. 11. 2026)".
- Converter: amount and currency to crowns and back. It converts in the browser from the rates in the page, numbers formatted for the site language.
- The source "Source: ČNB" with the date of the rates is always shown.
Shortcode
[droid_cnb rezim="tabulka" meny="EUR,USD,GBP" zmena="ano"], [droid_cnb rezim="text" mena="EUR" datum="ano"], [droid_cnb rezim="prevodnik"]
Attributes: rezim (tabulka, text, prevodnik), meny, mena, zdroj (cnb, ecb), datum, zmena, mnozstvi (ano/ne). English names work too (mode, currencies, currency, source, show_date, show_change, show_amount).
For developers
droid_cnb_rate( 'EUR' )– crowns for one euro (droid_cnb_rate( 'HUF' )for one forint),nullwhen unknown.GET /wp-json/droid-cnb/v1/rates– the current and the previous sheet.
Euro sites
The ECB module adds the euro reference rates of the European Central Bank (base currency EUR), with the same block modes.
Rates are downloaded, not loaded live
Your site downloads the rate sheet in the background on working days after 14:45 and then every hour until the new sheet arrives. Pages never wait for the bank. On weekends and holidays the last valid sheet is shown with its date; when the bank is unavailable the old rates stay and administrators see a notice.
External services
Czech National Bank
On working days after the publication time (14:45 by default) and then hourly until the new sheet arrives, and when an administrator clicks Download now, your site downloads https://www.cnb.cz/cs/financni-trhy/devizovy-trh/kurzy-devizoveho-trhu/kurzy-devizoveho-trhu/denni_kurz.txt (on the first download also the sheet of the previous day). No site or visitor data is sent; like every WordPress HTTP request it carries the WordPress version and the site address in the User-Agent header. Provided by the Czech National Bank.
European Central Bank (ECB module, off by default)
On working days after 16:45 by default and then hourly until new rates arrive, your site downloads https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml. No site or visitor data is sent. Provided by the European Central Bank.
wpDroid.cz plugin catalog
The shared wpDroid.cz → Overview page loads the list of wpDroid.cz plugins from https://wpdroid.cz/api/wp/catalog, only when an administrator opens that page, at most once every 12 hours. No site or visitor data is sent; like every WordPress HTTP request it carries the WordPress version and the site address in the User-Agent header. The catalog is provided by wpDroid.cz.
Plugin updates (copy downloaded from wpdroid.cz only)
WordPress asks https://wpdroid.cz/api/v1/update/droid-cnb for new versions of this plugin about twice a day and when an administrator checks for updates or installs one. The request carries the installed plugin version, the PHP version and the site language, no site or visitor data; like every WordPress HTTP request it also carries the WordPress version and the site address in the User-Agent header. A copy from wordpress.org does not contact wpdroid.cz for updates. The service is provided by wpDroid.cz.
Screenshots
What you get
- Droid CNB Rates plugin, free download
- Download for your e-mail – no payment and no billing details
- Updates right in the WordPress admin
Installation
- Download the plugin from wpdroid.cz, then in Plugins → Add New Plugin → Upload Plugin upload the zip and activate it.
- The first rates are downloaded within a minute; wpDroid.cz → Kurzy ČNB → Download now does it at once.
- Add the ČNB exchange rates block to a page.
Common questions
- How often are the rates updated?
Every working day. After ČNB publishes its rate sheet (default 14:45), the site downloads it and then retries every hour until the new sheet arrives. You can click Download now at any time.
- What is shown at weekends or on public holidays?
The last valid exchange rate sheet with its date – just like at ČNB, which does not announce rates at weekends or on public holidays.
- What if ČNB is down?
The last downloaded rates stay on the site. If downloading fails for more than a day, the administrator sees a notice on the dashboard.
- Why is the amount 100 for the forint and the yen?
That is how ČNB announces them – the rate applies to 100 units. The table shows this in the amount column to avoid mistakes.
- Does the converter send anything to a server?
No. The rates are included in the page and the converter calculates directly in the visitor's browser.
- Does the plugin support ECB rates?
Yes. Enable the ECB module in the settings and choose ECB as the source in the block. The base currency is then the euro – suitable for Slovak and other euro sites.
- Can I use the rate in my own template or code?
Yes. The function
droid_cnb_rate( 'EUR' )returns the euro rate in Czech crowns, and the REST endpointGET /wp-json/droid-cnb/v1/ratesreturns the current and previous rate sheets.- Will the plugin also set the rates in my e-shop?
Not by itself – it only displays the rates. For the CURCY and FOX currency switchers in WooCommerce there is the paid add-on Droid ČNB Pro, which sets the e-shop's rates from these rates every day.
- What data does the plugin send?
No data about the site or its visitors. The plugin only downloads the public exchange rate sheet from cnb.cz (and, with the ECB module, from ecb.europa.eu). The wpDroid.cz → Overview page loads the list of plugins from wpdroid.cz, and a copy downloaded from wpdroid.cz checks for updates (plugin version, PHP version and site language).