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.


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.

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