Global Currency API

The Global Currency API simplifies currency conversions by providing accurate exchange rates, making it easy for users to integrate into their applications.

About the API:  

The Global Currency API offers an easy-to-use interface and a robust feature set that make it an essential resource for any application requiring currency conversion capabilities. Leveraging this API, developers can enhance their applications with accurate and reliable exchange rate data, allowing users to effortlessly convert between currencies.

One of the strengths of the Global Currency API is real-time data updates. It draws on reliable and authoritative sources to ensure that exchange rates are constantly updated, reflecting the latest market fluctuations. This real-time data ensures accuracy and reliability, allowing businesses and individuals to make informed decisions based on the most current rates.

Integration with the Global Currency API is straightforward, thanks to its documented and user-friendly endpoints. Users can easily retrieve exchange rates for specific currencies or obtain conversion results with just a few lines of code. The API supports multiple programming languages, making it compatible with a wide range of applications and platforms.

With the Global Currency API, developers can offer users a seamless and intuitive currency conversion experience. Whether it is a financial application, an e-commerce platform or a travel booking website, the API allows users to convert currencies effortlessly, streamlining transactions and improving user satisfaction. By enabling users to check prices or make purchases in their preferred currency, companies can extend their reach and cater to a global audience.

In addition, through one of the endpoints of this API, users can access a list containing the name of the currencies of all available countries, obtaining a large number of currencies to convert, making it a great advantage when using the API.

In conclusion, this API is a complete and reliable solution for developers wishing to incorporate currency conversion capabilities into their applications. With its real-time data updates, ease of integration, robust security measures and customizable options, the API simplifies the process of retrieving accurate exchange rates and performing seamless currency conversions. By leveraging this API, developers can enhance their applications, improve user experience and effectively navigate the complexities of international currency exchange.

 

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

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. E-commerce platforms: E-commerce websites can integrate the API to allow customers to view product prices and make purchases in their local currency, improving the user experience and eliminating confusion related to exchange rates.

  2. Financial and banking applications: Financial applications can leverage the API to provide users with real-time exchange rates, allowing them to convert currencies for personal finance management, investment tracking or foreign currency transactions.

  3. Travel and tourism websites: Travel booking platforms can integrate the API to display prices and allow users to convert fares for flights, accommodation and other travel expenses into their preferred currency, simplifying the booking process.

  4. International money transfer services: Money transfer services can use the API to provide accurate exchange rates for converting funds between different currencies, ensuring transparency and efficiency in cross-border transactions.

  5. Accounting and expense management software: Accounting software can use the API to automatically convert expenses and financial transactions recorded in different currencies to the user's base currency, simplifying financial reporting and analysis.

Are there any limitations to your plans?

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

API Documentation

Endpoints


