To use the api you must provide your API key in all requests in the querystring with the apikey in the querystring ?apikey=.
Our API endpoint is:
http://api.exchangeratelab.com
Most API functions should be called with GET requests. Please note that some functions are reserved for users who have subscribed.
To retrive a list of current exchange rates
http://api.exchangeratelab.com/api/current?apikey=YOURKEY
This will return a list of current rates, with USD as the base currency. This data can be used to convert to a different currency.
[ { "rate": 1.2843215, "from": "USD", "to": "AUD" }, { "rate": 1.2407575, "from": "USD", "to": "CAD" }, { "rate": 0.738492, "from": "USD", "to": "EUR" }, { "rate": 0.726395, "from": "USD", "to": "GBP" }, { "rate": 119.490002, "from": "USD", "to": "JPY" } ]
To find out more about using our API's please use the menu on the left.
"Authorization will be denied" if the API key is not provided.