Skip to content
@AllRates-Today

AllRatesToday

Accurate, affordable currency exchange rate API for 160+ currencies. Real-time, historical, and conversion endpoints. Built by developers, for developers.

AllRatesToday — Exchange Rate APIs for Developers and Compliance Teams

Powered by AllRatesToday API Status License

AllRatesToday serves two kinds of exchange rate, because reporting and pricing need different numbers:

  • Mid-market rates for 160+ currencies — fetched live on every request, no markup and no spread.
  • Official published rates from 121 central banks and 3 tax authorities — the fixed, citable numbers that tax filings, customs declarations, audits, and compliant invoicing require.

🏁 Quick start — no key needed

Every central bank's latest table is open, CORS-enabled and edge-cached. No sign-up.

curl "https://allratestoday.com/api/open/central-bank/ecb?source=EUR&target=USD"

The same tables, with full history, are plain files on a CDN:

https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/ecb/latest.json
https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/hmrc/history/2026.csv

→ central-bank-exchange-rates — 124 institutions as daily JSON and CSV, refreshed four times a day. → free-exchange-rate-api — every keyless endpoint in one page: open central-bank tables, Frankfurter/Fixer/exchangeratesapi/exchangerate.host drop-ins, CDN JSON, hosted MCP.

Real-time mid-market rates for 160+ currencies take a free API key (get one, no credit card):

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://allratestoday.com/api/v1/rates?source=USD&target=EUR,GBP,JPY"

🚀 Starter templates

Click Use this template and you have a working app in a minute. All of them run keyless on official rates.

Template Stack
nextjs-currency-starter Next.js 15 App Router, server-side key for live rates
react-currency-converter React + Vite, browser only
python-currency-cli Python 3.9+, zero dependencies, currency convert 100 USD EUR
google-sheets-exchange-rates Apps Script: =CBRATE("ecb","USD")
central-bank-rates-demo Static site on GitHub Pages using every per-bank SDK

🏦 Central Bank Rates API

Tax filings, customs declarations, audits, statutory accounts and invoicing rules in most countries don't ask what the market said — they require the official rate published by the central bank for a given date. That number is fixed, citable, and never changes after publication. This API serves those tables.

121 central banks and 3 tax authorities, over 8 million published rates, the oldest reaching back to 1914.

# The ECB's latest published table — one pair from it
curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://allratestoday.com/api/v1/central-bank/ecb/latest?source=EUR&target=USD"
{
  "bank": "ecb",
  "rate_date": "2026-08-12",
  "source": "EUR",
  "target": "USD",
  "rate": 1.1545,
  "rate_type": "reference",
  "derived": false,
  "method": "published"
}

Endpoints

Endpoint Returns
/api/v1/central-banks Every covered source — home currency, rate types, latest date, depth of history
/api/v1/central-bank/{bank}/latest The bank's most recent published table — free tier included
/api/v1/central-bank/{bank}/{YYYY-MM-DD} The official table in force on that date
/api/v1/central-bank/{bank}/history Daily series for one pair over a date range
/api/v1/central-bank/{bank}/availability Which dates the bank actually published

Every endpoint also speaks ?format=csv, xml and xlsx — the spreadsheet an auditor asks for, without a conversion step.

What makes it usable for compliance

  • The institution's own publication date on every response, not the date you asked for. Request a weekend or a holiday and you get the table that was legally in force, flagged with published_on_requested_date: false.
  • Nothing silently invented. Pairs a bank does not print directly are cross-computed from its own table and flagged derived, so an official rate is never confused with one we calculated.
  • Deep archives, not just the last few years: the SNB series reaches 1914, the Bank of Korea 1964, the HKMA 1981, the ECB 1999, the Central Bank of Kuwait 2008 across its full 134-currency board.
  • One key, one quota, one bill — central bank calls count the same as any other request, and the free tier covers latest tables.

Coverage

The ECB, US Federal Reserve (H.10), Bank of England, People's Bank of China, Reserve Bank of India, Bank of Canada, Bank of Japan, Swiss National Bank, Central Bank of Sri Lanka and 110 more — with a deliberate focus on the South and Southeast Asian, African and Latin American central banks other providers skip. For tax work: HM Revenue & Customs, the US Treasury and Swiss customs (BAZG).

Every covered source also has a dedicated zero-dependency npm package hosted in this org — ecb-exchange-rate, fed-exchange-rate, cbsl-exchange-rate, rbi-exchange-rate and 120 more.

📦 Official SDKs

Language Package Install
JavaScript/TypeScript @allratestoday/sdk npm i @allratestoday/sdk
Python allratestoday pip install allratestoday
PHP allratestoday/sdk composer require allratestoday/sdk
Go allratestoday-go go get github.com/AllRates-Today/allratestoday-go
Rust allratestoday cargo add allratestoday
React react-currency-localizer-realtime npm i react-currency-localizer-realtime

🤖 AI & MCP integrations

  • mcp-server — MCP server for Claude Code, Cursor, Claude Desktop, and Windsurf
  • central-bank-mcp — official central-bank and tax-authority rates for AI agents, keyless
  • claude-code-plugin — Claude Code plugin, no API key needed
  • realtime-exchange-rate-mcp — Realtime FX rates MCP server
  • currency-agent — Currency agent sample built on A2A, Google ADK and MCP
  • allratestoday-deepseek — DeepSeek function-calling tools
  • Agent trial keys — POST https://allratestoday.com/api/agent/keys (JSON) issues a 100-call, 7-day key with no signup; MCP tool request_trial_key
  • Daily Reference Rate — one fixed table per business day (16:00 London), keyless at /api/open/reference-rate, MCP tool get_reference_rate

🧰 Developer tools

🔗 Links

Website | Exchange Rate API | Currency API | API Docs | API Reference | Central Bank Rates | Tax Authority Rates | Get Free API Key | Status | Discord

Pinned Loading

  1. exchange-rates-api exchange-rates-api Public

    AllRatesToday — Free real-time & historical currency exchange rate REST API. 160+ currencies, official SDKs (JS/TS, Python, PHP, React).

    TypeScript 6 3

  2. allratestoday-deepseek allratestoday-deepseek Public

    DeepSeek function-calling tools for live currency exchange rates and historical data — powered by AllRatesToday.

    Python 1 1

  3. currency-converter currency-converter Public

    Currency converter powered by AllRatesToday — real-time mid-market exchange rates for 150+ currencies.

    TypeScript

  4. fx-rates fx-rates Public

    Lightweight Node.js library and CLI for real-time mid-market currency exchange rates. 160+ currencies via the AllRatesToday API.

    TypeScript 1

  5. mcp-server mcp-server Public

    MCP server bringing live FX rates, historical data, and multi-currency lookups from AllRatesToday to Claude Code, Cursor, Claude Desktop, and Windsurf. Free API key required.

    TypeScript 4 1

  6. realtime-exchange-rate-mcp realtime-exchange-rate-mcp Public

    MCP server for realtime currency exchange rates, historical FX data, and multi-currency lookups. Works with Claude Code, Cursor, Claude Desktop, and Windsurf.

    TypeScript

Repositories

Showing 10 of 153 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…