- Home
- API
JSON REST API Xurrency
What is API Xurrency?
Xurrency provides developers with direct access to exchange rate information. Now you can integrate the data into your site directly from Xurrency or allow people to query the exchange rate. The API is based in JSON, a simple machine-readable data-interchange format.
Usage
Xurrency API requires the use of an API Key in order to access to its data. If you want to adquire a license key, please click here.
Format
http://xurrency.com/api/{base}/{target}/{amount}?key={apikey}
- base = eur, gpb, usd, ... (Full currency list)
- target = eur, gpb, usd, ... (Full currency list)
- amount = 0, ..., 999999999
- apikey = Get an API Key
Historical rates
Now you can also get historical rates for your selected currencies. Just add the date parameter to your request. For example:
http://xurrency.com/api/eur/usd/1?key={apikey}&date=20101231
The date parameter has the following structure: yearmonthday (altogether).