Exchange Rates API

The Exchange Rates API provides real-time exchange rate data for the world's currencies. With a simple REST API, it updates every few minutes and is easy to use for currency conversion purposes.

About the API: 

The Exchange Rates API provides accurate and up-to-date exchange rate information for a wide range of currencies. Its simple REST API makes it easy to integrate into any application, providing real-time exchange rate data that is updated every few minutes. The API covers most of the world's currencies, giving you access to the information you need to make informed financial decisions. Whether you're a business looking to manage foreign currency transactions or an individual looking to compare exchange rates, the Exchange Rates API provides the data you need in a format that's easy to use. With its straightforward API, you can easily convert one currency to another, making it ideal for a variety of use cases, from e-commerce to personal finance.

 

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

Call the API to receive the latest exchange rates. 

 

What are the most common uses cases of this API?

  1. E-commerce: The Exchange Rates API can be integrated into e-commerce websites to automatically convert prices into the local currency of the user, providing a more seamless shopping experience.

  2. Financial Management: The API can be used by businesses to monitor exchange rates and make informed decisions about international transactions, reducing the risk of financial loss due to currency fluctuations.

  3. Travel Planning: The Exchange Rates API can be integrated into travel websites and apps to provide up-to-date currency conversion information, making it easier for travelers to budget for their trips.

  4. Personal Finance: The API can be used by individuals to compare exchange rates and make informed decisions about international money transfers, investments, and other financial transactions.

  5. Data Analysis: The Exchange Rates API can be used to gather data on exchange rates over time, providing valuable insights into current trends and fluctuations. This data can be used by economists, researchers, and businesses to make informed decisions about the global economy.



Are there any limitations to your plans?

Besides the number of API calls, there is no other limitation. 

API Documentation

Endpoints


Get the latest foreign exchange reference rates.The latest endpoint will return exchange rate data updates every 1 minute.



                                                                            
GET https://zylalabs.com/api/1390/exchange+rates+api/1157/latest
                                                                            
                                                                        

Latest - Endpoint Features

Object Description
base [Required] the code you want to use as a base currency.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"code":"0","msg":"success","base":"USD","rates":{"USD":1,"AED":3.673,"ALL":100.2,"AMD":385.21,"ANG":1.8001,"AOA":828.5,"ARS":349.58,"AUD":1.5664,"AZN":1.7,"BAM":1.8255,"BBD":2,"BDT":109.75,"BGN":1.8266,"BHD":0.3765,"BIF":2831.31,"BMD":1,"BND":1.3641,"BOB":6.9253,"BRL":4.986,"BSD":1,"BWP":13.672,"BYN":2.521,"BZD":2,"CAD":1.366,"CHF":0.8927,"CLP":892.86,"CNY":7.2423,"COP":4018.67,"CRC":535.12,"CUP":24,"CVE":102.92,"CZK":22.801,"DJF":177.83,"DKK":6.9703,"DOP":56.797,"DZD":137.04,"EGP":30.863,"ETB":55.212,"EUR":0.9335,"FJD":2.2744,"GBP":0.8022,"GEL":2.62,"GHS":11.411,"GMD":60.55,"GNF":8600,"GTQ":7.8602,"HKD":7.8397,"HNL":24.604,"HRK":7.0421,"HTG":134.98,"HUF":360.85,"IDR":15382,"ILS":3.8455,"INR":83.12,"IQD":1308.07,"IRR":42265,"ISK":133.62,"JMD":154.29,"JOD":0.7082,"JPY":147.82,"KES":144.55,"KGS":88.378,"KHR":4150,"KRW":1336.31,"KWD":0.3085,"KYD":0.8333,"KZT":463.87,"LAK":19807,"LBP":15012,"LKR":322.37,"LSL":19.088,"LYD":4.849,"MAD":10.187,"MDL":17.948,"MKD":57.507,"MMK":2097.45,"MOP":8.0653,"MUR":45.247,"MWK":1092.96,"MXN":17.597,"MYR":4.6765,"NAD":19.115,"NGN":788.92,"NIO":36.58,"NOK":10.681,"NPR":132.63,"NZD":1.6984,"OMR":0.3846,"PAB":1,"PEN":3.7083,"PHP":56.67,"PKR":306.07,"PLN":4.3156,"PYG":7254.42,"QAR":3.642,"RON":4.638,"RSD":109.53,"RUB":97.75,"RWF":1202.78,"SAR":3.7508,"SCR":13.209,"SDG":601,"SEK":11.127,"SGD":1.3646,"SOS":569.28,"SYP":12877,"SZL":19.081,"THB":35.427,"TMT":3.51,"TND":3.1275,"TRY":26.845,"TTD":6.7718,"TWD":32.09,"TZS":2501.99,"UAH":36.886,"UGX":3734.54,"UYU":38.037,"UZS":12132,"VES":33.34,"VND":24059,"XAF":612.3,"XCD":2.7,"XOF":612.3,"XPF":111.39,"YER":250.4,"ZAR":19.124,"ZMW":20.75},"time_update":{"time_unix":1694370300,"time_utc":"2023-09-10T11:25:00Z","time_zone":"America\/Los_Angeles"}}
                                                                                                                                                                                                                    
                                                                                                    

