Home Documentation Central Bank Rates Tax Authority Rates Playground Pricing API Status Blog About FAQ Contact Us
Free Tier · 160+ Currencies · REST API

AllRatesToday — Real-Time Exchange Rate API for Developers

Start building with exchange rate APIs at no cost.

Your App
REST API
AllRatesToday
Real-Time
Global Financial Market
No credit card required
🏆 Built on decades of institutional FX market data · 99.9% Measured Uptime · Official SDKs + MCP Server
USD
Loading...
EUR
Loading rate...
Mid-market rate · Powered by AllRatesToday
Get API Key
Live API Response
GET /api/v1/rates?source=USD&target=EUR
Click "Convert" to see the live API response...

Trusted by developers & teams at

Official Central Bank & Tax Authority Rates

Mid-market rates are great for display — but tax filings, customs declarations, and audited invoices need the official published rate. We serve both from one API.

46
Central banks
3
Tax authorities
4.5M+
Historical rates

Reference rates from the Fed, ECB, Bank of England, Bank of Japan, and 42 more central banks — plus the compliance rates published by UK HMRC, the U.S. Treasury, and Swiss customs (BAZG) for VAT, customs, and financial reporting. History runs back to 2000 and earlier for major sources — the ECB series to 1999, the SNB monthly series to 1914 — so audits and restatements aren't capped at recent years.

ECB reference rate
GET /api/v1/central-bank/ecb/latest?source=USD&target=EUR
{
  "bank": "ecb",
  "name": "European Central Bank",
  "rate_date": "2026-08-07",
  "source": "USD",
  "target": "EUR",
  "rate": 0.8669,
  "rate_type": "reference",
  "method": "published"
}

Same key, same SDKs — every bank also ships as its own npm package.

How We Compare

See how AllRatesToday stacks up against other exchange rate APIs.

Feature AllRatesToday Fixer.io XE.com ExchangeRate-API
Real-time Updates Every 60s Every 60min Every 60s Every 24h
Avg Latency ~214ms ~342ms ~471ms ~134ms
HTTPS ✗ (free)
Currencies 160+ 170+ 170+ 160+
Base Currency Any EUR only Any Any
Free Tier Limited
Historical Rates ✓ Free Paid only Paid only Paid only
Output Formats JSON, CSV, XML, XLSX JSON only JSON only JSON only
CORS Support
Uptime SLA 99.9% 99.9% 99.95% 99.9%
Free Plan Free forever Free Trial only Free

Built for Developers

Everything you need to integrate currency data into your application.

Real-Time Rates

Live mid-market exchange rates updated in real-time. Unlike providers with 60-minute delays, our rates are fetched live on every request.

📈

Historical Data

Access historical rate data with flexible date ranges and time-based grouping.

📄

JSON, CSV, XML & Excel

Every data endpoint returns JSON, CSV, XML, or Excel (XLSX) with a single format parameter — pipe rates straight into spreadsheets, BI tools, and legacy systems. No conversion code needed.

🏛

Central Bank Rates

Official published rates from 46 central banks and 3 tax authorities — the Fed, ECB, Bank of England, PBOC, Reserve Bank of India, Bank of Russia, Brazil, Nigeria, Kuwait, Peru, plus UK HMRC and US Treasury — the rates required for tax, audits, and compliant invoicing. Over 4.5 million historical rates across 49 sources.

🌐

160+ Currencies

All major and popular emerging market currencies including USD, EUR, GBP, JPY, INR, and more.

🔒

Simple Auth

Bearer token authentication. Get your API key in seconds and start making requests.

🚀

Low Latency

Powered by Cloudflare's edge network for fast responses worldwide.

📦

Official SDKs

Install via npm, pip, or Composer. Official libraries for JavaScript, Python, and PHP with full TypeScript support.

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://allratestoday.com/api/v1/rates?source=USD&target=EUR"
const response = await fetch(
  'https://allratestoday.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://allratestoday.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://allratestoday.com/api/v1/rates?source=USD&target=EUR', false, $opts
);
$data = json_decode($response, true);
echo "1 USD = " . $data['rate'] . " EUR";

API Endpoints

All the endpoints you need — zero unnecessary complexity.

GET /api/v1/rates Convert between currencies with your API key
GET /api/v1/rates Authenticated rates with higher limits
GET /api/rate Simple pair rate lookup
GET /api/historical-rates Historical rate data with flexible periods
View full documentation →

Trusted by developers worldwide

35+
Official SDKs
99.9%
Measured Uptime
<50ms
Avg Response Time
160+
Currencies Supported
All Systems Operational Open Source HTTPS + Bearer Auth 160+ Currencies

What Developers Say

From side projects to production apps, developers choose AllRatesToday for reliable rate data.

★★★★★
"Switched from a daily-rate API and immediately noticed the difference. Real-time rates, clean JSON, and the SDK saved me hours of integration work."
Marcus T.
Full-Stack Developer
★★★★★
"The mid-market rates are exactly what we needed for our invoicing system. No hidden markup, transparent data source. Compliance team approved it in one review."
Priya S.
Fintech Engineer
★★★★★
"I run a small e-commerce site and needed multi-currency pricing. The React component made it a 10-minute job. Free tier covers my traffic easily."
James L.
Indie Developer

Frequently Asked Questions

Common questions about integrating the AllRatesToday API.

No. The free tier requires only an email address (or Google/GitHub login). No credit card, no trial expiry. Upgrade when you need higher limits.
Our rates are mid-market rates aggregated from institutional foreign exchange market data. No retail markup is applied.
Rates are updated every 60 seconds and fetched live on each API request. Most free competitors only update once daily from the ECB. Read more: how often are exchange rates updated?
Yes — the free plan is enough for development, prototyping, and low-traffic apps. Paid plans start at €4.99/month for 5,000 requests. See how we stack up against alternatives in our ranking of the 10 best free currency exchange APIs.
Yes. We provide official SDKs for JavaScript/TypeScript (npm), Python (PyPI), PHP (Packagist), Rust (crates.io), and a React component library, plus dedicated npm packages for each central bank feed. All SDKs are open source on GitHub.
Commercial use requires a paid plan (Small or above). The free plan is intended for personal and non-commercial use. See our pricing page for details.

Free Currency Tools

Beyond the API — explore live rates by currency pair or country.

Popular Guides

Hand-picked comparisons and how-tos from the blog.

Start Building Today

Get your free API key and integrate real-time exchange rates in minutes.

No credit card required

99.9% measured uptime · Your rate is locked for life