To use this endpoint, all you have to do is run it to obtain the available currencies.



                                                                            
GET https://zylalabs.com/api/2193/global+currency+api/2021/get+all+currencies
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"result":{"AED":"United Arab Emirates Dirham","AFN":"Afghan Afghani","ALL":"Albanian Lek","AMD":"Armenian Dram","ANG":"Netherlands Antillean Guilder","AOA":"Angolan Kwanza","ARS":"Argentine Peso","AUD":"Australian Dollar","AWG":"Aruban Florin","AZN":"Azerbaijani Manat","BAM":"Bosnia-Herzegovina Convertible Mark","BBD":"Barbadian Dollar","BDT":"Bangladeshi Taka","BGN":"Bulgarian Lev","BHD":"Bahraini Dinar","BIF":"Burundian Franc","BMD":"Bermudan Dollar","BND":"Brunei Dollar","BOB":"Bolivian Boliviano","BRL":"Brazilian Real","BSD":"Bahamian Dollar","BTC":"Bitcoin","BTN":"Bhutanese Ngultrum","BWP":"Botswanan Pula","BYN":"Belarusian Ruble","BZD":"Belize Dollar","CAD":"Canadian Dollar","CDF":"Congolese Franc","CHF":"Swiss Franc","CLF":"Chilean Unit of Account (UF)","CLP":"Chilean Peso","CNH":"Chinese Yuan (Offshore)","CNY":"Chinese Yuan","COP":"Colombian Peso","CRC":"Costa Rican Colón","CUC":"Cuban Convertible Peso","CUP":"Cuban Peso","CVE":"Cape Verdean Escudo","CZK":"Czech Republic Koruna","DJF":"Djiboutian Franc","DKK":"Danish Krone","DOP":"Dominican Peso","DZD":"Algerian Dinar","EGP":"Egyptian Pound","ERN":"Eritrean Nakfa","ETB":"Ethiopian Birr","EUR":"Euro","FJD":"Fijian Dollar","FKP":"Falkland Islands Pound","GBP":"British Pound Sterling","GEL":"Georgian Lari","GGP":"Guernsey Pound","GHS":"Ghanaian Cedi","GIP":"Gibraltar Pound","GMD":"Gambian Dalasi","GNF":"Guinean Franc","GTQ":"Guatemalan Quetzal","GYD":"Guyanaese 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":"Manx pound","INR":"Indian Rupee","IQD":"Iraqi Dinar","IRR":"Iranian Rial","ISK":"Icelandic Króna","JEP":"Jersey Pound","JMD":"Jamaican Dollar","JOD":"Jordanian Dinar","JPY":"Japanese Yen","KES":"Kenyan Shilling","KGS":"Kyrgystani Som","KHR":"Cambodian Riel","KMF":"Comorian Franc","KPW":"North Korean Won","KRW":"South Korean Won","KWD":"Kuwaiti Dinar","KYD":"Cayman Islands Dollar","KZT":"Kazakhstani Tenge","LAK":"Laotian Kip","LBP":"Lebanese Pound","LKR":"Sri Lankan Rupee","LRD":"Liberian Dollar","LSL":"Lesotho Loti","LYD":"Libyan Dinar","MAD":"Moroccan Dirham","MDL":"Moldovan Leu","MGA":"Malagasy Ariary","MKD":"Macedonian Denar","MMK":"Myanma Kyat","MNT":"Mongolian Tugrik","MOP":"Macanese Pataca","MRU":"Mauritanian Ouguiya","MUR":"Mauritian Rupee","MVR":"Maldivian Rufiyaa","MWK":"Malawian Kwacha","MXN":"Mexican Peso","MYR":"Malaysian Ringgit","MZN":"Mozambican Metical","NAD":"Namibian Dollar","NGN":"Nigerian Naira","NIO":"Nicaraguan Córdoba","NOK":"Norwegian Krone","NPR":"Nepalese Rupee","NZD":"New Zealand Dollar","OMR":"Omani Rial","PAB":"Panamanian Balboa","PEN":"Peruvian Nuevo Sol","PGK":"Papua New Guinean Kina","PHP":"Philippine Peso","PKR":"Pakistani Rupee","PLN":"Polish Zloty","PYG":"Paraguayan Guarani","QAR":"Qatari Rial","RON":"Romanian Leu","RSD":"Serbian Dinar","RUB":"Russian Ruble","RWF":"Rwandan Franc","SAR":"Saudi Riyal","SBD":"Solomon Islands Dollar","SCR":"Seychellois Rupee","SDG":"Sudanese Pound","SEK":"Swedish Krona","SGD":"Singapore Dollar","SHP":"Saint Helena Pound","SLL":"Sierra Leonean Leone","SOS":"Somali Shilling","SRD":"Surinamese Dollar","SSP":"South Sudanese Pound","STD":"São Tomé and Príncipe Dobra (pre-2018)","STN":"São Tomé and Príncipe Dobra","SVC":"Salvadoran Colón","SYP":"Syrian Pound","SZL":"Swazi Lilangeni","THB":"Thai Baht","TJS":"Tajikistani Somoni","TMT":"Turkmenistani Manat","TND":"Tunisian Dinar","TOP":"Tongan Pa'anga","TRY":"Turkish Lira","TTD":"Trinidad and Tobago Dollar","TWD":"New Taiwan Dollar","TZS":"Tanzanian Shilling","UAH":"Ukrainian Hryvnia","UGX":"Ugandan Shilling","USD":"United States Dollar","UYU":"Uruguayan Peso","UZS":"Uzbekistan Som","VEF":"Venezuelan Bolívar Fuerte (Old)","VES":"Venezuelan Bolívar Soberano","VND":"Vietnamese Dong","VUV":"Vanuatu Vatu","WST":"Samoan Tala","XAF":"CFA Franc BEAC","XAG":"Silver Ounce","XAU":"Gold Ounce","XCD":"East Caribbean Dollar","XDR":"Special Drawing Rights","XOF":"CFA Franc BCEAO","XPD":"Palladium Ounce","XPF":"CFP Franc","XPT":"Platinum Ounce","YER":"Yemeni Rial","ZAR":"South African Rand","ZMW":"Zambian Kwacha","ZWL":"Zimbabwean Dollar"}}
                                                                                                                                                                                                                    
                                                                                                    

Get All currencies - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2193/global+currency+api/2021/get+all+currencies' --header 'Authorization: Bearer YOUR_API_KEY' 

    

To use this endpoint just enter a currency in the parameter and you will get real-time data on the exchange rates of all available currencies updated every 10 minutes.



                                                                            
GET https://zylalabs.com/api/2193/global+currency+api/2022/real+time+exchange+rates
                                                                            
                                                                        

Real Time exchange rates - Endpoint Features

