About the API:
This API supports 160+ currencies and is based on the data provided by National Central Banks and markets.
Rates are updated once an hour.
Pass the base currency and the currency you want to get and receive the exchange rates.
This API is ideal for those financial companies that need to convert amounts between currencies.
Ideal for companies that work with different countries, and need to know the values of those countries' currencies.
Besides the number of API calls per month, there is a limitation of 1 request per second.
Get a list of all the available currencies for this API
{"currencies":{"STN":"São Tomé and Príncipe dobra","XAG":"Silver (troy ounce)","XAU":"Gold (troy ounce)","PLN":"Polish złoty","UGX":"Ugandan shilling","GGP":"Guernsey pound","MWK":"Malawian kwacha","NAD":"Namibian dollar","ALL":"Albanian lek","BHD":"Bahraini dinar","JEP":"Jersey pound","BWP":"Botswana pula","MRU":"Mauritanian ouguiya","BMD":"Bermudian dollar","MNT":"Mongolian tögrög","FKP":"Falkland Islands pound","PYG":"Paraguayan guaraní","AUD":"Australian dollar","KYD":"Cayman Islands dollar","RWF":"Rwandan franc","WST":"Samoan tālā","SHP":"Saint Helena pound","SOS":"Somali shilling","SSP":"South Sudanese pound","BIF":"Burundian franc","SEK":"Swedish krona","CUC":"Cuban convertible peso","BTN":"Bhutanese ngultrum","MOP":"Macanese pataca","XDR":"Special drawing rights","IMP":"Manx pound","INR":"Indian rupee","BYN":"Belarusian ruble","BOB":"Bolivian boliviano","SRD":"Surinamese dollar","GEL":"Georgian lari","ZWL":"Zimbabwean dollar","EUR":"Euro","BBD":"Barbadian dollar","RSD":"Serbian dinar","SDG":"Sudanese pound","VND":"Vietnamese đồng","VES":"Venezuelan bolívar","ZMW":"Zambian kwacha","KGS":"Kyrgyzstani som","HUF":"Hungarian forint","BND":"Brunei dollar","BAM":"Bosnia and Herzegovina convertible mark","CVE":"Cape Verdean escudo","BGN":"Bulgarian lev","NOK":"Norwegian krone","BRL":"Brazilian real","JPY":"Japanese yen","HRK":"Croatian kuna","HKD":"Hong Kong dollar","ISK":"Icelandic króna","IDR":"Indonesian rupiah","KRW":"South Korean won","KHR":"Cambodian riel","XAF":"Central African CFA franc","CHF":"Swiss franc","MXN":"Mexican peso","PHP":"Philippine peso","RON":"Romanian leu","RUB":"Russian ruble","SGD":"Singapore dollar","AED":"United Arab Emirates dirham","KWD":"Kuwaiti dinar","CAD":"Canadian dollar","PKR":"Pakistani rupee","CLP":"Chilean peso","CNY":"Renminbi","COP":"Colombian peso","AOA":"Angolan kwanza","KMF":"Comorian franc","CRC":"Costa Rican colón","CUP":"Cuban peso","GNF":"Guinean franc","NZD":"New Zealand dollar","EGP":"Egyptian pound","DJF":"Djiboutian franc","ANG":"Netherlands Antillean guilder","DOP":"Dominican peso","JOD":"Jordanian dinar","AZN":"Azerbaijani manat","SVC":"Salvadoran colón","NGN":"Nigerian naira","ERN":"Eritrean nakfa","SZL":"Swazi lilangeni","DKK":"Danish krone","ETB":"Ethiopian birr","FJD":"Fijian dollar","XPF":"CFP franc","GMD":"Gambian dalasi","AFN":"Afghan afghani","GHS":"Ghanaian cedi","GIP":"Gibraltar pound","GTQ":"Guatemalan quetzal","HNL":"Honduran lempira","GYD":"Guyanese dollar","HTG":"Haitian gourde","XCD":"Eastern Caribbean dollar","GBP":"Pound sterling","AMD":"Armenian dram","IRR":"Iranian rial","JMD":"Jamaican dollar","IQD":"Iraqi dinar","KZT":"Kazakhstani tenge","KES":"Kenyan shilling","ILS":"Israeli new shekel","LYD":"Libyan dinar","LSL":"Lesotho loti","LBP":"Lebanese pound","LRD":"Liberian dollar","AWG":"Aruban florin","MKD":"Macedonian denar","LAK":"Lao kip","MGA":"Malagasy ariary","ZAR":"South African rand","MDL":"Moldovan leu","MVR":"Maldivian rufiyaa","MUR":"Mauritian rupee","MMK":"Burmese kyat","MAD":"Moroccan dirham","XOF":"West African CFA franc","MZN":"Mozambican metical","MYR":"Malaysian ringgit","OMR":"Omani rial","NIO":"Nicaraguan córdoba","NPR":"Nepalese rupee","PAB":"Panamanian balboa","PGK":"Papua New Guinean kina","PEN":"Peruvian sol","ARS":"Argentine peso","SAR":"Saudi riyal","QAR":"Qatari riyal","SCR":"Seychellois rupee","SLL":"Sierra Leonean leone","LKR":"Sri Lankan rupee","SBD":"Solomon Islands dollar","VUV":"Vanuatu vatu","USD":"United States dollar","DZD":"Algerian dinar","BDT":"Bangladeshi taka","BSD":"Bahamian dollar","BZD":"Belize dollar","CDF":"Congolese franc","UAH":"Ukrainian hryvnia","YER":"Yemeni rial","TMT":"Turkmenistan manat","UZS":"Uzbekistani soʻm","UYU":"Uruguayan peso","CZK":"Czech koruna","SYP":"Syrian pound","TJS":"Tajikistani somoni","TWD":"New Taiwan dollar","TZS":"Tanzanian shilling","TOP":"Tongan paʻanga","TTD":"Trinidad and Tobago dollar","THB":"Thai baht","TRY":"Turkish lira","TND":"Tunisian dinar"},"status":"success"}
curl --location --request GET 'https://zylalabs.com/api/790/currency+converter+api/525/available+currencies' --header 'Authorization: Bearer YOUR_API_KEY'
Convert any currency to another with ease.
Pass the base currency and the target currency with the amount and receive the conversion.
Currency Converter - Endpoint Features
| Object | Description |
|---|---|
from |
[Required] Base currency code (AUD, CAD, EUR, GBP …) |
to |
[Required] Desired currency code (AUD, CAD, EUR, GBP …) |
amount |
[Required] Amount that needs to be converted |
{"base_currency_code":"USD","base_currency_name":"United States dollar","amount":"100.0000","updated_date":"2023-07-23","rates":{"GBP":{"currency_name":"Pound sterling","rate":"0.7775","rate_for_amount":"77.7545"}},"status":"success"}
curl --location --request GET 'https://zylalabs.com/api/790/currency+converter+api/526/currency+converter?from=USD&to=GBP&amount=1' --header 'Authorization: Bearer YOUR_API_KEY'
| 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.
The "Available Currencies" endpoint returns a list of all supported currencies, including their codes and names. The "Currency Converter" endpoint provides conversion details, including the base currency, target currency, amount, conversion rate, and the converted amount.
Key fields in the "Available Currencies" response include currency codes and names. In the "Currency Converter" response, important fields are base_currency_code, amount, rates (which includes target currency details), and updated_date.
The response data is structured in JSON format. For "Available Currencies," it contains a "currencies" object with key-value pairs of currency codes and names. The "Currency Converter" response includes a main object with base currency details and a nested "rates" object for conversion rates.
The "Available Currencies" endpoint does not require parameters. The "Currency Converter" endpoint accepts parameters such as base currency code, target currency code, and the amount to convert, allowing users to customize their requests.
The Currency Converter API sources its data from National Central Banks and market data, ensuring a reliable and accurate representation of currency exchange rates.
Typical use cases include financial applications needing real-time currency conversion, e-commerce platforms displaying prices in multiple currencies, and travel apps providing currency exchange information for travelers.
Users can utilize the returned data by extracting the conversion rate and converted amount for financial calculations, displaying currency information in applications, or integrating it into reporting tools for financial analysis.
Data accuracy is maintained through regular updates from trusted sources, including National Central Banks, and by implementing quality checks to ensure the reliability of the exchange rates provided by the API.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Service Level:
100%
Response Time:
407ms
Service Level:
100%
Response Time:
260ms
Service Level:
100%
Response Time:
203ms
Service Level:
100%
Response Time:
9,066ms
Service Level:
100%
Response Time:
46ms
Service Level:
100%
Response Time:
2,239ms
Service Level:
100%
Response Time:
15,384ms
Service Level:
100%
Response Time:
375ms
Service Level:
100%
Response Time:
199ms
Service Level:
100%
Response Time:
148ms