ECB Reference Data • 29+ Currencies • Free Forex API
Currency Exchange Rate API
Access official European Central Bank (ECB) foreign exchange reference rates via a fast REST API. Convert USD, EUR, GBP, JPY, and 29+ major world currencies in clean JSON. Reliable forex rate API for e-commerce, financial dashboards, and SaaS applications.
Live FX Rates (ECB)
Updated Daily
1.00 USD
Base Currency
0.9214 EUR
EUR
0.7845 GBP
GBP
154.20 JPY
JPY
GET /api/v1/exchange-rate?from=USD
ECB-Backed Foreign Exchange Data for Developers
Currency Exchange Rate API is a financial data API that delivers real-time foreign exchange (forex) rates for 29+ fiat currencies sourced daily from the European Central Bank (ECB) in clean JSON format with custom base currency conversion support.
Managing multi-currency pricing and global transactions requires dependable, accurate exchange rate data. Our Currency Exchange Rate API sources foreign exchange rates directly from the official European Central Bank (ECB) daily reference publications, providing institutional-grade accuracy for financial applications.
Supported currencies include 29+ major fiat currencies: USD (US Dollar), EUR (Euro), GBP (British Pound), JPY (Japanese Yen), AUD (Australian Dollar), CAD (Canadian Dollar), CHF (Swiss Franc), CNY (Chinese Yuan), HKD (Hong Kong Dollar), SGD (Singapore Dollar), THB (Thai Baht), VND (Vietnamese Dong), ZAR (South African Rand), and more.
Pass any base currency parameter (e.g. from=EUR or from=USD) to convert all rate values dynamically relative to your desired base currency. Responses are served in high-speed JSON format with global CDN caching.
Supported Fiat Currencies Grid
USD
EUR
GBP
JPY
AUD
CAD
CHF
CNY
HKD
NZD
SEK
NOK
DKK
SGD
PLN
BRL
INR
KRW
MXN
THB
MYR
IDR
HUF
CZK
RON
TRY
ZAR
VND
ILS
FX API Specs
source
European Central Bank (ECB)
frequency
Updated daily at 16:00 CET
coverage
29+ major fiat currencies
base currency
Customizable (`from=USD`, etc.)
free quota
5,000 requests/month included
Quick Developer Code Snippets
curl -X GET "https://serpapi.org/api/v1/exchange-rate?from=USD&token=YOUR_API_KEY"
import requests
url = "https://serpapi.org/api/v1/exchange-rate"
params = {"from": "USD", "token": "YOUR_API_KEY"}
response = requests.get(url, params=params)
rates = response.json().get("rates", {})
print(f"1 USD = {rates.get('EUR')} EUR")
print(f"1 USD = {rates.get('GBP')} GBP")
print(f"1 USD = {rates.get('JPY')} JPY")
const fetch = require('node-fetch');
async function getRates() {
const res = await fetch('https://serpapi.org/api/v1/exchange-rate?from=USD&token=YOUR_API_KEY');
const data = await res.json();
console.log(`USD to EUR: ${data.rates.EUR}`);
}
getRates();
<?php
$json = file_get_contents("https://serpapi.org/api/v1/exchange-rate?from=USD&token=YOUR_API_KEY");
$data = json_decode($json, true);
echo "1 USD = {$data['rates']['EUR']} EUR\n";
Exchange Rate API FAQ
Exchange rate data is sourced directly from official European Central Bank (ECB) reference rates updated daily.
Over 29 major world currencies including USD, EUR, GBP, JPY, AUD, CAD, CHF, CNY, HKD, SGD, THB, VND, and ZAR are supported.
Yes, pass the 'from' parameter (e.g. from=EUR or from=USD) to convert rates relative to your desired base currency.
Every free tier account includes 5,000 monthly queries. Rates are cached and updated daily in sync with central bank publication schedules.
Yes, it is ideal for online stores needing reliable daily currency conversions for product pricing and global shopping cart displays.
Yes, pass your secret token parameter in requests. You can generate a free token instantly upon account registration.
Explore Related Developer APIs
Combine Currency Exchange Rates with Crypto Prices, Shopping, and Web Search APIs for financial data intelligence.