Sign Up

Log In


By apilayer
Updated 11 hours ago
Popularity Score
Success Rate

currencylayer API Documentation

Currencylayer provides an easy-to-integrate REST API with real-time and historical exchange rates for 168 world currencies and precious metals, delivered in lightweight and highly portable JSON format and compatible with any application, framework or language.

Sign up for your free API Access Key at

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
GET"live" endpoint - request the most recent exchange rates
GET"historical" endpoint - request exchange rates for a specific date
GET"convert" endpoint - convert any amount from one currency to another
GET"timeframe" endpoint - request exchange rates for a specified timeframe
GET"change" endpoint - request a currency's change parameters
GET"list" endpoint - obtain a JSON list of all supported currencies
GET"live" endpoint - request the most recent exchange rates

Making a request to the API's "live" endpoint will return the most recent exchange rate data available.


Access the currencylayer API by appending your unique Access Key.

Sign up to test this endpoint
Log in
Header Parameters
Required Parameters
REQUIREDThis is your unique API Access Key
Optional Parameters
OPTIONAL"source" - the currency to which all other exchange rates are relative ("Source Currency")
OPTIONAL"currencies" - request only specific currencies (e.g. EUR,CAD,GBP)
Request Snippet
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
Sample Response


Log inSign up

Install SDK for NodeJS


To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard