Forex Rates API that offers a reliable and accurate solution for obtaining currency exchange rates for 172 global currencies. With its user-friendly interface and robust functionality, Forex Rates API is the go-to choice for businesses, developers, and financial institutions seeking seamless integration of currency conversion capabilities into their applications and systems.
One of the standout features of Forex Rates API is its unwavering commitment to data accuracy. The API leverages trusted and up-to-date sources to provide the most precise and reliable exchange rates available. This ensures that businesses and developers can confidently rely on Forex Rates API to accurately convert currency values, eliminating the risk of errors or miscalculations that could have significant financial implications.
Affordability is another key aspect of Forex Rates API. The API offers its exceptional currency exchange rate data at a cost-effective price point, making it accessible to businesses of all sizes and budgets. Forex Rates API understands the importance of delivering value to its users, and its competitive pricing structure reflects this commitment.
Integration with Forex Rates API is seamless and hassle-free. The API follows the REST architectural style, utilizing JSON as its data format. This allows for straightforward integration into a wide range of applications and programming languages. Whether you are building a mobile app, e-commerce platform, financial management system, or any other application that requires currency exchange functionality, Forex Rates API provides the necessary tools and resources to ensure a smooth integration process.
Forex Rates API supports a comprehensive range of 172 world currencies, including major currencies such as USD, EUR, GBP, JPY, and CAD, as well as lesser-known or exotic currencies. This broad coverage ensures that businesses operating on a global scale can confidently cater to their diverse customer base, regardless of their location or currency preference.
The API also offers flexibility in terms of data retrieval. Users can access real-time exchange rates, historical exchange rate data, or even perform currency conversions based on specific dates or timeframes. This level of flexibility empowers businesses to analyze currency trends, perform financial calculations, and generate accurate reports.
In summary, Forex Rates API is a JSON-based REST API that provides businesses, developers, and financial institutions with reliable, accurate, and affordable currency exchange rate data for 172 global currencies. With its commitment to data accuracy, competitive pricing, seamless integration, and comprehensive currency coverage, Forex Rates API is the ideal solution for those seeking a dependable currency conversion API to enhance their applications and systems.
Use this endpoint to retrieve all the available symbols that we support for your queries.
Supported Symbols - Endpoint Features
| Object | Description |
|---|
{"ADA":"Cardano","AED":"United Arab Emirates Dirham","AFN":"Afghan Afghani","ALL":"Albanian Lek","ALU":"Aluminum","AMD":"Armenian Dram","ANG":"Netherlands Antillean Gulden","AOA":"Angolan Kwanza","ARS":"Argentine Peso","AUD":"Australian Dollar","AWG":"Aruban Florin","AZN":"Azerbaijani Manat","BAM":"Bosnia and Herzegovina Convertible Mark","BBD":"Barbadian Dollar","BCH":"Bitcoin Cash","BDT":"Bangladeshi Taka","BGN":"Bulgarian Lev","BHD":"Bahraini Dinar","BIF":"Burundian Franc","BMD":"Bermudian Dollar","BND":"Brunei Dollar","BOB":"Bolivian Boliviano","BRENTOIL":"Brent Crude Oil","BRL":"Brazilian Real","BSD":"Bahamian Dollar","BTC":"Bitcoin","BTN":"Bhutanese Ngultrum","BWP":"Botswana Pula","BYN":"Belarusian Ruble","BYR":"Belarusian Ruble","BZD":"Belize Dollar","CAD":"Canadian Dollar","CANO":"Canola","CDF":"Congolese Franc","CHF":"Swiss Franc","CLF":"Unidad de Fomento","CLP":"Chilean Peso","CNH":"Chinese Renminbi Yuan Offshore","CNY":"Chinese Renminbi Yuan","COAL":"Coal","COCOA":"Cocoa","COFFEE":"Arabica Coffee","COP":"Colombian Peso","CORN":"Corn","COTTON":"Cotton","CPO":"Crude Palm Oil","CRC":"Costa Rican Col\u00f3n","CUC":"Cuban Convertible Peso","CVE":"Cape Verdean Escudo","CZK":"Czech Koruna","DJF":"Djiboutian Franc","DKK":"Danish Krone","DOP":"Dominican Peso","DZD":"Algerian Dinar","EEK":"Estonian Kroon","EGP":"Egyptian Pound","ERN":"Eritrean Nakfa","ETB":"Ethiopian Birr","ETH":"Ethereum","ETHANOL":"Ethanol","EUR":"Euro","FJD":"Fijian Dollar","FKP":"Falkland Pound","GBP":"British Pound","GEL":"Georgian Lari","GGP":"Guernsey Pound","GHS":"Ghanaian Cedi","GIP":"Gibraltar Pound","GMD":"Gambian Dalasi","GNF":"Guinean Franc","GTQ":"Guatemalan Quetzal","GYD":"Guyanese 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":"Isle of Man Pound","INR":"Indian Rupee","IQD":"Iraqi Dinar","IRD":"Iridium (Troy Ounce)","ISK":"Icelandic Kr\u00f3na","JEP":"Jersey Pound","JMD":"Jamaican Dollar","JOD":"Jordanian Dinar","JPY":"Japanese Yen","KCH23":"Arabica Coffee Mar 23","KCK23":"Arabica Coffee May 23","KCN22":"Arabica Coffee Jul 22","KCN23":"Arabica Coffee Jul 23","KCU22":"Arabica Coffee Sep 22","KCU23":"Arabica Coffee Sep 23","KCZ22":"Arabica Coffee Dec 22","KES":"Kenyan Shilling","KGS":"Kyrgyzstani Som","KHR":"Cambodian Riel","KMF":"Comorian Franc","KRW":"South Korean Won","KWD":"Kuwaiti Dinar","KYD":"Cayman Islands Dollar","KZT":"Kazakhstani Tenge","LAK":"Lao Kip","LBP":"Lebanese Pound","LCAT":"Live Cattle","LCO":"Cobalt (Troy Ounce)","LHOG":"Lean Hog","LINK":"Chainlink","LKR":"Sri Lankan Rupee","LRD":"Liberian Dollar","LSL":"Lesotho Loti","LTC":"Litecoin","LTL":"Lithuanian Litas","LUMBER":"Lumber","LVL":"Latvian Lats","LYD":"Libyan Dinar","MAD":"Moroccan Dirham","MDL":"Moldovan Leu","MGA":"Malagasy Ariary","MKD":"Macedonian Denar","MMK":"Myanmar Kyat","MNT":"Mongolian T\u00f6gr\u00f6g","MOP":"Macanese Pataca","MRO":"Mauritanian Ouguiya","MTL":"Maltese Lira","MUR":"Mauritian Rupee","MVR":"Maldivian Rufiyaa","MWK":"Malawian Kwacha","MXN":"Mexican Peso","MYR":"Malaysian Ringgit","MZN":"Mozambican Metical","NAD":"Namibian Dollar","NG":"Natural Gas","NGN":"Nigerian Naira","NI":"Nickel","NIO":"Nicaraguan C\u00f3rdoba","NOK":"Norwegian Krone","NPR":"Nepalese Rupee","NZD":"New Zealand Dollar","OAT":"Oat","OMR":"Omani Rial","PAB":"Panamanian Balboa","PEN":"Peruvian Sol","PGK":"Papua New Guinean Kina","PHP":"Philippine Peso","PKR":"Pakistani Rupee","PLN":"Polish Z\u0142oty","PYG":"Paraguayan Guaran\u00ed","QAR":"Qatari Riyal","RICE":"Rice","RMF23":"Robusta Coffee Jan 23","RMH23":"Robusta Coffee Mar 23","RMN22":"Robusta Coffee Jul 22","RMU22":"Robusta Coffee Sep 22","RMX22":"Robusta Coffee Nov 22","ROBUSTA":"Robusta Coffee","RON":"Romanian Leu","RSD":"Serbian Dinar","RUB":"Russian Ruble","RUBBER":"Rubber","RUTH":"Ruthenium","RWF":"Rwandan Franc","SAR":"Saudi Riyal","SBD":"Solomon Islands Dollar","SBH23":"Sugar Mar 23","SBK23":"Sugar May 23","SBN22":"Sugar Jul 22","SBV22":"Sugar Oct 22","SCR":"Seychellois Rupee","SEK":"Swedish Krona","SGD":"Singapore Dollar","SHP":"Saint Helenian Pound","SLL":"Sierra Leonean Leone","SOS":"Somali Shilling","SOYBEAN":"Soybeans","SRD":"Surinamese Dollar","SSP":"South Sudanese Pound","STD":"S\u00e3o Tom\u00e9 and Pr\u00edncipe Dobra","SUGAR":"Sugar","SVC":"Salvadoran Col\u00f3n","SZL":"Swazi Lilangeni","THB":"Thai Baht","TIN":"Tin","TJS":"Tajikistani Somoni","TMT":"Turkmenistani Manat","TND":"Tunisian Dinar","TOP":"Tongan Pa\u02bbanga","TRY":"Turkish Lira","TTD":"Trinidad and Tobago Dollar","TWD":"New Taiwan Dollar","TZS":"Tanzanian Shilling","UAH":"Ukrainian Hryvnia","UGX":"Ugandan Shilling","UNI":"Uniswap","USD":"United States Dollar","UYU":"Uruguayan Peso","UZS":"Uzbekistan Som","VEF":"Venezuelan Bol\u00edvar","VES":"Venezuelan Bol\u00edvar Soberano","VND":"Vietnamese \u0110\u1ed3ng","VUV":"Vanuatu Vatu","WHEAT":"Wheat","WST":"Samoan Tala","WTIOIL":"WTI Crude Oil","XAF":"Central African Cfa Franc","XAG":"Silver (Troy Ounce)","XAU":"Gold (Troy Ounce)","XCD":"East Caribbean Dollar","XCU":"Copper","XDR":"Special Drawing Rights","XLM":"Stellar","XOF":"West African Cfa Franc","XPD":"Palladium (Troy Ounce)","XPF":"Cfp Franc","XPT":"Platinum (Troy Ounce)","XRH":"Rhodium (Troy Ounce)","XRP":"Ripple","XRP2":"Ripple","YER":"Yemeni Rial","ZAR":"South African Rand","ZMK":"Zambian Kwacha","ZMW":"Zambian Kwacha","ZNC":"Zinc","ZWL":"Zimbabwean Dollar","ZWN2":"Wheat ZWN2","ZWU2":"Wheat ZWU2"}
curl --location --request GET 'https://zylalabs.com/api/9/forex+rates+api/37/supported+symbols' --header 'Authorization: Bearer YOUR_API_KEY'
The API's latest endpoint returns real-time exchange rate data for multiple currencies, providing accurate and up-to-date financial information.
NOTE: When fetching rates with any currency selected as the base currency (utilizing the 'base' parameter, defaulting to USD if not specified), it is necessary to apply 1/value to the API response.
Latest Rates - Endpoint Features
| Object | Description |
|---|---|
base |
[Required] Enter a currency base |
symbols |
[Required] Enter a list of comma-separated currency codes to limit output codes. Check "Supported Symbols" endpoint to check. |
{"data":{"success":true,"timestamp":1684510860,"date":"2023-05-19","base":"USD","rates":{"EUR":0.92451432950985,"GBP":0.8022813333333333,"INR":82.87388513770813,"JPY":137.5309583333333,"USD":1},"unit":{}}}
curl --location --request GET 'https://zylalabs.com/api/9/forex+rates+api/41/latest+rates?base=Required&symbols=Required' --header 'Authorization: Bearer YOUR_API_KEY'
Do you want to check the rates for a specific symbol on a specific date?
With this endpoint, you will be able to get historical rates for most symbols all the way back to 2022. You will be able to retrieve historical rates just by appending a date (format YYYY-MM-DD).
NOTE: When fetching rates with any currency selected as the base currency (utilizing the 'base' parameter, defaulting to USD if not specified), it is necessary to apply 1/value to the API response.
Historical Rates - Endpoint Features
| Object | Description |
|---|---|
base |
[Required] Enter the three-letter currency code of your preferred base currency. Check "Supported Symbols" endpoint. |
symbols |
[Required] Enter the tree-letter currency code of your preference. |
date |
[Required] |
{"data":{"success":true,"historical":true,"date":"2023-03-17","base":"USD","rates":{"EUR":0.93162609745554,"GBP":0.8210176666666666,"INR":82.53591366666635,"JPY":131.84033161231062,"USD":1},"unit":{}}}
curl --location --request GET 'https://zylalabs.com/api/9/forex+rates+api/42/historical+rates?base=USD&symbols=EUR&date=Required' --header 'Authorization: Bearer YOUR_API_KEY'
With this endpoint, you will be able to retrieve daily historical rates between two dates of your choice.
NOTE: When fetching rates with any currency selected as the base currency (utilizing the 'base' parameter, defaulting to USD if not specified), it is necessary to apply 1/value to the API response.
Time-Series - Endpoint Features
| Object | Description |
|---|---|
start_date |
[Required] The start date of your preferred timeframe. Ex: 2022-05-20 |
end_date |
[Required] The end date of your preferred timeframe. Ex: 2022-05-30 |
base |
[Required] Enter the three-letter currency code of your preferred base currency. Check "Supported Symbols" endpoint. |
symbols |
[Required] Enter the three-letter currency code of your preferred currency symbol. JUST ONE SYMBOL PER QUERY IS SUPPORTED. Check "Supported Symbols" endpoint. |
{"data":{"success":true,"timeseries":true,"start_date":"2023-04-10","end_date":"2023-05-17","base":"USD","rates":{"2023-04-10":{"GBP":0.8044823333333333,"USD":1},"2023-04-11":{"GBP":0.8070114504164662,"USD":1},"2023-04-12":{"GBP":0.804530670586401,"USD":1},"2023-04-13":{"GBP":0.8004533313521845,"USD":1},"2023-04-14":{"GBP":0.7984589391476303,"USD":1},"2023-04-15":{"GBP":0.8053205808275489,"USD":1},"2023-04-16":{"GBP":0.805321514878317,"USD":1},"2023-04-18":{"GBP":0.8081285892862058,"USD":1},"2023-04-19":{"GBP":0.8048889988809842,"USD":1},"2023-04-20":{"GBP":0.8046438473730663,"USD":1},"2023-04-21":{"GBP":0.8038250983052482,"USD":1},"2023-04-22":{"GBP":0.8040845077288984,"USD":1},"2023-04-23":{"GBP":0.8040951551897813,"USD":1},"2023-04-24":{"GBP":0.8033282391572137,"USD":1},"2023-04-26":{"GBP":0.8055107833159033,"USD":1},"2023-04-28":{"GBP":0.8001762013238393,"USD":1},"2023-04-29":{"GBP":0.795547659289988,"USD":1},"2023-04-30":{"GBP":0.7954113726389046,"USD":1},"2023-05-01":{"GBP":0.7963054457789743,"USD":1},"2023-05-03":{"GBP":0.8015079814164789,"USD":1},"2023-05-05":{"GBP":0.7947164120930191,"USD":1},"2023-05-06":{"GBP":0.791287236997473,"USD":1},"2023-05-10":{"GBP":0.7920871853604012,"USD":1},"2023-05-11":{"GBP":0.7919465868984644,"USD":1},"2023-05-13":{"GBP":0.8031236666666667,"USD":1},"2023-05-15":{"GBP":0.8031479925689047,"USD":1},"2023-05-16":{"GBP":0.798385,"USD":1},"2023-05-17":{"GBP":0.8009897055333579,"USD":1}},"unit":{}}}
curl --location --request GET 'https://zylalabs.com/api/9/forex+rates+api/44/time-series?start_date=2025-01-01&end_date=2025-01-10&base=USD&symbols=EUR' --header 'Authorization: Bearer YOUR_API_KEY'
Allows you to query the API to get the open, high, low, and close price.
This endpoint has a limitation of one symbol per request.
NOTE: When fetching rates with any currency selected as the base currency (utilizing the 'base' parameter, defaulting to USD if not specified), it is necessary to apply 1/value to the API response.
OHLC Price - Endpoint Features
| Object | Description |
|---|---|
base |
[Required] Enter the three-letter currency code of your preferred base currency |
symbols |
[Required] Enter the three-letter currency code of your preferred base currency |
DATE |
[Required] |
{"success":true,"timestamp":1684511060,"date":"2023-03-01","base":"USD","symbol":"GBP","rates":{"open":0.8314897899947759,"high":0.83536283481073,"low":0.8274179489250157,"close":0.83146699927278}}
curl --location --request GET 'https://zylalabs.com/api/9/forex+rates+api/46/ohlc+price?base=Required&symbols=Required&DATE=Required' --header 'Authorization: Bearer YOUR_API_KEY'
This endpoint can be used to convert any amount from one currency to another. To convert currencies, use the API conversion endpoint, add the “from” and “to” parameters and set them to your preferred base and target currency codes.
NOTE: When fetching rates with any currency selected as the base currency (utilizing the 'base' parameter, defaulting to USD if not specified), it is necessary to apply 1/value to the API response.
Conversion - Endpoint Features
| Object | Description |
|---|---|
to |
[Required] Indicates currency to conversion |
amount |
[Required] Indicates an amount |
date |
[Required] Indicates a date |
from |
[Required] Indicates base currency |
{"data":{"success":true,"query":{"from":"USD","to":"EUR","amount":"100"},"info":{"timestamp":1720396740,"rate":0.92353840811532},"historical":true,"date":"2024-07-07","result":92.353840811532,"unit":"per barrel for Oil, per ounce for Metals. Per 10 metric tons for Crude Palm Oil, Per MMBtu for Natural gas, Per Gallon for Ethanol. Per metric ton, per lb or per bushel for Agriculture"}}
curl --location --request GET 'https://zylalabs.com/api/9/forex+rates+api/8362/conversion?to=Required&amount=Required&date=Required&from=Required' --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.
Each endpoint returns specific data related to currency exchange rates. For example, the "Latest Rates" endpoint provides real-time exchange rates, while the "Historical Rates" endpoint returns past rates for specified dates. The "Conversion" endpoint gives the converted amount between two currencies.
Key fields include "success" (indicating request success), "timestamp" (the time of the data), "base" (the base currency), and "rates" (the exchange rates for various currencies). For historical data, "date" is also included.
The response data is structured in JSON format. It typically includes a top-level "data" object containing success status, timestamps, and nested objects for rates or historical data, making it easy to parse and utilize in applications.
Common parameters include "base" (to specify the base currency), "from" and "to" (for currency conversion), and "date" (for historical data). Users can customize requests by adjusting these parameters to fit their needs.
Each endpoint provides different information: "Supported Symbols" lists available currencies, "Latest Rates" gives current exchange rates, "Historical Rates" offers past rates, and "Conversion" provides direct currency conversion results.
Data accuracy is maintained by leveraging trusted and up-to-date sources for exchange rates. The API continuously updates its data to ensure users receive the most reliable and precise information for their applications.
Typical use cases include financial applications requiring real-time currency conversion, e-commerce platforms needing to display prices in multiple currencies, and financial institutions analyzing historical currency trends for reporting and forecasting.
Users can utilize the returned data by parsing the JSON response to extract relevant fields. For example, they can use the "rates" object to display current exchange rates or perform calculations for currency conversions in their applications.
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:
53ms
Service Level:
100%
Response Time:
255ms
Service Level:
100%
Response Time:
148ms
Service Level:
100%
Response Time:
307ms
Service Level:
100%
Response Time:
77ms
Service Level:
100%
Response Time:
141ms
Service Level:
100%
Response Time:
743ms
Service Level:
100%
Response Time:
108ms
Service Level:
100%
Response Time:
260ms
Service Level:
100%
Response Time:
48ms
Service Level:
100%
Response Time:
819ms
Service Level:
100%
Response Time:
796ms
Service Level:
100%
Response Time:
802ms
Service Level:
100%
Response Time:
1,124ms
Service Level:
100%
Response Time:
771ms
Service Level:
100%
Response Time:
1,062ms
Service Level:
100%
Response Time:
20,002ms
Service Level:
100%
Response Time:
335ms
Service Level:
100%
Response Time:
798ms
Service Level:
100%
Response Time:
254ms