You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See notice in the faq section called "Response showing old date" (#55)
API requests are cached by default. You can try to add an additional parameter &v=_actual_date_ in the query, where _actual_date_ enter the day in the format for example Y-m-d (or you can add only hour value).
Hi, depending on the base currency, the response features an old date.
Here, everything is fine:
https://api.exchangerate.host/latest -> 2021-06-17
However, with
USD
andEUR
the date is old:https://api.exchangerate.host/latest?base=USD -> 2021-06-13
https://api.exchangerate.host/latest?base=EUR -> 2021-06-14
But that's only the case with the default source. Take
ecb
,boc
orrba
and it's up-to-date, again:https://api.exchangerate.host/latest?base=USD&source=ecb -> 2021-06-17
https://api.exchangerate.host/latest?base=USD&source=boc -> 2021-06-17
https://api.exchangerate.host/latest?base=USD&source=rba -> 2021-06-17
https://api.exchangerate.host/latest?base=EUR&source=ecb -> 2021-06-17
Can you look into this?
The text was updated successfully, but these errors were encountered: