FX Rates API
Live & Historical Forex Rates API
Access live FX rates for major, minor, and exotic currency pairs. Historical forex data, JSON/XML responses, and ultra-fast response times.
Build Graphs with our FX Rates API Data
Loading chart data...
Analyze FX Trends with Historical Data
Leverage our FX Rates API to track historical currency trends, analyze fluctuations, and gain insights into the foreign exchange market.
Perfect for developers building financial applications, research tools, or dashboards, our FX Rates API ensures accurate and reliable forex data.
Access both live forex rates and historical data through simple REST endpoints. Learn more about our Forex API and Exchange Rate API.
Major FX Currency Pairs
Our FX Rates API delivers exchange rates for the world's most traded currency pairs. Access major, minor, and exotic pairs with reliable, up-to-date data.
FX rates powering the world's most innovative companies
Join 10,000+ developers who rely on CurrencyApi's FX rates API, with low latency JSON responses, dependable uptime, and from sources you can trust.
Get live market moves through our real-time FX rates API, plus deep coverage with historical FX rates back to 2000. Everything is delivered in clean, predictable currency API JSON for easy integration.
50M+ Requests Every Month
Built to handle high traffic smoothly and reliably.
10,000+ Happy Customers
Chosen by developers, startups, and growing teams.
Supporting Devs Since 2019
A proven platform you can count on long-term.
~50ms Average Latency
Fast responses for real-time apps and dashboards.
Forex API Pricing
Forex Rates API Code Examples
Implement our FX Rates API into your applications with ease. Choose your preferred programming language below to view example code snippets and get started in minutes.
import requests
url = "https://currencyapi.net/api/v1/rates"
params = {
"key": "YOUR_API_KEY",
"base": "USD",
"output": "JSON"
}
response = requests.get(url, params=params)
data = response.json()
print(data)Available SDKs
Python SDK
GoLang SDK
PHP SDK
Node.js SDK
Hear from Our Customers
Our FX Rates API is trusted by over 10,000 developers and businesses worldwide. See what they have to say about our API.
Your Currency Conversion API has seamlessly integrated into our systems, providing real-time data that enhances our financial operations. Exceptional reliability and support!
Oliver Lynch
CTO at MachineCo
Integrating your Currency API was a breeze. The documentation is thorough, and the support team is always ready to help. Highly recommend to our development team!
Afaan Ashiq
Tech Lead at Nate
The real-time currency data has been invaluable for our financial applications. The Currency API is lightning fast, reliable, and easy to use. We're thrilled with the results!
Peter Dudbridge
Head of Engineering at Jua.ai
FX Rates API — FAQs
Questions about our FX Rates API? Below are some of our most asked questions or feel free to get in touch.
Does the FX Rates API support live forex rates?
Yes! Our FX Rates API provides live forex rates updated as frequently as every minute on our Professional plan. The API supports major, minor, and exotic currency pairs with real-time data sourced from reputable financial institutions.
You can access live forex rates through our /api/v1/rates endpoint, which returns current exchange rates for all supported currency pairs in JSON or XML format.
Can I get historical forex rates via API?
Absolutely! Our FX Rates API includes access to historical forex data going back to the year 2000. This data is ideal for financial research, comparative trend analysis, and predictive modeling.
We provide two endpoints for historical data: /api/v1/history for single-day rates and /api/v1/timeframe for date ranges. Both endpoints return accurate, timestamped forex rates perfect for charts and analytics.
Historical data is available on paid plans (Essential and above). Learn more about our Forex API and historical endpoints.
What pairs are covered by your FX API?
Our FX Rates API covers 152 currencies including all major forex pairs (EUR/USD, GBP/USD, USD/JPY, etc.), minor pairs, and exotic pairs. We also support cryptocurrencies and precious metals.
Major pairs include USD, EUR, GBP, JPY, AUD, CAD, CHF, and CNY. You can view the complete list of supported currencies and pairs on our Currency List page.
All pairs are available through the same API endpoints, making it easy to fetch rates for any combination of currencies.
How accurate are the FX rates in your API?
Our FX rates are aggregated from multiple reputable financial sources and central banks. We use automated validation and fallback providers to ensure accuracy and consistency.
The update frequency depends on your plan: Professional (1 minute), StartUp (10 minutes), Essential & Free (60 minutes). This ensures you always have access to current, reliable forex rates for your applications.
Is there a free tier for the FX Rates API?
Yes! We offer a free plan with 500 monthly requests and hourly updates. This is perfect for personal projects, testing, or small applications.
For production use with higher request limits, faster updates, and access to historical data, check out our paid plans starting at $9.99/month. Learn more about our Free Exchange Rate API.
Can I use the FX Rates API for trading?
Our FX Rates API is designed for applications that need reliable exchange rate data, such as currency converters, financial dashboards, invoicing systems, and e-commerce platforms.
However, our data is delayed up to one minute, so we do not recommend using it for live trading. For trading purposes, you would need real-time market data from specialized trading platforms.