Hi Scanbhutan,
after some research I have managed to get a list of all available exchange rate JSON APIs together - which one to use really depends on your requirements and budget, I’ll list them depending on price:
HIGH BUDGET
There are several gold-standard APIs like:
-
Oanda API - daily refreshed rates, or live raw data-feed
-
XE API - refreshed daily or every minute, returns XML JSON and CSV
-
Xignite API - refreshed in real-time, returns XML JSON and CSV
Most of them source their data directly from the forex market - this is why you’ll be paying between $1000 and $12000 a year, depending on how up-to-date your exchange rates are.
LOW BUDGET / FREE
You’re building an app, so you and any startups / online businesses would most likely be better advised to take a look at one of the following two services:
1. currencylayer API (https://currencylayer.com)
They are offering a Free Plan that lets you make 1,000 requests a month using hourly updates. Paid subscriptions offer higher usage allowances and more features, and start at around $10 / month.
Specs:
- simple JSON REST API
- suitable for businesses (reliable data sources)
- 168 currencies & precious metals
- refreshed hourly, every 10 minutes or every 60 seconds
- well-documented API
The API is called via a simple URL structure, and returns a lightweight JSON response:
{ [...] "timestamp": 1432808468, "source": "USD", "quotes": { "USDAUD": 1.305773, "USDCAD": 1.24895, "USDCHF": 0.945965, "USDEUR": 0.913659, "USDGBP": 0.652842, } }
2. Free Currency Converter API (http://freecurrencyconverterapi.com)
Entirely free service, additionally offering a web-interface to convert currencies or to try out their API. They are an Open-Source service for developers aiming for developers to get an idea about how currency conversion can work using a JSON API
3. Open Exchange Rates API
Similar to the currencylayer API, they also offer a Free Plan, but I have found their User Interface to offer less functionality (e.g. up- or downgrading, etc). Paid subscriptions start at $12 / month.
Specs :
- JSON API
- 165 currencies
- refreshed hourly or every 10 minutes
Hope I could help!