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

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

Endpoints


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

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"ADA":"Cardano","AED":"United Arab Emirates Dirham","AFN":"Afghan Afghani","ALL":"Albanian Lek","ALU":"Aluminum","AMD":"Armenian Dram","ANG":"Netherlands Antillean Gulden","AOA":"Angolan Kwanza","ARS":"Argentine Peso","AUD":"Australian Dollar","AWG":"Aruban Florin","AZN":"Azerbaijani Manat","BAM":"Bosnia and Herzegovina Convertible Mark","BBD":"Barbadian Dollar","BCH":"Bitcoin Cash","BDT":"Bangladeshi Taka","BGN":"Bulgarian Lev","BHD":"Bahraini Dinar","BIF":"Burundian Franc","BMD":"Bermudian Dollar","BND":"Brunei Dollar","BOB":"Bolivian Boliviano","BRENTOIL":"Brent Crude Oil","BRL":"Brazilian Real","BSD":"Bahamian Dollar","BTC":"Bitcoin","BTN":"Bhutanese Ngultrum","BWP":"Botswana Pula","BYN":"Belarusian Ruble","BYR":"Belarusian Ruble","BZD":"Belize Dollar","CAD":"Canadian Dollar","CANO":"Canola","CDF":"Congolese Franc","CHF":"Swiss Franc","CLF":"Unidad de Fomento","CLP":"Chilean Peso","CNH":"Chinese Renminbi Yuan Offshore","CNY":"Chinese Renminbi Yuan","COAL":"Coal","COCOA":"Cocoa","COFFEE":"Arabica Coffee","COP":"Colombian Peso","CORN":"Corn","COTTON":"Cotton","CPO":"Crude Palm Oil","CRC":"Costa Rican Col\u00f3n","CUC":"Cuban Convertible Peso","CVE":"Cape Verdean Escudo","CZK":"Czech Koruna","DJF":"Djiboutian Franc","DKK":"Danish Krone","DOP":"Dominican Peso","DZD":"Algerian Dinar","EEK":"Estonian Kroon","EGP":"Egyptian Pound","ERN":"Eritrean Nakfa","ETB":"Ethiopian Birr","ETH":"Ethereum","ETHANOL":"Ethanol","EUR":"Euro","FJD":"Fijian Dollar","FKP":"Falkland Pound","GBP":"British Pound","GEL":"Georgian Lari","GGP":"Guernsey Pound","GHS":"Ghanaian Cedi","GIP":"Gibraltar Pound","GMD":"Gambian Dalasi","GNF":"Guinean Franc","GTQ":"Guatemalan Quetzal","GYD":"Guyanese Dollar","HKD":"Hong Kong Dollar","HNL":"Honduran Lempira","HRK":"Croatian Kuna","HTG":"Haitian Gourde","HUF":"Hungarian Forint","IDR":"Indonesian Rupiah","ILS":"Israeli New Sheqel","IMP":"Isle of Man Pound","INR":"Indian Rupee","IQD":"Iraqi Dinar","IRD":"Iridium (Troy Ounce)","ISK":"Icelandic Kr\u00f3na","JEP":"Jersey Pound","JMD":"Jamaican Dollar","JOD":"Jordanian Dinar","JPY":"Japanese Yen","KCH23":"Arabica Coffee Mar 23","KCK23":"Arabica Coffee May 23","KCN22":"Arabica Coffee Jul 22","KCN23":"Arabica Coffee Jul 23","KCU22":"Arabica Coffee Sep 22","KCU23":"Arabica Coffee Sep 23","KCZ22":"Arabica Coffee Dec 22","KES":"Kenyan Shilling","KGS":"Kyrgyzstani Som","KHR":"Cambodian Riel","KMF":"Comorian Franc","KRW":"South Korean Won","KWD":"Kuwaiti Dinar","KYD":"Cayman Islands Dollar","KZT":"Kazakhstani Tenge","LAK":"Lao Kip","LBP":"Lebanese Pound","LCAT":"Live Cattle","LCO":"Cobalt (Troy Ounce)","LHOG":"Lean Hog","LINK":"Chainlink","LKR":"Sri Lankan Rupee","LRD":"Liberian Dollar","LSL":"Lesotho Loti","LTC":"Litecoin","LTL":"Lithuanian Litas","LUMBER":"Lumber","LVL":"Latvian Lats","LYD":"Libyan Dinar","MAD":"Moroccan Dirham","MDL":"Moldovan Leu","MGA":"Malagasy Ariary","MKD":"Macedonian Denar","MMK":"Myanmar Kyat","MNT":"Mongolian T\u00f6gr\u00f6g","MOP":"Macanese Pataca","MRO":"Mauritanian Ouguiya","MTL":"Maltese Lira","MUR":"Mauritian Rupee","MVR":"Maldivian Rufiyaa","MWK":"Malawian Kwacha","MXN":"Mexican Peso","MYR":"Malaysian Ringgit","MZN":"Mozambican Metical","NAD":"Namibian Dollar","NG":"Natural Gas","NGN":"Nigerian Naira","NI":"Nickel","NIO":"Nicaraguan C\u00f3rdoba","NOK":"Norwegian Krone","NPR":"Nepalese Rupee","NZD":"New Zealand Dollar","OAT":"Oat","OMR":"Omani Rial","PAB":"Panamanian Balboa","PEN":"Peruvian Sol","PGK":"Papua New Guinean Kina","PHP":"Philippine Peso","PKR":"Pakistani Rupee","PLN":"Polish Z\u0142oty","PYG":"Paraguayan Guaran\u00ed","QAR":"Qatari Riyal","RICE":"Rice","RMF23":"Robusta Coffee Jan 23","RMH23":"Robusta Coffee Mar 23","RMN22":"Robusta Coffee Jul 22","RMU22":"Robusta Coffee Sep 22","RMX22":"Robusta Coffee Nov 22","ROBUSTA":"Robusta Coffee","RON":"Romanian Leu","RSD":"Serbian Dinar","RUB":"Russian Ruble","RUBBER":"Rubber","RUTH":"Ruthenium","RWF":"Rwandan Franc","SAR":"Saudi Riyal","SBD":"Solomon Islands Dollar","SBH23":"Sugar Mar 23","SBK23":"Sugar May 23","SBN22":"Sugar Jul 22","SBV22":"Sugar Oct 22","SCR":"Seychellois Rupee","SEK":"Swedish Krona","SGD":"Singapore Dollar","SHP":"Saint Helenian Pound","SLL":"Sierra Leonean Leone","SOS":"Somali Shilling","SOYBEAN":"Soybeans","SRD":"Surinamese Dollar","SSP":"South Sudanese Pound","STD":"S\u00e3o Tom\u00e9 and Pr\u00edncipe Dobra","SUGAR":"Sugar","SVC":"Salvadoran Col\u00f3n","SZL":"Swazi Lilangeni","THB":"Thai Baht","TIN":"Tin","TJS":"Tajikistani Somoni","TMT":"Turkmenistani Manat","TND":"Tunisian Dinar","TOP":"Tongan Pa\u02bbanga","TRY":"Turkish Lira","TTD":"Trinidad and Tobago Dollar","TWD":"New Taiwan Dollar","TZS":"Tanzanian Shilling","UAH":"Ukrainian Hryvnia","UGX":"Ugandan Shilling","UNI":"Uniswap","USD":"United States Dollar","UYU":"Uruguayan Peso","UZS":"Uzbekistan Som","VEF":"Venezuelan Bol\u00edvar","VES":"Venezuelan Bol\u00edvar Soberano","VND":"Vietnamese \u0110\u1ed3ng","VUV":"Vanuatu Vatu","WHEAT":"Wheat","WST":"Samoan Tala","WTIOIL":"WTI Crude Oil","XAF":"Central African Cfa Franc","XAG":"Silver (Troy Ounce)","XAU":"Gold (Troy Ounce)","XCD":"East Caribbean Dollar","XCU":"Copper","XDR":"Special Drawing Rights","XLM":"Stellar","XOF":"West African Cfa Franc","XPD":"Palladium (Troy Ounce)","XPF":"Cfp Franc","XPT":"Platinum (Troy Ounce)","XRH":"Rhodium (Troy Ounce)","XRP":"Ripple","XRP2":"Ripple","YER":"Yemeni Rial","ZAR":"South African Rand","ZMK":"Zambian Kwacha","ZMW":"Zambian Kwacha","ZNC":"Zinc","ZWL":"Zimbabwean Dollar","ZWN2":"Wheat ZWN2","ZWU2":"Wheat ZWU2"}
                                                                                                                                                                                                                    
                                                                                                    

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:

