fawazahmed0 / exchange-api

Free Currency Exchange Rates API with 200+ Currencies & No Rate Limits
https://github.com/fawazahmed0/exchange-api#readme
Creative Commons Zero v1.0 Universal
708 stars 46 forks source link

Delay when trying to retrieve the latest conversion rates from USD #73

Closed Megabyte94 closed 8 months ago

Megabyte94 commented 1 year ago

When I try to access the API with the url https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/usd.json, the .json field of the date has some delay and takes a time to update. But when I use https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur.json, converting from EUR, it updates a lot faster...

fawazahmed0 commented 1 year ago

the data is cached by jsdelivr. It will take few hours to show the updated values

Megabyte94 commented 1 year ago

the data is cached by jsdelivr. It will take few hours to show the updated values

OK, I understand. So, is the url https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur.json (EUR) the fastest to update compared to other currencies? Thanks.

fawazahmed0 commented 1 year ago

is the url https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur.json (EUR) the fastest to update compared to other currencies?

The simple answer is No.

If you want to fetch most recent values, consider using these urls: https://raw.githubusercontent.com/fawazahmed0/currency-api/1/latest/currencies/usd.json https://raw.githubusercontent.com/fawazahmed0/currency-api/1/latest/currencies/eur.json

Megabyte94 commented 1 year ago

Alright, thank you very much.

fawazahmed0 commented 8 months ago

currency-api has stopped working, Please read the migration guide