Currency Exchange Rates API logo
FinanceMAINTAINED5 tokens / call

Currency Exchange Rates API

ECB reference exchange rates for 30 currencies with conversion, 90-day lookups and history

Daily exchange rates for 30 currencies with any base currency, an amount converter with inverse rates, dated lookups for any day in the last 90 days (weekends resolve to the previous business day) and daily history series with change statistics — sourced directly from the European Central Bank's official reference rates and cached hourly. Currency codes come with ISO 4217 names. Authoritative, dated, no middleman.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 5 tokens per call, so the free plan covers about 100 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "ok": true,
  "base": "USD",
  "date": "2026-09-11",
  "count": 3,
  "rates": {
    "EUR": 0.862664,
    "GBP": 0.740295,
    "JPY": 154.037267
  },
  "unsupported_symbols": [
    "XYZ"
  ]
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform — anime, finance, sports, and more.

Use cases for Currency Exchange Rates API

  • Convert prices and invoices between currencies using an authoritative, dated rate your accountant can verify.

  • Show a 30-day rate trend with change percentage on a finance dashboard or remittance page.

  • Book a transaction at the official rate of a given date, with weekends resolving to the previous business day.

  • Price a product catalogue in several currencies with one rate table per day instead of a paid feed.

Currency Exchange Rates API endpoints

Every endpoint with its parameters and a real example response.

GETConvert

https://api-currency.dataandapis.com/v1/convert

Query parameters

ParameterExample
amount100Optional
dateOptional
fromUSDRequired
toGBPRequired

Example request

curl "https://api-currency.dataandapis.com/v1/convert?amount=100&from=USD&to=GBP" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "from": "USD",
  "to": "GBP",
  "date": "2026-09-11",
  "rate": 0.740295,
  "inverse_rate": 1.350813,
  "amount": 100,
  "result": 74.03
}

GETData Sources

https://api-currency.dataandapis.com/v1/sources

This endpoint takes no parameters.

Example request

curl "https://api-currency.dataandapis.com/v1/sources" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "sources": [
    {
      "slug": "ecb-daily",
      "name": "ECB euro foreign exchange reference rates (daily)",
      "url": "https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml",
      "licence": "ECB — free reuse with attribution",
      "cadence": "once per business day ~16:00 CET; edge-cached 1h"
    },
    {
      "slug": "ecb-90d",
      "name": "ECB reference rates — last 90 days",
      "url": "https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml",
      "licence": "ECB — free reuse with attribution",
      "cadence": "once per business day; edge-cached 1h"
    }
  ],
  "attribution": {
    "source": "European Central Bank — euro foreign exchange reference rates",
    "source_url": "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html",
    "note": "Reference rates published once per business day (~16:00 CET); not real-time market rates. Weekends and holidays return the previous business day."
  }
}

GETList Currencies

https://api-currency.dataandapis.com/v1/currencies

This endpoint takes no parameters.

Example request

