The Forex market is the largest and most liquid financial market in the world, boasting a daily trading volume of over $6.6 trillion. It offers many opportunities for traders, investors, and researchers looking to profit from fluctuations in currency exchange rates.
This brief article will take you through how to get reliable currency data for free.
Twelve Data has a huge list of real-time exchange rates starting the major ones such as CAD/USD (Canadian Dollar to US dollar) and finishing with exotic currencies such as HKD/KES (Hong Kong Dollar to Kenyan Shilling). Totaling over 2,000 pairs, Twelve Data API is one of the largest providers of daily exchange rates.
Access to real-time forex rates and exchange rate history is possible through API, a comprehensive Python library, Excel Add-in or Google Sheets Add-on.
Usage
Real-time forex data updates non-stop during all trading sessions from Monday 7:00 am Australia/Sydney
time to Friday 5:00 pm EST
time.
Historical data can be accessed for over 40 years.
Forex API allows to make requests on the following intervals: 1min
, 5min
, 15min
, 30min
, 45min
, 1h
, 2h
, 4h
, 1day
, 1week
and 1month
Currency requests have the following format for symbol parameter
symbol={BASE}/{QUOTE}
Swiss Franc (CHF) to Singapore Dollar (SGD) 1-minute exchange rates
https://api.twelvedata.com/time_series?symbol=CHF/SGD&interval=1min&apikey=your_api_key
Forex Rates
Examples of currency exchange rates
Chilean Peso (CLP) to US Dollar (USD) daily exchange rates
https://api.twelvedata.com/time_series?symbol=CLP/USD&interval=1day&apikey=your_api_key
Pakistani Rupee (PKR) to Japanese Yen (JPY) real-time exchange rate
https://api.twelvedata.com/exchange_rate?symbol=PKR/JPY&apikey=your_api_key
Conversion of 100 Chinese Yuan (CNY) to Euro (EUR)
https://api.twelvedata.com/currency_conversion?symbol=CNY/EUR&amount=100&apikey=your_api_key
Free Forex API: A Boon for Aspiring Traders
While there are numerous paid Forex API options available, our free Forex API has gained popularity among aspiring traders and developers due to their cost-effectiveness.
These free API offers basic functionalities and access to essential market data, making it an ideal starting point for traders with limited resources or those who wish to explore the Forex market before committing to a premium API service.
Twelve Data’s API can be your ideal first step into the world of Forex APIs.
Useful resources
- Full list of available forex pairs in JSON and CSV formats
- Explanation of all acceptable API parameters for currency requests
- Instantly get your free API Key
Updated August 5, 2023