Exchange Rates API

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.

API description

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":105.682,"AMD":396.04,"ANG":1.8021,"AOA":504.2749,"ARS":187.6458,"AUD":1.403,"AZN":1.7,"BAM":1.7954,"BBD":2,"BDT":106.2588,"BGN":1.784,"BHD":0.3769,"BIF":2075.0436,"BMD":1,"BND":1.3062,"BOB":6.927,"BRL":4.9702,"BSD":1,"BWP":12.6898,"BYN":2.5238,"BZD":2,"CAD":1.3292,"CHF":0.9097,"CLP":782.3,"CNY":6.7255,"COP":4608.3,"CRC":553.7361,"CUP":24,"CVE":101.3795,"CZK":21.7049,"DJF":178.0083,"DKK":6.7886,"DOP":56.5249,"DZD":135.2988,"EGP":30.2853,"ETB":53.6712,"EUR":0.9126,"FJD":2.1465,"GBP":0.8127,"GEL":2.63,"GHS":12.1984,"GMD":61.6,"GNF":8608.8702,"GTQ":7.8494,"HKD":7.8431,"HNL":24.6516,"HRK":6.8659,"HTG":149.9877,"HUF":352.2642,"IDR":14883.5123,"ILS":3.4172,"INR":82.1326,"IQD":1459.4581,"IRR":42205,"ISK":140.08,"JMD":153.77,"JOD":0.7101,"JPY":128.379,"KES":124.59,"KGS":86.15,"KHR":4109.8616,"KRW":1223.9981,"KWD":0.3048,"KYD":0.8333,"KZT":458.7023,"LAK":16831.301,"LBP":1508.6357,"LKR":365.9835,"LSL":17.1513,"LYD":4.7586,"MAD":10.1201,"MDL":18.8254,"MKD":56.5618,"MMK":2099.9053,"MOP":8.078,"MUR":44.5,"MWK":1029.6336,"MXN":18.5296,"MYR":4.246,"NAD":17.18,"NGN":460.53,"NIO":36.5378,"NOK":9.9782,"NPR":131.4472,"NZD":1.5344,"OMR":0.3845,"PAB":1,"PEN":3.8546,"PHP":53.832,"PKR":270.2378,"PLN":4.2799,"PYG":7292.8916,"QAR":3.6478,"RON":4.4764,"RSD":107.1185,"RUB":70.065,"RWF":1081.3944,"SAR":3.7521,"SCR":13.2206,"SDG":583.5,"SEK":10.3502,"SGD":1.3063,"SOS":568.4236,"SYP":2512.53,"SZL":17.1522,"THB":32.81,"TMT":3.5,"TND":3.0285,"TRY":18.8155,"TTD":6.7869,"TWD":29.6903,"TZS":2336.7,"UAH":36.7468,"UGX":3683.6607,"UYU":38.4753,"UZS":11293.786,"VES":22.4381,"VND":23449.4082,"XAF":598.5979,"XCD":2.7,"XOF":598.5979,"XPF":108.897,"YER":250.4,"ZAR":16.9876,"ZMW":19.0992},"time_update":{"time_unix":1676054160,"time_utc":"2023-02-10T10:36: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":"200501","msg":"unsupported target currency code"}
                                                                                                                                                                                                                    
                                                                                                    

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
  • 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
100%
 Response Time
745ms

Category:


Tags:


Related APIs