I have a requirement in my application to fetch the currencies conversion rates on a daily basis with a Base Currency KWD . I have checked Yahoo finance ( and few other free providers) for the same. But yahoo shows default base currency as USD or need currency pairs( basecurrency-convertingcurrecy) format. For example :
`https://finance.yahoo.com/webservice/v1/symbols/allcurrencies/quote?format=json`
( all currencies with default base currency USD - can we change this? ) then other option like having pairs as below using YQL in console , select * from yahoo.finance.xchange where pair in ("USDKWD,GBPKWD") which generates a url like
https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.xchange%20where%20pair%20in%20(%22USDMXN%22%2C%22KWDUSD%22)&format=json&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=
which is a clumsy url . Do we have any options to fetch All the currency rates with KWD as base currency.
One more option I had checked is which looks pretty handy but don't know whether the base currency can be changed in the free version and whether it supports all currencies . Appreciate any thoughts shared on regarding the same. Thanks in advance.
If you have to do it using Yahoo Finance only then using YQL is the only way, so you'll end up with something like this:
The terms allow usage of 2000 requests per hour per IP so if you are targetting more than that then you'll have to request an API key.
Do check this out for a community curated list of alternate paid and free APIs available.
Fixer.io API is a free one too but it doesn't support KWD as a base.