💰 goexrates

A foreign exchange rates and currency conversion API that exposes data published by the European Central Bank.

The rates are updated daily around 16:00 CET.

https://github.com/lmikolajczak/goexrates

Usage

Get the latest foreign exchange reference rates in JSON format:

GET /api/v1/latest

Get historical rates for any day since 1999-01-04:

GET /api/v1/historical/2008-03-18

Quote against a different base currency:

GET /api/v1/latest?base=USD

Request specific exchange rates:

GET /api/v1/latest?codes=USD,GBP

Response format

{
  "base": "EUR",
  "date": "2021-05-05",
  "rates": {
    "AUD": 1.4832,
    "PLN": 4.2173,
    "MYR": 4.7543,
    "USD": 1.0961,
    "...": "[41 world currencies]"
  }
}