We're thrilled to announce that the Free Get Exchange Rates API has now been integrated into the currencylayer API.
To continue using our free API you can sign up here!

Quickstart Guide - currencylayer API

Integrating our former Get Exchange Rates API into the currencylayer API enables us to offer you real-time JSON rates for 168 currencies, reliable data sources and an accuracy of up to 6 decimal places for most exchange rates. This guide intends to get you up and running in just a few minutes.

Step 1 - Get your Free API Access Key

First of all: In order to be able to authenticate with the currencylayer API, you'll need to get a free API access key, which you'll later have to append to the API URL's access_key parameter.

Get a free API Access Key

Step 2 - Make an API Request

Next, you should get familiar with the API request URL structure.
This is an example API call requesting the latest available exchange rates via the API's live endpoint:

https://apilayer.net/api/live? // specify your API access key ? access_key = YOUR_ACCESS_KEY // specify the currency to which all other currencies are relative (optional) & source = USD // specify a limited set of currencies (optional) & currencies = GBP,EUR,JPY

The upper example query would make the currencylayer API return the following JSON response:

{ "success": true, "timestamp": 1434206110, "source": "USD", "quotes": { "USDGBP": 0.642674, "USDEUR": 0.888104, "USDJPY": 123.419998 } }

Step 3 - Integrate into your Application

Quite simple, right? All you need to do now is choose your preferred programming language and parse the JSON response.

There are code examples for PHP (cURL), jQuery.ajax and Java available in the official currencylayer API Documentation.

We'd highly recommend taking a look at the full API documentation.

Full API Documentation