USD
Loading...
EUR
Loading rate...
Mid-market rate · Powered by AllRatesToday
Get API Key

Exchange Rate Trend

Loading chart data...

Currency Converter API: the same rates, in one call

This converter is a thin layer over two APIs. Both return JSON, both take one HTTP call, and both have a free tier — no credit card.

Mid-market exchange rate API

The live interbank midpoint — the number shown above. It moves continuously and is refreshed every 60 seconds across 160 currencies. Use it for pricing, checkout, display and anything a customer sees.

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

[{ "rate": 0.8643, "source": "USD", "target": "EUR",
   "time": "2026-08-16T11:01:24+0000" }]
  • Several targets at oncetarget=EUR,GBP,JPY returns one row per pair in a single call.
  • Historical/api/historical-rates for a date range, or ?time=YYYY-MM-DD for one past day.
  • Four formats — add ?format=csv, xml or xlsx to get a file instead of JSON.

Central bank rate API

The rate a named institution actually published for a given date, from 102 central banks and 3 tax authorities. Unlike a mid-market rate it never changes after publication, which is what tax filings, customs valuations and audits require.

curl "https://allratestoday.com/api/v1/central-bank/ecb/latest?source=USD&target=EUR" \
  -H "Authorization: Bearer YOUR_API_KEY"

{ "bank": "ecb", "rate_date": "2026-08-14", "rate": 0.8643,
  "rate_type": "reference", "derived": false, "method": "published" }
  • Any past date/central-bank/{bank}/2026-06-30. If the bank did not publish that day you get the most recent prior date, flagged.
  • Every bank at once/api/v1/central-banks/rates returns all sources for one pair, so you can compare what each institution published.
  • Nothing is guessed — pairs a bank does not print are cross-computed from that bank's own table and returned with "derived": true and the method used. Banks are never mixed.

Official SDKs

npm install @allratestoday/sdk · pip install allratestoday · composer require allratestoday/sdk

For AI agents

An MCP server@allratestoday/mcp-server — lets Claude, Cursor and other MCP clients pull these rates directly, no glue code.

Free tier

300 requests, no credit card, no trial expiry. Paid plans start at €4.99/month for 5,000 requests a month.

Which one do you need? If a regulator, tax authority or auditor names the source, use the official rate — the two can differ by several percent on the same day. For everything a customer sees, use the mid-market rate. On weekends and holidays the official endpoints return the most recent published date, which is the figure compliance rules expect you to apply.

Popular Currency Pairs

USD/EUR US Dollar to Euro
GBP/USD British Pound to US Dollar
USD/INR US Dollar to Indian Rupee
EUR/GBP Euro to British Pound
USD/JPY US Dollar to Japanese Yen
GBP/EUR British Pound to Euro
USD/CAD US Dollar to Canadian Dollar
AUD/USD Australian Dollar to US Dollar
USD/CHF US Dollar to Swiss Franc
GBP/INR British Pound to Indian Rupee
USD/MXN US Dollar to Mexican Peso
EUR/USD Euro to US Dollar

South Asia

Southeast Asia

Middle East & Africa

Americas