Currency Data API

Currency Data API

Reliable Exchange Rates & Currency Conversion for your Business.

Response example. If you want to see more check the documentation.

Free Plan $0.00 Monthly Subscribe
100 Requests / Monthly
Free for Lifetime
No Credit Card Required
MOST POPULAR
Starter Plan $14.99 Monthly Subscribe
10,000 Requests / Monthly
Standard Support
Pro Plan $59.99 Monthly Subscribe
100,000 Requests / Monthly
Standard Support
Enterprise Plan $99.99 Monthly Subscribe
500,000 Requests / Monthly
Standard Support
Custom Plan Volume Monthly Contact Us
Any requests volume you need

Currency Data API provides a simple REST API with real-time and historical exchange rates for 168 world currencies, delivering currency pairs in universally usable JSON format - compatible with any of your applications.

Spot exchange rate data is retrieved from several major forex data providers in real-time, validated, processed and delivered hourly, every 10 minutes, or even within the 60-second market window.

Providing the most representative forex market value available ("midpoint" value) for every API request, the Currency Data API API powers currency converters, mobile applications, financial software components and back-office systems all around the world.

Available Endpoints

  • /list Returns all available currencies.
  • /live Get the most recent exchange rate data.
  • /convert Convert one currency to another.
  • /historical Get historical rates for a specific day.
  • /timeframe Request exchange rates for a specific period of time.
  • /change Request any currency's change parameters (margin, percentage).

Supported Symbols

The Currency Data API comes with a constantly updated endpoint returning all available currencies. To access this list, make a request to the API's list 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/currency_data/live?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/currency_data/convert?base=USD&symbols=EUR,GBP,JPY&amount=5&date=2018-01-01' \
--header 'apikey: YOUR API KEY'
4.75
  • Review rating
  • Review rating
  • Review rating
  • Review rating
  • Review rating
API rating
kank Akiyama
1 years ago

kank Akiyama

  • Review rating
  • Review rating
  • Review rating
  • Review rating
  • Review rating

Please continue this service for a long time.

mi...@...es.dk
1 years ago

[email protected]

  • Review rating
  • Review rating
  • Review rating
  • Review rating
  • Review rating

Great product! Would though be nice to be able to fetch the average from the previous month on a specified currency.

Bisam Hussain
1 years ago

Bisam Hussain

  • Review rating
  • Review rating
  • Review rating
  • Review rating
  • Review rating

good it is very much faster and cool

Boris Štofik
1 years ago

Boris Štofik

  • Review rating
  • Review rating
  • Review rating
  • Review rating
  • Review rating

Works perfect and fast! :)

Depending on which API endpoint you are using for your query, the currencylayer API will return or calculate with the most representative forex market rate available, which is generally the ""midpoint"" value. The ""mid"" value will also be the most useful tool to your company's financial department for accounting & invoicing purposes, for financial estimates or planning, for calculator & converter applications, and for any other applications you power with currencylayer forex data. All exchange rates are returned as currency pairs. (See API Response)
Currencylayer provides a JSON-based REST API, delivering reliable and accurate currency exchange rates for 168 world currencies and precious metals at an affordable price, which makes it the perfect instrument for startups and online businesses, as well as for larger companies in need of reliable financial data via an easy to use interface. The currencylayer API is widely used to power financial departments, mobile applications and back-office systems around the world.
The currencylayer API is a product built and maintained by apilayer, a technology company aiming to build a variety of reliable and essential data interfaces (APIs) and make them affordable for both startups and larger companies. apilayer GmbH is headquartered in Vienna, Austria.
Our spot exchange rates are sourced from a very broad base of commercial sources and banks around the world, each of varying types and frequencies. The larger weighting particularly for major currencies is towards commercial sources as they more accurately reflect the trading occurring in the markets. In order to ensure the highest possible level of data coverage and accuracy, the currencylayer system relies on a very distinct “validation and fallback” algorithm, assigning different priorities to each data source and validating each forex rate as it enters our databases. If a source fails to deliver an accurate quote, the next highest provider is queried for this particular currency pair. This enables us to sort out possible inaccuracies and provide the vast majority of all spot exchange rates with a precision of six decimal places.
Spot exchange rate data is collected within the 60-second market window. Depending on your Subscription Plan, quotes are refreshed every day (Free Plan), every 60 minutes (Basic Plan), 10 minutes (Professional Plan), or 60 seconds (Business Plan).
The currencylayer API provides real-time and historical data for a total of 168 world currencies and precious metals (including Gold "XAU" & Silver "XAG"). See a detailed list of all supported currencies.
The previous day's historical exchange rates become available each day at 00:05 AM GMT (12:05 AM London time). However, to allow for reverse rate conversions and consistent comparisons, all rates are time stamped at 23:59:59 GMT. All timestamp values returned by the API are standard UTC timestamps.