Foreign exchange rates and currency conversion API

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 4PM 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 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") alert("£1 = $" + rate.toFixed(4)) } $.getJSON("", demo)
  1. The API runs on Digital Ocean.
  2. The SSL/TLS certificate is provided by Let's Encrypt.
  3. Check out the source code on GitHub.
  4. Fetch the data sets on ECB.
  5. The API comes with no warranty.