{"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"}}
curl --location --request GET 'https://zylalabs.com/api/1390/exchange+rates+api/1157/latest?base=USD' --header 'Authorization: Bearer YOUR_API_KEY'
{"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"}}
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'
{"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"}]}
curl --location --request GET 'https://zylalabs.com/api/1390/exchange+rates+api/1159/supported+codes' --header 'Authorization: Bearer YOUR_API_KEY'
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 simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
Trusted by leading companies
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.
Call the API to receive the latest exchange rates.
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.
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.
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.
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.
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.
Besides the number of API calls, there is no other limitation.
The "GET Latest" endpoint returns the latest foreign exchange rates for multiple currencies, while the "GET Currency Converter" endpoint provides the conversion rate between two specific currencies. The "GET Supported Codes" endpoint lists all supported currency codes and their names.
Key fields include "base" (the reference currency), "rates" (exchange rates for various currencies), "target" (the currency being converted to), and "rate" (the conversion rate). Each response also includes a status code and message.
The response data is structured in JSON format. For example, the "GET Latest" response includes a "base" field, a "rates" object with currency codes as keys, and their corresponding exchange rates as values.
The "GET Currency Converter" endpoint accepts parameters for "base" (the currency to convert from) and "target" (the currency to convert to). The "GET Latest" endpoint does not require parameters but returns rates based on the default base currency.
The "GET Latest" endpoint provides real-time exchange rates for multiple currencies, the "GET Currency Converter" offers specific conversion rates, and the "GET Supported Codes" lists all currencies supported by the API.
The Exchange Rates API sources its data from reliable financial institutions and continuously updates exchange rates to ensure accuracy. Regular quality checks are performed to validate the data against market standards.
Common use cases include e-commerce price conversions, financial management for international transactions, travel budgeting, personal finance comparisons, and data analysis for economic trends.
Users can integrate the API responses into applications for real-time currency conversion, display exchange rates on websites, or analyze historical trends by storing and processing the data returned from the API.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund