JSON API for foreign exchange rates and currency conversion

Availability Throughput Response time 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) { var rate = fx(1).from("GBP").to("USD") alert("£1 = $" + rate.toFixed(4)) } $.getJSON("", function(data) { fx.rates = data.rates 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. The API comes with no warranty.