Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I may be asking an odd question, but webmasters seem like a decent place to post this.

I'm in the search for an accurate, easy API (such as using JSON or XML) so I can use my web application.

I've been trying Google's secret API, but it's dependency isn't that good because of parsing the string (weird JSON format that PHP sometimes return incorrect data or truncates the string due to parsing error, but Google's API is fair but can be improved.

So, all I'm asking is your current best currency API out there, I want to have them to include documented API so I can use it with PHP.


share|improve this question

closed as not constructive by John Conde Dec 18 '12 at 14:15

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Do you mean API or datasource? –  Peter Taylor Nov 15 '11 at 9:35

2 Answers 2

We looked at this for an implementation earlier this year. We considered 2:

European Central Bank


In the end, we went with XE, as we needed to support some currencies the ECB didn't have.

share|improve this answer

There's two ways:

  1. Try to use a free source and build extensive error-code, that may fall over at the moment the free source stops working (see the above ECB example)
  2. Use a paid service that takes the hassle away from you. There are several services out there like XE.com (expensive, difficult API), Oanda (less expensive, but crappy API) and easier services like http://www.xchangeonline.com - relatively cheap, very easy API, but no historical or live rates

Good luck

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.