Object Description
base [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"timestamp":1687893216786,"date":"2023-06-27","base":"USD","result":{"AED":3.673,"AFN":85.999996,"ALL":98.3,"AMD":387.556023,"ANG":1.802762,"AOA":805.5,"ARS":255.228495,"AUD":1.494915,"AWG":1.8,"AZN":1.7,"BAM":1.786526,"BBD":2,"BDT":108.243883,"BGN":1.78475,"BHD":0.376899,"BIF":2840,"BMD":1,"BND":1.34933,"BOB":6.911638,"BRL":4.7939,"BSD":1,"BTC":0.000032571141,"BTN":82.038504,"BWP":13.355376,"BYN":2.524844,"BZD":2.016276,"CAD":1.318005,"CDF":2405,"CHF":0.893008,"CLF":0.028921,"CLP":798,"CNH":7.225773,"CNY":7.2202,"COP":4164.737068,"CRC":541.915399,"CUC":1,"CUP":25.75,"CVE":101.625,"CZK":21.551383,"DJF":177.827972,"DKK":6.7935,"DOP":55.15,"DZD":135.455519,"EGP":30.897602,"ERN":15,"ETB":54.55,"EUR":0.912415,"FJD":2.22225,"FKP":0.784218,"GBP":0.784218,"GEL":2.635,"GGP":0.784218,"GHS":11.504279,"GIP":0.784218,"GMD":59.64,"GNF":8655,"GTQ":7.842385,"GYD":211.559923,"HKD":7.83389,"HNL":24.72,"HRK":6.874665,"HTG":138.540836,"HUF":337.195399,"IDR":14988.006311,"ILS":3.672495,"IMP":0.784218,"INR":81.993718,"IQD":1310,"IRR":42250,"ISK":135.68,"JEP":0.784218,"JMD":154.068202,"JOD":0.7095,"JPY":144.03822222,"KES":140.45,"KGS":87.31,"KHR":4125,"KMF":451.824871,"KPW":900,"KRW":1298.373462,"KWD":0.30713,"KYD":0.833546,"KZT":451.591011,"LAK":18690,"LBP":15265,"LKR":309.113757,"LRD":179.499996,"LSL":18.66,"LYD":4.81,"MAD":9.9425,"MDL":18.171993,"MGA":4502,"MKD":56.195477,"MMK":2100.575093,"MNT":3519,"MOP":8.071355,"MRU":34.570664,"MUR":45.450191,"MVR":15.3,"MWK":1018.5,"MXN":17.09387,"MYR":4.666,"MZN":63.900001,"NAD":18.66,"NGN":764.55,"NIO":36.525,"NOK":10.781746,"NPR":131.261728,"NZD":1.621704,"OMR":0.384946,"PAB":1,"PEN":3.644,"PGK":3.525,"PHP":55.142503,"PKR":286.55,"PLN":4.059224,"PYG":7265.073928,"QAR":3.641,"RON":4.5261,"RSD":106.965303,"RUB":85.470085,"RWF":1160,"SAR":3.750331,"SBD":8.32737,"SCR":14.161553,"SDG":601.5,"SEK":10.720149,"SGD":1.34919,"SHP":0.784218,"SLL":17665,"SOS":569.5,"SRD":38.046,"SSP":130.26,"STD":22823.990504,"STN":22.7,"SVC":8.753597,"SYP":2512.53,"SZL":18.66,"THB":35.28,"TJS":10.923306,"TMT":3.51,"TND":3.0945,"TOP":2.355953,"TRY":26.0238,"TTD":6.801118,"TWD":31.015502,"TZS":2405,"UAH":36.943664,"UGX":3676.329659,"USD":1,"UYU":37.61464,"UZS":11505,"VES":27.582392,"VND":23529.416975,"VUV":118.979,"WST":2.72551,"XAF":598.505132,"XAG":0.04375889,"XAU":0.00052223,"XCD":2.70255,"XDR":0.750155,"XOF":598.505132,"XPD":0.00077249,"XPF":108.880094,"XPT":0.00107721,"YER":250.300053,"ZAR":18.525645,"ZMW":17.045626,"ZWL":322}}
                                                                                                                                                                                                                    
                                                                                                    

Real Time exchange rates - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2193/global+currency+api/2022/real+time+exchange+rates?base=USD' --header 'Authorization: Bearer YOUR_API_KEY' 

    

To use this endpoint all you have to do is insert in the parameters the currencies to be converted indicating an amount.



                                                                            
GET https://zylalabs.com/api/2193/global+currency+api/2023/convert+currency
                                                                            
                                                                        

Convert currency - Endpoint Features

Object Description
from [Required]
to [Required]
amount [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"request":{"from":"USD","to":"EUR","amount":100},"meta":{"timestamp":1687893474683,"rates":{"from":0.912415,"to":1.0959925034},"formated":{"from":"1 USD = 0.91241 EUR","to":"1 EUR = 1.09599 USD"}},"result":91.2415}
                                                                                                                                                                                                                    
                                                                                                    

Convert currency - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2193/global+currency+api/2023/convert+currency?from=USD&to=EUR&amount=100' --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 Global Currency 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

The API may impose limits to ensure fair use and prevent abuse. Please refer to the API plans for specific details on limitations.

Yes, the API is designed for easy integration and typically supports various programming languages and protocols, such as SDK.

The API provides accurate and reliable data for 170 world currencies, allowing developers to access up-to-date exchange rates and currency information.

Yes, the API typically provides data for all 170 world currencies, allowing you to retrieve information for multiple currencies in a single API call.

This API focuses primarily on traditional fiat currencies. If you need cryptocurrency data, you may need to explore specialized cryptocurrency APIs.

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
215ms

Category:


Related APIs