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.


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
  • Had the same issue. ECB did not provide sufficient data for me, and XE was simply too expensive. Check out currencylayer.com - they seem most suitable for Startups, and offer a Free Plan without any obligations or time limits... – Mortimer May 21 '15 at 9:13

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

European Central Bank

  • refer : ECB
  • free
  • lists exchange rates against the Euro
  • Limited number of currencies


  • refer : XE
  • USD540 a year for daily lookups
  • available for a variety of base currencies
  • very wide currency support

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

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