Exchangr - Forex Rates API

Exchangr - Forex Rates API

GetExchangr is a JSON-based REST API that provides dependable and precise currency exchange rates for 172 global currencies. It offers affordability without compromising on the quality of data, making it an ideal choice for businesses and developers seeking reliable currency conversion solutions.

About the API:

GetExchangr is a comprehensive JSON-based REST API that offers a reliable and accurate solution for obtaining currency exchange rates for 172 global currencies. With its user-friendly interface and robust functionality, GetExchangr is the go-to choice for businesses, developers, and financial institutions seeking seamless integration of currency conversion capabilities into their applications and systems.

One of the standout features of GetExchangr is its unwavering commitment to data accuracy. The API leverages trusted and up-to-date sources to provide the most precise and reliable exchange rates available. This ensures that businesses and developers can confidently rely on GetExchangr to accurately convert currency values, eliminating the risk of errors or miscalculations that could have significant financial implications.

Affordability is another key aspect of GetExchangr. The API offers its exceptional currency exchange rate data at a cost-effective price point, making it accessible to businesses of all sizes and budgets. GetExchangr understands the importance of delivering value to its users, and its competitive pricing structure reflects this commitment.

Integration with GetExchangr is seamless and hassle-free. The API follows the REST architectural style, utilizing JSON as its data format. This allows for straightforward integration into a wide range of applications and programming languages. Whether you are building a mobile app, e-commerce platform, financial management system, or any other application that requires currency exchange functionality, GetExchangr provides the necessary tools and resources to ensure a smooth integration process.

GetExchangr supports a comprehensive range of 172 world currencies, including major currencies such as USD, EUR, GBP, JPY, and CAD, as well as lesser-known or exotic currencies. This broad coverage ensures that businesses operating on a global scale can confidently cater to their diverse customer base, regardless of their location or currency preference.

The API also offers flexibility in terms of data retrieval. Users can access real-time exchange rates, historical exchange rate data, or even perform currency conversions based on specific dates or timeframes. This level of flexibility empowers businesses to analyze currency trends, perform financial calculations, and generate accurate reports.

In summary, GetExchangr is a JSON-based REST API that provides businesses, developers, and financial institutions with reliable, accurate, and affordable currency exchange rate data for 172 global currencies. With its commitment to data accuracy, competitive pricing, seamless integration, and comprehensive currency coverage, GetExchangr is the ideal solution for those seeking a dependable currency conversion API to enhance their applications and systems.


What this API receives and what your API provides (input/output)?

Depending on which API endpoint you use for your query, the Exchange 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 Exchangr forex data. All exchange rates are returned as currency pairs.


What are the most common uses cases of this API?


  1. E-commerce Platforms: E-commerce platforms can integrate GetExchangr API to provide real-time currency conversion for international customers. By dynamically displaying prices in the local currency of each customer, it enhances the shopping experience and eliminates any confusion or conversion errors during the checkout process.

  2. Travel and Hospitality Applications: Travel and hospitality applications can utilize GetExchangr API to assist travelers in converting currency while planning trips or making bookings. By offering up-to-date exchange rates, users can easily calculate costs, make informed decisions, and ensure accurate budgeting for accommodations, transportation, and other expenses in foreign currencies.

  3. Financial Management Systems: Financial management systems can benefit from GetExchangr API by incorporating automatic currency conversion features. Businesses operating globally can accurately track and manage finances across multiple currencies, enabling seamless reporting, budgeting, and analysis. This simplifies financial processes and ensures accurate representation of financial data.

  4. Forex Trading Platforms: Forex trading platforms can leverage the accurate exchange rate data provided by GetExchangr API. Traders can access real-time rates, historical data, and perform currency conversions for informed decision-making. The API enables precise calculations and analysis, supporting traders in executing profitable forex trades.

  5. Accounting Software: Accounting software can integrate GetExchangr API to simplify multi-currency accounting processes. It allows businesses to automatically convert foreign transactions into their base currency, ensuring accurate financial statements and facilitating compliance with international accounting standards. This streamlines bookkeeping, reduces manual effort, and enhances financial accuracy.

  6. Personal Finance Applications: Personal finance applications can incorporate GetExchangr API to provide users with real-time currency conversion capabilities. It allows individuals to track and manage their expenses, savings, and investments across different currencies. Users can make informed financial decisions, calculate exchange rates, and monitor their financial health accurately.

By integrating the GetExchangr API into these diverse use cases, businesses and developers can enhance their applications with reliable and accurate currency exchange functionality, improving user experiences, financial accuracy, and overall efficiency.


