frankfurter
frankfurter copied to clipboard
/2020-01-01 returns data for 2019-12-31
HTTP GET https://api.frankfurter.app/2020-01-01 returns the incorrect date:
{
"amount": 1.0,
"base": "EUR",
"date": "2019-12-31",
"rates": {
"AUD": 1.5995,
"BGN": 1.9558,
"BRL": 4.5157,
"CAD": 1.4598,
"CHF": 1.0854,
"CNY": 7.8205,
"CZK": 25.408,
"DKK": 7.4715,
"GBP": 0.8508,
"HKD": 8.7473,
"HRK": 7.4395,
"HUF": 330.53,
"IDR": 15596,
"ILS": 3.8845,
"INR": 80.19,
"ISK": 135.8,
"JPY": 121.94,
"KRW": 1296.28,
"MXN": 21.22,
"MYR": 4.5953,
"NOK": 9.8638,
"NZD": 1.6653,
"PHP": 56.9,
"PLN": 4.2568,
"RON": 4.783,
"RUB": 69.956,
"SEK": 10.4468,
"SGD": 1.5111,
"THB": 33.415,
"TRY": 6.6843,
"USD": 1.1234,
"ZAR": 15.7773
}
}
This seems to apply to all request for 1st of Jan. https://api.frankfurter.app/2020-01-02 works fine.
@dabruh FYI
first of Jan. of each year is a closing day, so it's not updated and it returns the data according to ECB doc, so the 31/12 of the previous year