Free Exchange Rate API & Widget

Live mid-market rates for 160+ currencies, plus a one-line currency converter you can drop into any website. Free tier — 300 requests/month, no credit card. Grab a free API key to get started.

Free API key 300 req/mo free 160+ currencies CORS enabled Mid-market rates

The rate endpoint

Make a GET request from a browser, server, or script. Pass your API key via the Authorization header (or ?key=):

GET https://exchange-rateapi.com/api/rate?source=USD&target=EUR
Authorization: Bearer era_live_your_key

Returns live mid-market rates as JSON:

{
  "data": {
    "rate": 0.87127,
    "source": "USD",
    "target": "EUR",
    "time": "2026-06-19T19:39:39+0000"
  }
}

List every supported currency with GET /api/v1/symbols. Every request needs a valid key and counts against your plan's monthly quota — get a free API key (300 requests/month).

Attribution (appreciated)

Attribution isn't required, but if you'd like to credit the data source, a visible link back to Exchange Rate API is always appreciated:

<a href="https://exchange-rateapi.com">Rates by Exchange Rate API</a>

Embed the currency converter

Paste this once, anywhere on your page. The widget loads live rates and renders in a shadow DOM (so it never clashes with your styles). Add your data-api-key (free at /register):

<div class="era-currency-widget" data-api-key="era_live_your_key" data-base="USD" data-target="EUR"></div>
<script async src="https://exchange-rateapi.com/widget.js"></script>

Options: data-base, data-target, data-amount, and data-theme="dark".

Prefer an iframe (works even where a strict CSP blocks third-party scripts)? Use the same-origin embed:

<iframe src="https://exchange-rateapi.com/embed/converter/?key=era_live_your_key&base=USD&target=EUR"
        style="border:0;width:400px;height:280px" title="Currency Converter"></iframe>

Ready to start?

A free API key includes 300 requests/month, live + historical rates, and a usage dashboard. Paid plans scale up when you need more.

Get Free API Key →