UniRate Widgets

Free embeddable currency conversion widgets for your website. No API key required!

Quick Start

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!

1. Simple Currency Converter

A classic two-currency converter with amount input and swap button.

Live Demo

HTML Code

<div id="unirate-converter"
     data-from="USD"
     data-to="EUR"
     data-amount="100">
</div>

Example Output

Interactive widget with:
  • • Amount input field
  • • "From" currency dropdown
  • • Swap currencies button (⇅)
  • • "To" currency dropdown
  • • Live conversion result

2. Currency Calculator

Convert one currency to multiple target currencies at once.

Live Demo

HTML Code

<div id="unirate-calculator"
     data-base="USD"
     data-amount="100"
     data-currencies="EUR,GBP,JPY,CAD,AUD">
</div>

Example Output

Shows:
  • • Amount + base currency input
  • • Conversion to EUR: 85.00
  • • Conversion to GBP: 73.00
  • • Conversion to JPY: 14,500
  • • Conversion to CAD: 135.00
  • • Conversion to AUD: 148.00
  • • Updates in real-time

3. Exchange Rate Table

Display current exchange rates in a clean table format.

Live Demo

HTML Code

<div id="unirate-table"
     data-base="USD"
     data-currencies="EUR,GBP,JPY,CAD,AUD,CHF">
</div>

Example Output

Table with columns:
  • • Currency | Rate | Amount
  • • EUR | 0.8500 | 1 USD = 0.85 EUR
  • • GBP | 0.7300 | 1 USD = 0.73 GBP
  • • JPY | 145.00 | 1 USD = 145.00 JPY
  • • Dropdown to change base currency
  • • Clean, sortable layout

4. Currency Badge

Compact inline display of a single currency pair rate.

Live Demo

HTML Code

<div id="unirate-badge"
     data-from="USD"
     data-to="EUR"
     data-amount="1">
</div>

Example Output

Compact badge showing:
  • • "1 USD = 0.85 EUR"
  • • Minimal, inline design
  • • Perfect for sidebars
  • • Auto-updates rate

5. VAT Calculator

Calculate VAT (Value Added Tax) for different countries.

Live Demo

HTML Code

<div id="unirate-vat"
     data-country="DE">
</div>

Example Output

Shows for Germany (19%):
  • • Country dropdown selector
  • • Price input field (excl. VAT)
  • • VAT Rate: 19%
  • • Price (excl. VAT): 100.00
  • • VAT Amount: 19.00
  • • Price (incl. VAT): 119.00

6. Travel Budget Calculator

Perfect for travel websites - shows currency conversion plus VAT information.

Live Demo

HTML Code

<div id="unirate-travel"
     data-from="USD"
     data-to="EUR">
</div>

Example Output

For $1000 USD to France:
  • • Budget + currency inputs
  • • Destination currency selector
  • • Country selector (optional)
  • • You'll have: 850.00 EUR
  • • VAT Rate in France: 20%
  • • Purchasing Power: 708.33 EUR

Features

  • 100% free to use - no API key required
  • Rate limited to 60 requests per minute per IP
  • Real-time exchange rates from multiple sources
  • Responsive design - works on mobile and desktop
  • Dark mode support (respects user preferences)
  • Lightweight and fast loading
  • Self-contained styling - won't conflict with your site

Need More Power?

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 API

Need Custom Implementation?

Not technical or don't have time to integrate? We offer professional widget implementation and customization services.

  • ✓ Custom widget design to match your brand
  • ✓ Professional installation on your site
  • ✓ Feature customization and support
  • ✓ Fast turnaround (24-48 hours)
Get a Quote