Answer the question
In order to leave comments, you need to log in
Where can I get current exchange rates?
Tell me a service where you can take exchange rates in relation to each other through JSON, XML.
interested in the current exchange rates USD/EUR USD/RUR EUR/RUR.
With the Central Bank, if you take it, then the same course can hang there for a couple of days.
ps Parse the issuance of some site option) but the latest.
Thank you.
Answer the question
In order to leave comments, you need to log in
here?
The Central Bank, of course, but it seems to change every day judging by the dollar exchange rate
I tried various options and settled on this one:
https://query.yahooapis.com/v1/public/yql?q=select...
The limit is 2000 requests per hour from one IP, if you do not update the rate every second, it will be enough. Supports XML, JSON, JSONP
UPD: Unfortunately, this service has stopped working at the moment, sorry(
Take from the European Central Bank: www.ecb.int/stats/eurofxref/eurofxref-daily.xml
josscrowcroft.github.com/open-exchange-rates/ belated but important ;)
In a text file, the form can be obtained from here
. Only you need to fill in the form with JS and leave the last line of the file. (Or calculate the address of the "redirect") But without lagging behind and updated every minute.
On the Central Bank for a couple of days, the same rate hangs only on weekends. For the weekend rate does not change.
On the website of the Central Bank of the Russian Federation in XML format or all the same in JSON format on the mirror .
The Central Bank of the Russian Federation has very strict limits on the number of requests. Even if you only load once an hour, you can stumble upon them. It is better to study the pair of courses you are interested in when exactly it is updated, and download exactly at that time. Some are updated in the morning, others in the afternoon. If you are too lazy to study, then download from the mirror. There, too, if there are limits on the number of hits: you need to save the course data on disk so as not to access the service every time.
Greetings!
If you need hryvnia exchange rates, then information about exchange rates can be freely taken from the official NBU server without restrictions, because. recently launched API
www.roomian.org/ukraine-news/na-saite-nbu-poyavils...
XML from the official website of the Central Bank of the Russian Federation www.cbr.ru/scripts/Root.asp?Prtid=SXML
For Ukraine PrivatBank API (exchange rates and precious metals) https://link.privatbank.ua/console/wiki/p24busines...
CurRate.ru Required currencies can be requested in personal account
https://www.forexrates.net/widgets/forex-rates-widget for example.
You can put a widget on your site. But is it possible to send requests with a php script and form a page \ file in a form convenient for processing.
upd
Here is another
https://partners.instaforex.com/en/quotes_descript...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question