Fixer.io

JSON API for foreign exchange rates and currency conversion

logo

Fixer.io 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.

Usage

Get the latest foreign exchange reference rates in JSON format.

http://api.fixer.io/latest

Get historical rates for any day since 1999.

http://api.fixer.io/2000-01-03

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

http://api.fixer.io/latest?base=USD

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

http://api.fixer.io/latest?symbols=USD,GBP

Make cross-domain JSONP requests.

http://api.fixer.io/latest?callback=?

An HTTPS endpoint is available.

https://api.fixer.io/latest

Use money.js in the browser.

$.getJSON('http://api.fixer.io/latest', 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. 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.