Widgets & integrations
Add live rates to any site or spreadsheet — no backend, no API key for the widget and badges.
Currency converter widget
<div data-rate-api-widget data-from="USD" data-to="EUR" data-theme="light" data-amount="100"></div>
<script src="https://new.rate-api.com/widget.js" async></script>Paste the embed into any HTML — WordPress (Custom HTML block), Webflow, a blog, anywhere.
Live rate badge
Google Sheets / Excel
In Google Sheets: Extensions → Apps Script, paste the function below, save, then use=RATEAPI("USD","EUR",100) in any cell. (Replace YOUR_API_KEY.)
function RATEAPI(from, to, amount) {
amount = amount || 1;
var key = 'YOUR_API_KEY';
var url = 'https://rate-api.com/api/v1/' + key + '/convert?from=' + from + '&to=' + to + '&amount=' + amount;
var data = JSON.parse(UrlFetchApp.fetch(url).getContentText());
return data.result;
}Postman
Download Postman collection
Then in Postman: Import → the downloaded file. Set the apiKey variable to your key.