JSON API for foreign exchange rates and currency conversion

logo is a free JSON API for current and historical foreign exchange rates published by the European Central Bank.

The rates are updated daily around 3PM CET.


Get the latest foreign exchange reference rates in JSON format.

Get historical rates for any day since 1999.

Rates are quoted against the Euro by default. Quote against a different currency by setting the base parameter in your request.

Request specific exchange rates by setting the symbols or currencies parameter.,GBP

Make cross-domain JSONP requests.

An HTTPS endpoint is available.

Use money.js in the browser.

var demo = function(data) { fx.rates = data.rates var rate = fx(1).from("GBP").to("USD") var rounded = Math.round(rate * 100) / 100 alert("£1.00 = $" + rounded) } $.getJSON("", demo)
  1. The API is hosted on Digital Ocean.
  2. The source code of the API and this page is available on GitHub.
  3. The data source is available on ECB.
  4. We monitor the uptime of the API with UptimeRobot.
  5. While up and running since 2012, the API comes with no warranty.