Which type of historical rates does the API offer?

The Exchangr API delivers EOD / End of Day historical exchange rates, which become available at 00:05 am GMT for the previous day and are time stamped at one second before midnight.


How often are exchange rates refreshed? 

Spot exchange rate data is collected within the 60-second market window. Depending on your Subscription Plan, quotes are refreshed every 60 minutes (Free Plan), 10 minutes (Growth Plan), or 60 seconds (Pro Plan). 


Which currencies are available? 

We offer 164 Currencies + 8 Cryptocurrencies. Our API is integrated with a number of highly reputable foreign exchange rate sources, offering the most recent and accurate rates for 516 currency pairs.


Bank-Level Security

Your connection to the Exchangr API is encrypted using bank-grade 256-bit SSL Encryption.


 The API comes with multiple endpoints, each serving a different use case. Endpoint functionalities include getting the currencies rates 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.

  •  Latest rates endpoint: Returns real-time currencies rates data for all available or a specific set of currencies.
  • Convert endpoint: This allows for the conversion of any amount from one currency to another.
  • Historical rates endpoint: Returns historical currency rates data for all available or a specific set of currencies. Historical rates are available for most currencies since August 2021.
  • Time-Series data endpoint: Returns daily historical currency rates data between two specified dates for all available or a specific set of currencies.
  • Fluctuation data endpoint: Returns fluctuation data between two specified dates for all available or a specific set of currencies.


SSL Connection

All paid subscription plans available on Exchangr API come with 256-bit SSL encryption. To connect to the API via SSL, simply use the https protocol instead of standard http.

JSONP Callbacks

The Exchangr API comes with support for JSONP Callbacks. This feature enables you to specify a function name, pass it into the API's callback GET parameter, and cause the API to return your requested API response wrapped inside that function.


Access-Control / CORS

Exchangr API also supports Cross-Origin Resource Sharing (CORS) and Access-Control Headers. This will enable you to use the Exchangr API via Cross-Origin HTTP Requests.



HTTP ETags are a way of reducing the load on your back-end by requesting new Exchangr API data only if rates have changed since the last API response.


Are there any limitations with your plans?

Besides API call limitations per month: 

  • Basic Plan 10 minutes updates. 
  • Pro Plan 60 seconds updates. 

API Documentation


Use this endpoint to retrieve all the available symbols that we support for your queries. 

GET https://zylalabs.com/api/9/exchangr+-+forex+rates+api/37/supported+symbols

Supported Symbols - Endpoint Features
Object Description
Test Endpoint


                                                                                                                                                                                                                            {"data":{"success":false,"error":{"code":101,"type":"invalid_access_key","info":"No API Key was specified or an invalid API Key was specified."}}}

Supported Symbols - CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/9/exchangr+-+forex+rates+api/37/supported+symbols' --header 'Authorization: Bearer YOUR_API_KEY' 


This endpoint is perfect for you to know the latest known price of every currency you want to query. 

Depending on your subscription plan, the latest endpoint will return real-time exchange rate data updated every 10 minutes (free plans) or every 60 seconds (paid plans).


The "base" parameter is the one that all the other currencies will be compared. So, in this query:


You will be getting the currency price compared to USD. 

Let's take a look to the

