Katrangan
Borderless Currency Calculator adds a configurable currency converter to WordPress sites with the [bccalc_currency_converter] shortcode.
- Live exchange rates from the free Fawaz Ahmed Currency API. No API key is required.
- Exchange-rate responses are cached with the WordPress Transients API to reduce requests. The currency list is bundled locally so the settings page does not need a separate external request.
- Choose which currencies are available and set the default From and To currencies.
- Includes flag indicators, responsive layout, currency swapping, and configurable appearance options.
- Conversion amounts display with two decimal places and thousands separators, while exchange rates display with four decimal places.
- The plugin does not require an account or collect visitor information.
The exchange-rate service is provided by the Fawaz Ahmed Exchange API project:
https://github.com/fawazahmed0/exchange-api
External services
This plugin connects to the Fawaz Ahmed Currency API to retrieve live currency exchange rate data. This connection is necessary to show accurate conversion results in the currency converter widget.
What is sent:
When a conversion is requested, the plugin sends a server-side HTTP GET request from your web server to the Fawaz Ahmed Currency API. The request URL contains only the lowercase base currency code (for example, usd). No visitor personal data, names, email addresses, IP addresses, or any other user-identifying information is transmitted by the plugin.
When data is sent:
A request is made when a visitor clicks “Convert” and the plugin does not have a valid cached exchange rate for the selected base currency. Exchange-rate data is cached server-side using WordPress transients for up to one hour. No request is made during plugin installation, activation, or while browsing the admin settings page.
Request method:
Requests are made server-side via PHP (using WordPress’s wp_remote_get), not from the visitor’s browser. The visitor’s browser does not contact the currency API directly.
Primary endpoint:
https://latest.currency-api.pages.dev/v1/currencies/{currency}.min.json
Fallback endpoint:
https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies/{currency}.min.json
Service:
Fawaz Ahmed Currency API (also known as the Exchange API)
Project repository: https://github.com/fawazahmed0/exchange-api
Terms of Service:
This API is a free, open-source project distributed under a public-domain-equivalent license. The project does not publish a dedicated Terms of Service document. Please review the project README and license at: https://github.com/fawazahmed0/exchange-api
Privacy Policy:
This API is a free, open-source project and does not publish a dedicated Privacy Policy. The plugin does not send any personally identifiable information to the API. Please review the project repository for details: https://github.com/fawazahmed0/exchange-api
Pemasangan
- Upload the
borderless-currency-calculatorfolder to/wp-content/plugins/. - Activate the plugin through the “Plugins” screen in WordPress.
- Visit Settings > Borderless Currency Calculator to choose currencies and styling.
- Add the
[bccalc_currency_converter]shortcode to any page or post.
FAQ
-
Does this require an API key?
-
No. The Fawaz Ahmed Currency API does not require an API key for the exchange-rate data used by this plugin.
-
How are exchange rates fetched?
-
When a visitor clicks “Convert”, the plugin sends a server-side request (via WordPress’s wp_remote_get) from your web server to the Fawaz Ahmed Exchange API. Only the base currency code (e.g. “usd”) is included in the URL. No visitor personal data, IP addresses, or identifying information are sent by the plugin. The exchange-rate response is then cached using WordPress transients for up to one hour to reduce repeat requests.
-
The plugin tries the fallback endpoint. If both endpoints fail, the converter displays an error instead of breaking the page. Previously cached rates remain available until their cache expires.
-
How are numbers formatted?
-
Converted amounts use two decimal places and comma thousands separators, for example
1,000.00. The exchange-rate line uses four decimal places, for example1 GBP = 1.3383 USD.
Mācā ulang
There are no reviews for this plugin.
Contributors & Developers
“Borderless Currency Calculator” is open source software. The following people have contributed to this plugin.
KontributorTranslate “Borderless Currency Calculator” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Caathetan Owahan
1.0.0
- Initial WordPress.org submission release.


