问题
Anyone know of a real-time currency rate webservice with frequent update (multiple pr. min.). Needed for a small android app I'm building, so needs to be free.
回答1:
You can try Yahoo. It is free and easy to use.
For example, to convert from GBP to EUR: http://download.finance.yahoo.com/d/quotes.csv?s=GBPEUR=X&f=sl1d1t1ba&e=.csv
gives you data in csv format which can easily be parsed.
回答2:
I would recommend European Central Bank. They provide a daily xml feed, nice and simple.
http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml
回答3:
Have you tried with http://openexchangerates.org ?
You can use it's The Forever Free Plan with following features provided.
Hourly rate updates
Daily historical data
1,000 API requests per month
回答4:
Real time financial services are usually not available for free. You will find a lot of delayed services ( tipically 15 min ) for free, but you have to make sure licensing allow you to use it in your own application as well.
回答5:
you have some webs where you can take this information. The problem... usually you need pay for this service. Same examples :
- http://www.xignite.com
- http://fxtrade.oanda.co.uk/trade-forex/api/
- http://forex-automatic-trading-systems.com/developers/api.htm
- http://forexfeed.net/developer/php-forex-data-feed-api
回答6:
I would suggest Mondor's web service, especially the WebAPI one. Not free, but could be about 5$ per year, depending from your architecture. Anyway, here's the link: http://mondor.org
来源:https://stackoverflow.com/questions/4873873/realtime-currency-webservice