Live Demo

Categories

Conversion APIs

API Provider

APILayer
APILayer

Developer links

Fixer API

Fixer API

Foreign exchange rates and currency conversion JSON API.

Powered by 15+ exchange rate data sources, the Fixer API is capable of delivering real-time exchange rate data for 170 world currencies. The API comes with multiple endpoints, each serving a different use case. Endpoint functionalities include getting the latest exchange rate data for all or a specific set of currencies, converting amounts from one currency to another, retrieving Time-Series data for one or multiple currencies and querying the API for daily fluctuation data.

Available Endpoints

  • /symbols Returns all available currencies.
  • /latest Returns real-time exchange rate data for all available or a specific set of currencies.
  • /convert Allows for conversion of any amount from one currency to another.
  • /{date} Returns historical exchange rate data for all available or a specific set of currencies.
  • /timeseries Returns daily historical exchange rate data between two specified dates for all available or a specific set of currencies.
  • /fluctuation Returns fluctuation data between two specified dates for all available or a specific set of currencies.

Supported Symbols

The Fixer API comes with a constantly updated endpoint returning all available currencies. To access this list, make a request to the API's symbols endpoint.


{
  "success": true,
  "symbols": {
    "AED": "United Arab Emirates Dirham",
    "AFN": "Afghan Afghani",
    "ALL": "Albanian Lek",
    "AMD": "Armenian Dram",
    [...] 
    }
}

Tips

To reduce bandwidth you can limit the number of output currencies to a specific set of your choice on most API endpoints. To do so, simply append the Fixer API's symbols parameter to your API request and set it to one or more comma-separated currency codes.


curl --request GET 'https://api.apilayer.com/fixer/latest?base=USD&symbols=EUR,GBP' \
--header 'apikey: YOUR API KEY'

It is also possible to convert currencies using historical exchange rate data. To do this, please also use the API's date parameter and set it to your preferred date. (format YYYY-MM-DD)


curl --request GET 'https://api.apilayer.com/fixer/convert?base=USD&symbols=EUR,GBP,JPY&amount=5&date=2018-01-01' \
--header 'apikey: YOUR API KEY'

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

Free Plan

No credit cards required
100 Requests / Daily, 100 Requests / Monthly

Gold Plan

Monthly subscription
300 Requests / Daily, 10,000 Requests / Monthly

Diamond Plan

Monthly subscription
3,000 Requests / Daily, 100,000 Requests / Monthly

Platinum Plan

Monthly subscription
15,000 Requests / Daily, 500,000 Requests / Monthly

Custom Plan

Monthly subscription
Fully customizable
170 World Currencies
Currency Conversion Endpoints
Trusted Sources
Historical Data
 

Ready to try it out?

We offer a free plan. No credit cards required!


or see documentation

See Also

View All

Are you an API developer?

Market your API on APILayer and start making money now!