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 liquidity, 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.
However, please be aware that no warranties can be made regarding accuracy and all data is provided for informational purposes only. Be sure to read the Terms & Conditions before subscribing to this service or using the API.
Spot exchange rate data is collected within the 60-second market window. Depending on your Subscription Plan, quotes are refreshed every 60 minutes (Free & Basic Plan), 10 minutes (Professional Plan), or 60 seconds (Enterprise Plan).
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)
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.
Yes. Real-time exchange rate data for Bitcoin (listed as BTC) is available via every API Endpoint. However, please be aware that, at this stage, historical Bitcoin data is only available from 2012-12-10 onwards.
Every registered user is assigned a personal Access Key, a unique "password" that can be used to access and query the currencylayer API. If you are logged in, you can find it in your Account Dashboard, in the 3-Step Quickstart Guide, and in all interactive links contained in the API's Documentation.
In your Account Dashboard you can reset your Access Key at any given time.
In order to make an API Request, you are required to attach your Access Key to any valid API endpoint, e.g: https://apilayer.net/api/live?access_key=YOUR_ACCESS_KEY
Pricing is based on the number of monthly API Requests offered for each individual Subscription Plan. Accessing any type of currencylayer forex data using a valid API Access Key counts as one "API Request". Unlike most other providers, any API Endpoint or feature requested (including Time-Frame & Currency-Change Queries, as well as requesting multiple currencies at once) counts as only one API Request.
Users will be automatically notified via e-mail and on their Account Dashboard once at least 75%, 90%, and 100% of their monthly API Request allowance has been reached.
Since our team is aware that data requirements may be very variable, a Subscription Plan's Request volume may be exceeded by a maximum of 20%, which means that the actual hard-limit of - e.g. - the Professional Plan is 120,000, instead of 100,000.
Please rest assured that exceeding the monthly API Request allowance will not cause any additional charges.
The currencylayer API's system status is being closely monitored around the clock. Since every effort is made to ensure the highest possible level of consistency, we are happy to announce that our API's uptime is at around 99.9%. At the current stage we are not offering any public statistics, but we will be happy to provide you with recent uptime reports - ask us »
Yes. Using the API's change endpoint, you may request the change parameters (both margin and percentage) for one or more currencies, relative to a Source Currency, optionally within a specified time-frame.
The Free Plan is set out to be a "trial version" without a time limit, offering some very basic API functionialities, such as making API Requests, getting regular data updates, accessing historical data, and requesting specific currencies.
Paid Subscription Plans feature significantly higher API Request volumes and data updates as often as every 60 seconds, ensure secure datastreams via 256-bit HTTPS Encryption, include unlimited and prioritised technical support, and offer a variety of must-have API functionalities.
As soon as you or your application requires more than 1,000 API Requests per month and more professional API functionality (e.g. for powering a currency converter, for accounting & invoicing purposes, for financial planning, estimates, shopping carts, etc.), you would be well-advised to sign up for one of the paid Subscription Plans, starting at Startup-friendly USD 9.99 per month, or at a 20% discount - if you decide to pay anually.
There are two ways to change your payment frequency:
Change it manually 1. Downgrade your subscription to the Free Plan. (don't worry, your current Subscription Plan will remain active until the end of the current billing period) 2. Once the current billing period has ended, hence, once you are subscribed to the Free Plan, upgrade back to your preferred Subscription Plan - you will be asked to choose a new payment frequency.