JSON API for foreign exchange rates and currency conversion

logo is a free JSON API for foreign exchange rates, based on the daily and historical feeds provided by the European Central Bank.


Get the latest foreign exchange reference rates in JSON format.

curl ""

Get historical rates for any day since 1999.

curl ""

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

curl ""

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

curl ",GBP"

Make cross-domain JSONP requests.

curl ""

An HTTPS endpoint is available.

curl "" works great in the browser with money.js.

$.ajax({ dataType: 'jsonp', url: '', success: function(data) { fx.rates = data.rates; demo(); } }); var demo = function() { var rate = fx(1).from('GBP').to('USD'); var rounded = Math.round(rate * 100) / 100; alert('£1 is worth US$' + rounded + ' today.'); }

This API comes with no warranty.