AllRatesToday — Real-Time Exchange Rate API for Developers
Start building with exchange rate APIs at no cost.
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.
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.
{
"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.
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."
"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."
"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."
Frequently Asked Questions
Common questions about integrating the AllRatesToday API.
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.
- Free Currency API — 300 Requests/Month, No Credit Card
- 10 Best Free Currency Exchange APIs in 2026 (Ranked & Compared)
- Is the OANDA API Free? Limits, Pricing & Alternatives
- Best Free Historical Exchange Rate API in 2026
- Fixer.io Alternative: AllRatesToday Currency API
- How Often Are Exchange Rates Updated?
- How to Cache Exchange Rates and Avoid Rate Limits
- Live Exchange Rates for 160+ Currencies
- API Specifications — Full Endpoint Reference (PDF available)
Start Building Today
Get your free API key and integrate real-time exchange rates in minutes.
99.9% measured uptime · Your rate is locked for life