Free embeddable currency conversion widgets for your website. No API key required!
Add these two lines to your HTML to get started:
<link rel="stylesheet" href="https://unirateapi.com/lander/static/css/unirate-widgets.css">
<script src="https://unirateapi.com/lander/static/js/unirate-widgets.js"></script>
Then add a div with the appropriate ID to create a widget. See examples below!
A classic two-currency converter with amount input and swap button.
<div id="unirate-converter"
data-from="USD"
data-to="EUR"
data-amount="100">
</div>
Convert one currency to multiple target currencies at once.
<div id="unirate-calculator"
data-base="USD"
data-amount="100"
data-currencies="EUR,GBP,JPY,CAD,AUD">
</div>
Display current exchange rates in a clean table format.
<div id="unirate-table"
data-base="USD"
data-currencies="EUR,GBP,JPY,CAD,AUD,CHF">
</div>
Compact inline display of a single currency pair rate.
<div id="unirate-badge"
data-from="USD"
data-to="EUR"
data-amount="1">
</div>
Calculate VAT (Value Added Tax) for different countries.
<div id="unirate-vat"
data-country="DE">
</div>
Perfect for travel websites - shows currency conversion plus VAT information.
<div id="unirate-travel"
data-from="USD"
data-to="EUR">
</div>
These widgets are perfect for basic use cases. If you need higher rate limits, historical data, or want to build your own custom integrations, check out our full API.
Explore Full APINot technical or don't have time to integrate? We offer professional widget implementation and customization services.