API reference
Currency Exchange Rates & Converter API
Official exchange rates of 140+ currencies: latest, convert, time series, history since 1999.
- Host
currency-exchange-rates-converter-since-1999.p.rapidapi.com- Base path
/v1/currency- Auth
X-RapidAPI-Key,X-RapidAPI-Host- For agents
openapi.json·currency.md
Overview and pricing · Tutorial: Exchange Rate API · RapidAPI playground (opens in a new tab) ↗ · Apify actor (opens in a new tab) ↗
Exchange Rates
Latest or historical rates of a base currency, with their source and date.
Get Latest Rates
GET /v1/currency/latest
Latest exchange rates of a base currency. Get the latest official exchange rates for 1 unit of `base`: ECB daily reference rates, Norges Bank for currencies the ECB lacks, HMRC monthly for the rest. Each rate names its source and date; an unreachable source is served from its last rates, flagged stale. 1 credit.
| Parameter | In | Type | Description |
|---|---|---|---|
base |
query | string |
ISO 4217 code of the base currency (default USD). Default USD. |
symbols |
query | string |
Comma-separated ISO 4217 codes; leave empty for every currency. |
curl -G "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/latest" \
--data-urlencode "base=USD" \
--data-urlencode "symbols=EUR,GBP,JPY" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: currency-exchange-rates-converter-since-1999.p.rapidapi.com"
import requests
url = "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/latest"
params = {
"base": "USD",
"symbols": "EUR,GBP,JPY"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "currency-exchange-rates-converter-since-1999.p.rapidapi.com",
}
r = requests.get(url, params=params, headers=headers)
print(r.json())
const res = await fetch("https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/latest?base=USD&symbols=EUR,GBP,JPY", {
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "currency-exchange-rates-converter-since-1999.p.rapidapi.com",
},
});
console.log(await res.json());
Get Historical Rates
GET /v1/currency/historical
Exchange rates of a base currency on a past date. The rates that applied on a past date: ECB reference rates since 1999, Norges Bank for the currencies it adds, HMRC monthly rates since 2021 for the rest. 1 credit.
| Parameter | In | Type | Description |
|---|---|---|---|
date required |
query | string |
Date, YYYY-MM-DD, since 1999-01-04. A weekend or holiday gives the last publication before it, said in notes. |
base |
query | string |
ISO 4217 code of the base currency (default USD). Default USD. |
symbols |
query | string |
Comma-separated ISO 4217 codes; leave empty for every currency. |
curl -G "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/historical" \
--data-urlencode "date=2020-03-16" \
--data-urlencode "base=USD" \
--data-urlencode "symbols=EUR,GBP,JPY" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: currency-exchange-rates-converter-since-1999.p.rapidapi.com"
import requests
url = "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/historical"
params = {
"date": "2020-03-16",
"base": "USD",
"symbols": "EUR,GBP,JPY"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "currency-exchange-rates-converter-since-1999.p.rapidapi.com",
}
r = requests.get(url, params=params, headers=headers)
print(r.json())
const res = await fetch("https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/historical?date=2020-03-16&base=USD&symbols=EUR,GBP,JPY", {
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "currency-exchange-rates-converter-since-1999.p.rapidapi.com",
},
});
console.log(await res.json());
Conversion
Convert an amount, today or on a past date, rounded to the currency's minor units.
Convert Currency
GET /v1/currency/convert
Convert an amount from one currency to another. Converts with exact decimal arithmetic and rounds the result half-up to the minor units of the target currency (ISO 4217: 0 for JPY, 3 for KWD). Gives the rate, its inverse, the publication used and its date. 1 credit.
| Parameter | In | Type | Description |
|---|---|---|---|
from required |
query | string |
ISO 4217 code to convert from. |
to required |
query | string |
ISO 4217 code to convert to. |
amount |
query | string |
Amount to convert, a plain decimal number (up to 10^15, 12 decimals). Default 1. Default 1. |
date |
query | string |
Rate of this past date, YYYY-MM-DD (since 1999-01-04). Default: the latest rate. |
curl -G "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/convert" \
--data-urlencode "from=USD" \
--data-urlencode "to=JPY" \
--data-urlencode "amount=1250.50" \
--data-urlencode "date=2026-11-26" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: currency-exchange-rates-converter-since-1999.p.rapidapi.com"
import requests
url = "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/convert"
params = {
"from": "USD",
"to": "JPY",
"amount": "1250.50",
"date": "2026-11-26"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "currency-exchange-rates-converter-since-1999.p.rapidapi.com",
}
r = requests.get(url, params=params, headers=headers)
print(r.json())
const res = await fetch("https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/convert?from=USD&to=JPY&amount=1250.50&date=2026-11-26", {
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "currency-exchange-rates-converter-since-1999.p.rapidapi.com",
},
});
console.log(await res.json());
History
Daily time series and the change between two dates.
Get Rates Time Series
GET /v1/currency/timeseries
Daily rates between two dates. One rate per publication between two dates (both included): every business day for ECB and Norges Bank currencies, one per month for HMRC ones. For charts, backtests and reports. 1 credit per 10 currencies.
| Parameter | In | Type | Description |
|---|---|---|---|
start_date required |
query | string |
First day, YYYY-MM-DD. |
end_date required |
query | string |
Last day, YYYY-MM-DD; at most 366 days after start_date. |
base |
query | string |
ISO 4217 code of the base currency (default USD). Default USD. |
symbols required |
query | string |
Comma-separated ISO 4217 codes (1 to 50). 1 credit per 10 currencies. |
curl -G "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/timeseries" \
--data-urlencode "start_date=2026-10-01" \
--data-urlencode "end_date=2026-10-31" \
--data-urlencode "base=USD" \
--data-urlencode "symbols=EUR,GBP,JPY" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: currency-exchange-rates-converter-since-1999.p.rapidapi.com"
import requests
url = "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/timeseries"
params = {
"start_date": "2026-10-01",
"end_date": "2026-10-31",
"base": "USD",
"symbols": "EUR,GBP,JPY"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "currency-exchange-rates-converter-since-1999.p.rapidapi.com",
}
r = requests.get(url, params=params, headers=headers)
print(r.json())
const res = await fetch("https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/timeseries?start_date=2026-10-01&end_date=2026-10-31&base=USD&symbols=EUR,GBP,JPY", {
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "currency-exchange-rates-converter-since-1999.p.rapidapi.com",
},
});
console.log(await res.json());
Get Rate Fluctuation
GET /v1/currency/fluctuation
Change of each rate between two dates. Start rate, end rate, change and percentage change of each currency between two dates, both rates from the same source. 1 credit.
| Parameter | In | Type | Description |
|---|---|---|---|
start_date required |
query | string |
Start date, YYYY-MM-DD. |
end_date required |
query | string |
End date, YYYY-MM-DD. |
base |
query | string |
ISO 4217 code of the base currency (default USD). Default USD. |
symbols |
query | string |
Comma-separated ISO 4217 codes; leave empty for every currency. |
curl -G "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/fluctuation" \
--data-urlencode "start_date=2026-01-02" \
--data-urlencode "end_date=2026-11-26" \
--data-urlencode "base=USD" \
--data-urlencode "symbols=EUR,GBP,JPY" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: currency-exchange-rates-converter-since-1999.p.rapidapi.com"
import requests
url = "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/fluctuation"
params = {
"start_date": "2026-01-02",
"end_date": "2026-11-26",
"base": "USD",
"symbols": "EUR,GBP,JPY"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "currency-exchange-rates-converter-since-1999.p.rapidapi.com",
}
r = requests.get(url, params=params, headers=headers)
print(r.json())
const res = await fetch("https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/fluctuation?start_date=2026-01-02&end_date=2026-11-26&base=USD&symbols=EUR,GBP,JPY", {
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "currency-exchange-rates-converter-since-1999.p.rapidapi.com",
},
});
console.log(await res.json());
Currencies
ISO 4217 codes, names, symbols, decimals, countries and sources.
Get Currencies
GET /v1/currency/currencies
Supported currencies and their sources. Every currency with a rate: ISO 4217 code and number, name, symbol, minor units, countries, the source that prices it (ECB, Norges Bank or HMRC), its frequency and history; legacy currencies (CYP, EEK...) for history; and each source's schedule, terms and latest date. 1 credit.
curl -G "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/currencies" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: currency-exchange-rates-converter-since-1999.p.rapidapi.com"
import requests
url = "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/currencies"
params = {}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "currency-exchange-rates-converter-since-1999.p.rapidapi.com",
}
r = requests.get(url, params=params, headers=headers)
print(r.json())
const res = await fetch("https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/currencies", {
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "currency-exchange-rates-converter-since-1999.p.rapidapi.com",
},
});
console.log(await res.json());
Response
{
"from": "USD",
"to": "JPY",
"amount": "1250.50",
"requested_date": "2026-11-26",
"date": "2026-11-26",
"rate": 159.26196,
"inverse_rate": 0.0062789633,
"result": 199157.0,
"result_text": "199157",
"minor_units": 0,
"rounding": "half-up",
"source": {
"id": "ECB",
"name": "European Central Bank",
"frequency": "daily",
"date": "2026-11-26",
"currencies": ["USD", "JPY"],
"stale": false,
"credit": "Source: European Central Bank (ECB), euro foreign exchange reference rates, available free of charge at ecb.europa.eu. Cross rates computed by Helenis API."
},
"notes": [],
"method": "Each pair comes from one official publication that quotes both currencies, on one date: rate = (units of the symbol per source base) / (units of the base per source base). Cross rates are computed by Helenis API from the sources' reference rates, which are published for information purposes."
}
From a real response. result_text is the exact decimal result, safe for amounts up to 10^15 that a JSON number would round.
Why developers pick this API
- 🏦 Official sources, named on every rate: the ECB euro reference rates (29 currencies, daily), Norges Bank (adds TWD, PKR, BDT, VND, BYN, MMK and the IMF's SDR, daily) and HMRC's monthly rates (about 106 more currencies). No anonymous "aggregated" feed.
- 🎯 No mixed-date cross rates: each pair is priced from ONE publication that quotes both currencies, on one date. USD to AED gives 3.6726 (the peg), not a rate skewed by a euro move between two dates.
- 📜 27 years of daily history in the same call shape as the latest rates, with legacy currencies (Cypriot pound, Estonian kroon, Croatian kuna) until their last day, never carried past it.
- 💸 The cheapest complete set: latest, convert, historical, time series and fluctuation from $0.00004 a call, and failed calls (4xx, 5xx) use 0 credits.
| This API | Currency Exchange (fyhao) | Currency Conversion and Exchange Rates | Currency Converter (API-Ninjas) | AccuRates | |
|---|---|---|---|---|---|
| Price per call (cheapest paid plan) | $0.00004 ($3.99 / 100,000) | $0.001 ($10 / 10,000) | $0.0012 ($12 / 10,000) | $0.00009 ($9 / 100,000) | $0.0002 ($5 / 25,000) |
| Historical rates | ✅ since 1999 | ❌ | ✅ | ❌ | ✅ |
| Time series and fluctuation | ✅ both | ❌ | time series | ❌ | time series |
| Source and date on every rate | ✅ | ❌ | ❌ | ❌ | ❌ |
| Rounding to ISO minor units | ✅ | ❌ | ❌ | ❌ | ❌ |
Prices and features read on the RapidAPI listings on 27 Nov 2026.
Latest rates
curl "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/latest?base=USD&symbols=EUR,GBP,JPY,TWD,NGN,AED" \
-H "X-RapidAPI-Key: YOUR_API_KEY" -H "X-RapidAPI-Host: currency-exchange-rates-converter-since-1999.p.rapidapi.com"
{
"base": "USD",
"date": "2026-11-26",
"rates": {
"EUR": 0.91116173,
"GBP": 0.76314351,
"JPY": 159.26196,
"TWD": 32.980311,
"NGN": 1333.1098,
"AED": 3.6725888
},
"sources": [
{ "id": "ECB", "name": "European Central Bank", "frequency": "daily", "date": "2026-11-26", "currencies": ["USD", "EUR", "GBP", "JPY"], "stale": false, "credit": "..." },
{ "id": "NORGES_BANK", "name": "Norges Bank", "frequency": "daily", "date": "2026-11-26", "currencies": ["USD", "TWD"], "stale": false, "credit": "..." },
{ "id": "HMRC", "name": "HM Revenue & Customs", "frequency": "monthly", "date": "2026-11-01", "valid_until": "2026-11-30", "market_date": "2026-10-21", "currencies": ["USD", "NGN", "AED"], "stale": false, "credit": "..." }
],
"unavailable": {},
"notes": [
"Today's ECB rates are not published yet (around 16:00 CET): these are of 2026-11-26.",
"Today's Norges Bank rates are not published yet (around 16:00 CET): these are of 2026-11-26.",
"HM Revenue & Customs rates are monthly: valid 2026-11-01 to 2026-11-30, set from the market of 2026-10-21."
],
"method": "..."
}
rates is the familiar map; sources says which publication priced which currency, and its date.
Historical rates
/historical?date=2020-03-15&base=EUR&symbols=USD,GBP asks for a Sunday: you get the Friday's ECB rates, "date": "2020-03-13", "rates": {"USD": 1.1104, "GBP": 0.8907} and the note No ECB rates on 2020-03-15 (Sunday): rates of 2020-03-13, its last publication before that date. Convert on a past date with /convert?...&date=2020-03-15.
Time series
curl "https://currency-exchange-rates-converter-since-1999.p.rapidapi.com/v1/currency/timeseries?base=USD&symbols=EUR,JPY&start_date=2026-11-20&end_date=2026-11-26" \
-H "X-RapidAPI-Key: YOUR_API_KEY" -H "X-RapidAPI-Host: currency-exchange-rates-converter-since-1999.p.rapidapi.com"
{
"base": "USD",
"start_date": "2026-11-20",
"end_date": "2026-11-26",
"rates": {
"2026-11-20": { "EUR": 0.90991811, "JPY": 158.64422 },
"2026-11-23": { "EUR": 0.91416034, "JPY": 159.07304 },
"2026-11-24": { "EUR": 0.91215908, "JPY": 159.07142 },
"2026-11-25": { "EUR": 0.91449474, "JPY": 159.32327 },
"2026-11-26": { "EUR": 0.91116173, "JPY": 159.26196 }
},
"sources": [{ "id": "ECB", "frequency": "daily", "date": "2026-11-26", "currencies": ["USD", "EUR", "JPY"], "...": "..." }]
}
Weekends are skipped. A monthly HMRC currency has one point per month, dated on its first day.
Fluctuation
/fluctuation?base=USD&symbols=EUR,JPY,TRY&start_date=2026-01-02&end_date=2026-11-26 gives, per currency, start_rate, end_rate, change and change_pct: EUR 0.85316952 to 0.91116173 (+6.7973 %), JPY 156.932 to 159.26196 (+1.4847 %), TRY 43.028069 to 50.67672 (+17.776 %). Both ends of a pair come from the same source.
Currencies
/currencies lists every currency with a rate, for example:
{
"code": "TWD",
"numeric": "901",
"name": "New Taiwan Dollar",
"symbol": "NT$",
"minor_units": 2,
"countries": ["Taiwan"],
"status": "active",
"source": "NORGES_BANK",
"frequency": "daily",
"history_from": "1999-01-04"
}
plus each source's schedule, base, terms and latest date. Legacy currencies have "status": "legacy" and history_until.
Errors
| Status | code |
Meaning |
|---|---|---|
| 400 | invalid_currency |
Not a 3-letter ISO 4217 code, an unknown one, or more than 50 symbols in a time series. |
| 400 | rate_unavailable |
No source quotes that pair on that date (see /currencies). |
| 400 | date_out_of_range |
A date before 1999-01-04, or after tomorrow in UTC (tomorrow is accepted for time zones ahead of UTC and gives the latest rates, with a note). |
| 400 | invalid_range |
End before start, or a time series over 366 days. |
| 400 | invalid_amount |
Not a plain number, above 10^15, or more than 12 decimals. |
| 400 | invalid_request |
Missing parameter or malformed date. |
| 429 | daily_limit_reached |
Daily safety limit of your plan; resets at 00:00 UTC. |
| 503 | source_unavailable |
The sources cannot be reached and no rate is held for that date; retry in a minute. Not billed. |
Use it from an AI agent
Add this MCP server and the Currency Exchange Rates - Daily & Historical FX Since 1999 actor becomes a tool your agent can call. Works in Claude, Cursor, VS Code and any MCP client; billed per event through Apify.
https://mcp.apify.com?tools=helenisapi/currency-exchange-rates
Prefer plain HTTP? Give your agent the OpenAPI document or the Markdown reference.