Exchange rate for converting product price

gemplan
New Member
4 0 2

Hi. I am developing an app. There are three currencies on the site ILS, USD, EUR. The main currency is ILS. I use php ShopifySDK to get products. The price of the products always comes back in ILS and I need to convert it to USD or EUR. I find file from where I can take Exchange rate(https://cdn.shopify.com/s/javascripts/currencies.js) but it seems that the data in the file has not been updated for a long time because Exchange rates from this file and rates from store settings are not the same.
My question is where I can get the right Exchange rate for converting product price from ILS to USD or UER?
Thank you!