Latest - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/1390/exchange+rates+api/1157/latest?base=USD' --header 'Authorization: Bearer YOUR_API_KEY' 


    

The endpoint is useful for applications where you just want to convert between two specific currencies.



                                                                            
GET https://zylalabs.com/api/1390/exchange+rates+api/1158/currency+converter
                                                                            
                                                                        

Currency Converter - Endpoint Features

Object Description
base [Required] The three-letter currency code of the currency you would like to convert from.
target [Required] The three-letter currency code of the currency you would like to convert to.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"code":"0","msg":"success","convert_result":{"base":"USD","target":"GBP","rate":0.8127},"time_update":{"time_unix":1676054280,"time_utc":"2023-02-10T10:38:00Z","time_zone":"America\/Los_Angeles"}}
                                                                                                                                                                                                                    
                                                                                                    

Currency Converter - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/1390/exchange+rates+api/1158/currency+converter?base=USD&target=GBP' --header 'Authorization: Bearer YOUR_API_KEY' 


    

This endpoint lists the currencies that we support.



                                                                            
GET https://zylalabs.com/api/1390/exchange+rates+api/1159/supported+codes
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"code":"0","msg":"success","supported_codes":[{"code":"USD","name":"US Dollar"},{"code":"ARS","name":"Argentine Peso"},{"code":"BBD","name":"Barbados Dollar"},{"code":"BSD","name":"Bahamian Dollar"},{"code":"PYG","name":"Paraguay Guarani"},{"code":"PAB","name":"Panamanian Balboa"},{"code":"BRL","name":"Brazilian Real"},{"code":"BMD","name":"Bermudian Dollar"},{"code":"BOB","name":"Bolivian Boliviano"},{"code":"BZD","name":"Belize Dollar"},{"code":"XCD","name":"East Caribbean Dollar"},{"code":"DOP","name":"Dominican Peso"},{"code":"COP","name":"Colombian Peso"},{"code":"CRC","name":"Costa Rican Colon"},{"code":"CUP","name":"Cuban Peso"},{"code":"HTG","name":"Haitian Gourde"},{"code":"ANG","name":"Netherlands Antillian Guilder"},{"code":"HNL","name":"Honduran Lempira"},{"code":"CAD","name":"Canadian Dollar"},{"code":"KYD","name":"Cayman Islands Dollar"},{"code":"PEN","name":"Peruvian Sol"},{"code":"MXN","name":"Mexican Peso"},{"code":"NIO","name":"Nicaraguan Cordoba Oro"},{"code":"TTD","name":"Trinidad and Tobago Dollar"},{"code":"GTQ","name":"Guatemalan Quetzal"},{"code":"VES","name":"Venezuelan Bolivar"},{"code":"UYU","name":"Uruguay Peso"},{"code":"JMD","name":"Jamaican Dollar"},{"code":"CLP","name":"Chilean Peso"},{"code":"AUD","name":"Australian Dollar"},{"code":"MOP","name":"Macau Pataca"},{"code":"PKR","name":"Pakistan Rupee"},{"code":"PHP","name":"Philippine Peso"},{"code":"FJD","name":"Fiji Dollar"},{"code":"HKD","name":"Hong Kong Dollar"},{"code":"KRW","name":"Korean Won"},{"code":"KHR","name":"Cambodian Riel"},{"code":"LAK","name":"Lao Kip"},{"code":"MYR","name":"Malaysian Ringgit"},{"code":"BDT","name":"Bangladeshi Taka"},{"code":"MMK","name":"Myanmar Kyat"},{"code":"NPR","name":"Nepalese Rupee"},{"code":"CNY","name":"Chinese Yuan Renminbi"},{"code":"JPY","name":"Japanese Yen"},{"code":"SCR","name":"Seychelles Rupee"},{"code":"LKR","name":"Sri Lanka Rupee"},{"code":"XPF","name":"CFP Franc"},{"code":"THB","name":"Thai Baht"},{"code":"BND","name":"Brunei Dollar"},{"code":"SGD","name":"Singapore Dollar"},{"code":"TWD","name":"Taiwan Dollar"},{"code":"NZD","name":"New Zealand Dollar"},{"code":"INR","name":"Indian Rupee"},{"code":"IDR","name":"Indonesian Rupiah"},{"code":"VND","name":"Vietnamese Dong"},{"code":"ALL","name":"Albanian Lek"},{"code":"BYN","name":"Belarusian Ruble"},{"code":"BGN","name":"Bulgarian Lev"},{"code":"ISK","name":"Iceland Krona"},{"code":"PLN","name":"Polish Zloty"},{"code":"DKK","name":"Danish Krone"},{"code":"RUB","name":"Russian Ruble"},{"code":"CZK","name":"Czech Koruna"},{"code":"HRK","name":"Croatian Kuna"},{"code":"RON","name":"Romanian Leu"},{"code":"MKD","name":"Macedonia Denar"},{"code":"MDL","name":"Moldovan Leu"},{"code":"NOK","name":"Norwegian Krone"},{"code":"EUR","name":"Euro"},{"code":"SEK","name":"Swedish Krona"},{"code":"CHF","name":"Swiss Franc"},{"code":"RSD","name":"Serbian Dinar"},{"code":"UAH","name":"Ukraine Hryvnia"},{"code":"HUF","name":"Hungarian Forint"},{"code":"GBP","name":"British Pound"},{"code":"AED","name":"United Arab Emirates Dirham"},{"code":"OMR","name":"Omani Rial"},{"code":"AZN","name":"Azerbaijani Manat"},{"code":"BHD","name":"Bahraini Dinar"},{"code":"GEL","name":"Georgian Lari"},{"code":"KZT","name":"Kazakhstan Tenge"},{"code":"KGS","name":"Kyrgyzstani Som"},{"code":"QAR","name":"Qatari Rial"},{"code":"KWD","name":"Kuwaiti Dinar"},{"code":"LBP","name":"Lebanese Pound"},{"code":"SAR","name":"Saudi Riyal"},{"code":"TRY","name":"Turkish Lira"},{"code":"TMT","name":"Turkmenistan Manat"},{"code":"UZS","name":"Uzbekistan Som"},{"code":"AMD","name":"Armenian Dram"},{"code":"YER","name":"Yemeni Rial"},{"code":"IQD","name":"Iraqi Dinar"},{"code":"IRR","name":"Iranian Rial"},{"code":"ILS","name":"Israeli New Shekel"},{"code":"JOD","name":"Jordanian Dinar"},{"code":"DZD","name":"Algerian Dinar"},{"code":"EGP","name":"Egyptian Pound"},{"code":"ETB","name":"Ethiopian Birr"},{"code":"AOA","name":"Angolan Kwanza"},{"code":"BWP","name":"Botswana Pula"},{"code":"BIF","name":"Burundi Franc"},{"code":"XOF","name":"CFA BCEAO Franc"},{"code":"CVE","name":"Cape Verde Escudo"},{"code":"GMD","name":"Gambian Dalasi"},{"code":"DJF","name":"Djibouti Franc"},{"code":"GNF","name":"Guinea Franc"},{"code":"GHS","name":"Ghanaian Cedi"},{"code":"KES","name":"Kenyan Shilling"},{"code":"LSL","name":"Lesotho Loti"},{"code":"LYD","name":"Libyan Dinar"},{"code":"RWF","name":"Rwanda Franc"},{"code":"MWK","name":"Malawi Kwacha"},{"code":"MUR","name":"Mauritius Rupee"},{"code":"MAD","name":"Moroccan Dirham"},{"code":"NAD","name":"Namibian Dollar"},{"code":"ZAR","name":"South African Rand"},{"code":"NGN","name":"Nigerian Naira"},{"code":"SZL","name":"Swaziland Lilangeni"},{"code":"SDG","name":"Sudanese Pound"},{"code":"SOS","name":"Somali Shilling"},{"code":"TZS","name":"Tanzanian Shilling"},{"code":"TND","name":"Tunisian Dinar"},{"code":"UGX","name":"Uganda Shilling"},{"code":"ZMW","name":"Zambian Kwacha"},{"code":"XAF","name":"CFA BEAC Franc"},{"code":"BAM","name":"Bosnia and Herzegovina Marka"},{"code":"SYP","name":"Syrian Pound"}]}
                                                                                                                                                                                                                    
                                                                                                    

Supported Codes - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/1390/exchange+rates+api/1159/supported+codes' --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 Exchange 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
  • 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, refer to the β€˜X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ response 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
745ms

Category:


Related APIs