http://zylalabs.com/api/9/exchangr/41/latest+rates?base=USD&symbols=BRL,EUR,GBP,INR,JPY

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

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"success":true,"timestamp":1684510860,"date":"2023-05-19","base":"USD","rates":{"EUR":0.92451432950985,"GBP":0.8022813333333333,"INR":82.87388513770813,"JPY":137.5309583333333,"USD":1},"unit":{}}}
                                                                                                                                                                                                                    
                                                                                                    

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

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"success":true,"historical":true,"date":"2023-03-17","base":"USD","rates":{"EUR":0.93162609745554,"GBP":0.8210176666666666,"INR":82.53591366666635,"JPY":131.84033161231062,"USD":1},"unit":{}}}
                                                                                                                                                                                                                    
                                                                                                    

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

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"success":true,"timeseries":true,"start_date":"2023-04-10","end_date":"2023-05-17","base":"USD","rates":{"2023-04-10":{"GBP":0.8044823333333333,"USD":1},"2023-04-11":{"GBP":0.8070114504164662,"USD":1},"2023-04-12":{"GBP":0.804530670586401,"USD":1},"2023-04-13":{"GBP":0.8004533313521845,"USD":1},"2023-04-14":{"GBP":0.7984589391476303,"USD":1},"2023-04-15":{"GBP":0.8053205808275489,"USD":1},"2023-04-16":{"GBP":0.805321514878317,"USD":1},"2023-04-18":{"GBP":0.8081285892862058,"USD":1},"2023-04-19":{"GBP":0.8048889988809842,"USD":1},"2023-04-20":{"GBP":0.8046438473730663,"USD":1},"2023-04-21":{"GBP":0.8038250983052482,"USD":1},"2023-04-22":{"GBP":0.8040845077288984,"USD":1},"2023-04-23":{"GBP":0.8040951551897813,"USD":1},"2023-04-24":{"GBP":0.8033282391572137,"USD":1},"2023-04-26":{"GBP":0.8055107833159033,"USD":1},"2023-04-28":{"GBP":0.8001762013238393,"USD":1},"2023-04-29":{"GBP":0.795547659289988,"USD":1},"2023-04-30":{"GBP":0.7954113726389046,"USD":1},"2023-05-01":{"GBP":0.7963054457789743,"USD":1},"2023-05-03":{"GBP":0.8015079814164789,"USD":1},"2023-05-05":{"GBP":0.7947164120930191,"USD":1},"2023-05-06":{"GBP":0.791287236997473,"USD":1},"2023-05-10":{"GBP":0.7920871853604012,"USD":1},"2023-05-11":{"GBP":0.7919465868984644,"USD":1},"2023-05-13":{"GBP":0.8031236666666667,"USD":1},"2023-05-15":{"GBP":0.8031479925689047,"USD":1},"2023-05-16":{"GBP":0.798385,"USD":1},"2023-05-17":{"GBP":0.8009897055333579,"USD":1}},"unit":{}}}
                                                                                                                                                                                                                    
                                                                                                    

Time-Series - CODE SNIPPETS


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

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"timestamp":1684511060,"date":"2023-03-01","base":"USD","symbol":"GBP","rates":{"open":0.8314897899947759,"high":0.83536283481073,"low":0.8274179489250157,"close":0.83146699927278}}
                                                                                                                                                                                                                    
                                                                                                    

OHLC Price - CODE SNIPPETS


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.
Headers
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
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

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 like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). 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 paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

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.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
244ms

Category:


Related APIs