Endpoint JSON response example: 

  "data": {
    "success": true,
    "timestamp": 1656012000,
    "date": "2022-06-23",
    "base": "usd",
    "rates": {
      "BRL": 5.2389077773,
      "EUR": 0.949702,
      "GBP": 0.81543,
      "INR": 78.21475290618,
      "JPY": 135.0492269763,
      "USD": 1

By default the "base" parameter is USD, but you can change it. 

Also, if you do not declare any "symbols" parameter, this endpoint will bring all the rates for all the supported currencies. 

GET https://zylalabs.com/api/9/exchangr+-+forex+rates+api/41/latest+rates

Latest Rates - Endpoint Features
Object Description
base [Required] Enter the three-letter currency code of your preferred base currency
symbols [Required] Enter a list of comma-separated currency codes to limit output codes. Check "Supported Symbols" endpoint to check.
Test Endpoint



Latest Rates - CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/9/exchangr+-+forex+rates+api/41/latest+rates?base=USD&symbols=GBP,EUR,INR,JPY' --header 'Authorization: Bearer YOUR_API_KEY' 


Do you want to check the rates for a specific symbol on a specific date?

With this endpoint, you will be able to get historical rates for most symbols all the way back to 2022. You will be able to retrieve historical rates just by appending a date (format YYYY-MM-DD).


Let's see an example. 

I want to check the rates of the British Pound, Euro, and Rupees compared to US dollar. 

My query would be:




GET https://zylalabs.com/api/9/exchangr+-+forex+rates+api/42/historical+rates

Historical Rates - Endpoint Features
Object Description
base [Required] Enter the three-letter currency code of your preferred base currency. Check "Supported Symbols" endpoint.
symbols [Required] Enter the tree-letter currency code of your preference.
date [Required]
Test Endpoint



Historical Rates - CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/9/exchangr+-+forex+rates+api/42/historical+rates?base=USD&symbols=BRL,EUR,GBP,INR,JPY&date=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


With this endpoint, you will be able to retrieve daily historical rates between two dates of your choice. 

This endpoint has a limitation of 365 days between start and end date, and only one symbol can be retrieved per request. 

 For example, you want to get the intraday price of INR compared to USD between May 20th and May 30th. 

With this simple query you can check it:

  "data": {
    "success": true,
    "timeseries": true,
    "start_date": "2022-05-20",
    "end_date": "2022-05-30",
    "base": "USD",
    "rates": {
      "2022-05-20": {
        "INR": 77.441479551,
        "USD": 1
      "2022-05-21": {
        "INR": 77.818604,
        "USD": 1
      "2022-05-22": {
        "INR": 77.818604,
        "USD": 1
      "2022-05-23": {
        "INR": 77.860672071,
        "USD": 1
      "2022-05-24": {
        "INR": 77.56814033703,
        "USD": 1
      "2022-05-25": {
        "INR": 77.5371592875,
        "USD": 1
      "2022-05-26": {
        "INR": 77.531648922,
        "USD": 1
      "2022-05-27": {
        "INR": 77.6777045135,
        "USD": 1
      "2022-05-28": {
        "INR": 77.692204,
        "USD": 1
      "2022-05-29": {
        "INR": 77.692204,
        "USD": 1
      "2022-05-30": {
        "INR": 77.72643459,
        "USD": 1
Remember that the access key must be set as Header.
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

GET https://zylalabs.com/api/9/exchangr+-+forex+rates+api/44/time-series

Time-Series - Endpoint Features
Object Description
start_date [Required] The start date of your preferred timeframe. Ex: 2022-05-20
end_date [Required] The end date of your preferred timeframe. Ex: 2022-05-30
base [Required] Enter the three-letter currency code of your preferred base currency. Check "Supported Symbols" endpoint.
symbols [Required] Enter the three-letter currency code of your preferred currency symbol. JUST ONE SYMBOL PER QUERY IS SUPPORTED. Check "Supported Symbols" endpoint.
Test Endpoint




curl --location --request GET 'https://zylalabs.com/api/9/exchangr+-+forex+rates+api/44/time-series?start_date=2023-05-10&end_date=2023-05-17&base=USD&symbols=INR' --header 'Authorization: Bearer YOUR_API_KEY' 


Allows you to query the API to get the open, high, low, and close price.
This endpoint has a limitation of one symbol per request.

GET https://zylalabs.com/api/9/exchangr+-+forex+rates+api/46/ohlc+price

OHLC Price - Endpoint Features
Object Description
base [Required] Enter the three-letter currency code of your preferred base currency
symbols [Required] Enter the three-letter currency code of your preferred base currency
DATE [Required]
Test Endpoint




curl --location --request GET 'https://zylalabs.com/api/9/exchangr+-+forex+rates+api/46/ohlc+price?base=USD&symbols=INR&DATE=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Exchangr - Forex Rates API REST API, simply include your bearer token in the Authorization header.


Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

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

๐Ÿš€ Enterprise
Starts at $ 10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • โœ”๏ธŽ Only Pay for Successful Requests
  • โœ”๏ธŽ Free 7-Day Trial
  • โœ”๏ธŽ Multi-Language Support
  • โœ”๏ธŽ One API Key, All APIs.
  • โœ”๏ธŽ Intuitive Dashboard
  • โœ”๏ธŽ Comprehensive Error Handling
  • โœ”๏ธŽ Developer-Friendly Docs
  • โœ”๏ธŽ Postman Integration
  • โœ”๏ธŽ Secure HTTPS Connections
  • โœ”๏ธŽ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the worldโ€™s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected โ€” plus overage fees applied when a developer exceeds a planโ€™s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
 Response Time


Related APIs