Real-Time Exchange Rate API for Developers
Start building with exchange rate APIs at no cost. Mid-market rates from Reuters, updated every 60 seconds.
Free Plan · 160+ Currencies · 99.9% Uptime · Setup in 30 seconds
Trusted by Developers Worldwide
Powering currency conversion for apps, SaaS platforms, and financial products with 160+ currencies
Try It Now
See what the API returns in a single request
{
"source": "USD",
"target": "EUR",
"rate": 0.9234,
"timestamp": "2026-05-07T12:00:00Z"
}
curl -H "Authorization: Bearer YOUR_API_KEY" \ "https://exchange-rateapi.com/api/v1/rates?source=USD&target=EUR"
Why Developers Choose Us
Everything you need from an exchange rate API, nothing you don't
160+ Currencies
All major and emerging market currencies including USD, EUR, GBP, JPY, INR, and many more.
Real-Time Updates
Institutional-grade mid-market rates updated every 60 seconds from Reuters / Refinitiv interbank feeds. The same data tier used by banks and trading desks — always current, always reliable.
Simple Auth
Bearer token authentication. Get your API key in seconds and start making requests immediately.
Historical Data
Access historical exchange rates with 1D, 7D, 30D, and 1Y periods. Data available back to 1999 for major pairs.
Official SDKs
First-party libraries for JavaScript, Python, PHP, and React. Install and go in under a minute.
Global Edge
Powered by Cloudflare's edge network for <50ms responses worldwide. Fast from anywhere.
Ready to integrate real-time exchange rates?
Get Free API Key →No price increases — your rate is locked for life.
Get Started in Minutes
Simple, clean API that works with any language or framework
# Get the current USD to EUR rate curl -H "Authorization: Bearer YOUR_API_KEY" \ "https://exchange-rateapi.com/api/v1/rates?source=USD&target=EUR"
const response = await fetch( 'https://exchange-rateapi.com/api/v1/rates?source=USD&target=EUR', { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } } ); const data = await response.json(); console.log(`1 USD = ${data.rate} EUR`);
import requests response = requests.get( 'https://exchange-rateapi.com/api/v1/rates', params={'source': 'USD', 'target': 'EUR'}, headers={'Authorization': 'Bearer YOUR_API_KEY'} ) data = response.json() print(f"1 USD = {data['rate']} EUR")
$opts = stream_context_create(['http' => ['header' => 'Authorization: Bearer YOUR_API_KEY']]); $response = file_get_contents( 'https://exchange-rateapi.com/api/v1/rates?source=USD&target=EUR', false, $opts ); $data = json_decode($response, true); echo "1 USD = " . $data['rate'] . " EUR";
How We Compare
See why Exchange Rate API is the best choice for developers
| Feature | Exchange Rate API | ExchangeRate-API | Fixer | Open Exchange Rates | Currencylayer |
|---|---|---|---|---|---|
| Real-time updates | ✓ 60s | ✕ Daily | ✕ 60min | ✕ Hourly | ✕ Hourly |
| Free tier | ✓ | ✓ | ✓ | ✓ | ✓ |
| Historical data on free | ✓ Paid plans | ✕ | ✕ Paid only | ✕ Paid only | ✕ Paid only |
| Base currency flexibility | ✓ Any base | ✕ USD only free | ✕ EUR only free | ✕ USD only | ✕ USD only |
| Official SDKs | ✓ JS/Py/PHP/React | ✕ | ✕ | ✕ | ✕ |
| HTTPS on free | ✓ | ✓ | ✕ HTTP only | ✓ | ✕ HTTP only |
| Starting price | From €0 | From $0 | From $0 | From $0 | From $0 |
API Endpoints
All the endpoints you need — zero unnecessary complexity
Developers Love Our API
Hear from developers who switched to Exchange Rate API
"Switched from Fixer after they locked HTTPS behind a paywall. Exchange Rate API gives me real-time rates with any base currency on the free tier. Integration took 10 minutes."
"We use the Python SDK to fetch rates every minute for our multi-currency billing pipeline. Sub-50ms responses, zero downtime in 6 months. The documentation is excellent."
"I needed historical rates for a financial dashboard. Other APIs wanted $50/month for that. Here I get it on the Small plan for under $5. No-brainer for a solo dev."
"Our Shopify app serves 2,000+ merchants and we rely on this API for real-time currency conversion at checkout. The Cloudflare edge network keeps latency under 40ms globally."
"The React SDK saved us weeks. We dropped in the hook, pointed it at the API, and had live currency conversion in our app the same afternoon. Support replied in under an hour when I had a question."
"We migrated from CurrencyLayer after their pricing jumped. The free tier here covers our staging environment, and the Medium plan handles production easily. Reuters-sourced data gives us confidence."
Install in Seconds
Official SDKs for the languages you already use
npm install @exchangerateapi/sdk
pip install exchangerateapi
composer require exchangerateapi/sdk
Get Started in 3 Steps
From sign-up to integration in minutes
Sign Up Free
Create your account and get an API key instantly.
Make a Request
Call the API with your key to get real-time rates.
Parse the Response
Get JSON with real-time rates for 160+ currencies. Integrate in minutes.
Frequently Asked Questions
Common questions about integrating the Exchange Rate API
/api/v1/rates endpoint supports historical lookups by passing a date parameter. You can retrieve rates for any past date, and time-series data is available with grouping by day, week, or month. Historical rates are available on all plans including the free tier.GET /api/v1/rates?base=USD&targets=EUR,GBP to get multiple conversion rates in a single request, or GET /api/rate?source=USD&target=EUR for a simple pair lookup (no authentication required). Our SDKs for JavaScript, Python, and PHP also include built-in conversion helper methods.Why Developers Choose Exchange Rate API
Thousands of developers rely on our exchange rate API for production apps. Here's what sets us apart from alternatives like exchangerate-api.com, Fixer, and Open Exchange Rates.
Real-Time Rates on Every Plan
Rates update every 60 seconds from Reuters/Refinitiv interbank feeds — including the free tier. Most competing APIs only offer daily ECB updates on free plans and charge extra for real-time data.
Any Base Currency, Any Plan
Use any of 160+ supported currencies as your base — USD, EUR, GBP, INR, NGN, or any other. Competitors like Open Exchange Rates restrict free plans to USD-only base currency.
Sub-50ms Global Response Times
Deployed on Cloudflare's edge network across 300+ data centres. Your API calls are served from the nearest edge location, keeping latency under 50ms regardless of where your users are.
Official SDKs & MCP Server
First-party SDKs for JavaScript, Python, and PHP. Plus an MCP server for AI agents — integrate exchange rates into Claude, Cursor, and other AI tools.
Historical Rates & Time-Series
Access exchange rates for any past date with the historical rates endpoint. Group results by day, week, or month for reporting dashboards, accounting reconciliation, or trend analysis.
Locked Pricing, No Surprises
Your plan rate is locked for life — we'll never raise prices on existing customers. Plans start at €4.99/month with no hidden fees, no overage charges, and no credit card required for the free tier.
Ready to get started?
Create a free account and get your API key in seconds.
Get Free API Key →99.9% measured uptime · Your rate is locked for life