curl "https://api-currency.dataandapis.com/v1/currencies" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "date": "2026-09-11",
  "count": 30,
  "currencies": [
    {
      "code": "AUD",
      "name": "Australian Dollar"
    },
    {
      "code": "BRL",
      "name": "Brazilian Real"
    },
    {
      "code": "CAD",
      "name": "Canadian Dollar"
    },
    {
      "code": "CHF",
      "name": "Swiss Franc"
    },
    {
      "code": "CNY",
      "name": "Chinese Yuan Renminbi"
    },
    {
      "code": "CZK",
      "name": "Czech Koruna"
…
Show full response
{
  "ok": true,
  "date": "2026-09-11",
  "count": 30,
  "currencies": [
    {
      "code": "AUD",
      "name": "Australian Dollar"
    },
    {
      "code": "BRL",
      "name": "Brazilian Real"
    },
    {
      "code": "CAD",
      "name": "Canadian Dollar"
    },
    {
      "code": "CHF",
      "name": "Swiss Franc"
    },
    {
      "code": "CNY",
      "name": "Chinese Yuan Renminbi"
    },
    {
      "code": "CZK",
      "name": "Czech Koruna"
    },
    {
      "code": "DKK",
      "name": "Danish Krone"
    },
    {
      "code": "EUR",
      "name": "Euro"
    },
    {
      "code": "GBP",
      "name": "Pound Sterling"
    },
    {
      "code": "HKD",
      "name": "Hong Kong Dollar"
    },
    {
      "code": "HUF",
      "name": "Hungarian Forint"
    },
    {
      "code": "IDR",
      "name": "Indonesian Rupiah"
    },
    {
      "code": "ILS",
      "name": "Israeli New Shekel"
    },
    {
      "code": "INR",
      "name": "Indian Rupee"
    },
    {
      "code": "ISK",
      "name": "Icelandic Krona"
    },
    {
      "code": "JPY",
      "name": "Japanese Yen"
    },
    {
      "code": "KRW",
      "name": "South Korean Won"
    },
    {
      "code": "MXN",
      "name": "Mexican Peso"
    },
    {
      "code": "MYR",
      "name": "Malaysian Ringgit"
    },
    {
      "code": "NOK",
      "name": "Norwegian Krone"
    },
    {
      "code": "NZD",
      "name": "New Zealand Dollar"
    },
    {
      "code": "PHP",
      "name": "Philippine Peso"
    },
    {
      "code": "PLN",
      "name": "Polish Zloty"
    },
    {
      "code": "RON",
      "name": "Romanian Leu"
    },
    {
      "code": "SEK",
      "name": "Swedish Krona"
    },
    {
      "code": "SGD",
      "name": "Singapore Dollar"
    },
    {
      "code": "THB",
      "name": "Thai Baht"
    },
    {
      "code": "TRY",
      "name": "Turkish Lira"
    },
    {
      "code": "USD",
      "name": "US Dollar"
    },
    {
      "code": "ZAR",
      "name": "South African Rand"
    }
  ]
}

GETRate History

https://api-currency.dataandapis.com/v1/history

Query parameters

ParameterExample
days14Optional
fromUSDOptional
toGBPRequired

Example request

curl "https://api-currency.dataandapis.com/v1/history?days=14&from=USD&to=GBP" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "from": "USD",
  "to": "GBP",
  "days": 14,
  "count": 10,
  "start_rate": 0.7386,
  "end_rate": 0.740295,
  "change_pct": 0.23,
  "min": 0.737195,
  "max": 0.741665,
  "series": [
    {
      "date": "2026-08-31",
      "rate": 0.7386
    },
    {
      "date": "2026-09-01",
      "rate": 0.739042
    },
    {
      "date": "2026-09-02",
      "rate": 0.741665
    },
    {
      "date": "2026-09-03",
      "rate": 0.740895
    },
…
Show full response
{
  "ok": true,
  "from": "USD",
  "to": "GBP",
  "days": 14,
  "count": 10,
  "start_rate": 0.7386,
  "end_rate": 0.740295,
  "change_pct": 0.23,
  "min": 0.737195,
  "max": 0.741665,
  "series": [
    {
      "date": "2026-08-31",
      "rate": 0.7386
    },
    {
      "date": "2026-09-01",
      "rate": 0.739042
    },
    {
      "date": "2026-09-02",
      "rate": 0.741665
    },
    {
      "date": "2026-09-03",
      "rate": 0.740895
    },
    {
      "date": "2026-09-04",
      "rate": 0.739098
    },
    {
      "date": "2026-09-07",
      "rate": 0.739064
    },
    {
      "date": "2026-09-08",
      "rate": 0.738247
    },
    {
      "date": "2026-09-09",
      "rate": 0.737195
    },
    {
      "date": "2026-09-10",
      "rate": 0.739626
    },
    {
      "date": "2026-09-11",
      "rate": 0.740295
    }
  ]
}

GETRate Table

https://api-currency.dataandapis.com/v1/rates

Query parameters

ParameterExample
baseUSDOptional
dateOptional
symbolsEUR,GBP,JPYOptional

Example request

curl "https://api-currency.dataandapis.com/v1/rates?base=USD&symbols=EUR%2CGBP%2CJPY" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "base": "USD",
  "date": "2026-09-11",
  "count": 3,
  "rates": {
    "EUR": 0.862664,
    "GBP": 0.740295,
    "JPY": 154.037267
  },
  "unsupported_symbols": [
    "XYZ"
  ]
}

Where the data comes from

Source
European Central Bank euro foreign exchange reference rates, rebased to any supported currency.
Freshness
One official rate per business day, fetched from the ECB and cached for an hour.

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
5endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses — auto-completion in your IDE
  • Tracks the API in lockstep — new endpoints land same day
  • One key works across 125+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  'https://api-currency.dataandapis.com/v1/convert',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

Currency Exchange Rates API · X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key

Query Parameters

amount(Optional)
date(Optional)
from(Required)
to(Required)
import axios from 'axios';

const url = 'https://api-currency.dataandapis.com/v1/convert';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time — we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales →

Questions about Currency Exchange Rates API

Ship Currency Exchange Rates API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.