Historical exchange rate API dated history, 160 currencies, parity from 1949
Pull the exact rate for a date, a date range, or a daily series back to 1971, with 1949 parity data for GBP/USD and USD/INR. 160 fiat currencies, weekend and holiday carry-forward, and a response that tells you which fixing it used. Built for invoicing, backtesting and reporting.
- parity from
- 1949
- granularity
- Daily
- fiat currencies
- 160
- free / month
- 1,000
curl -G https://api.currency-core.com/v1/history \
-H 'Authorization: Bearer YOUR_KEY' \
--data-urlencode 'currency=EUR' \
--data-urlencode 'from=2020-01-01' \
--data-urlencode 'to=2020-12-31'const url = new URL("https://api.currency-core.com/v1/history");
url.search = new URLSearchParams({
currency: "EUR", from: "2020-01-01", to: "2020-12-31",
});
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.CURRENCYCORE_KEY}` },
});
const { rates } = await res.json();
console.log(Object.keys(rates).length, "daily observations");import os, requests
res = requests.get(
"https://api.currency-core.com/v1/history",
headers={"Authorization": f"Bearer {os.environ['CURRENCYCORE_KEY']}"},
params={"currency": "EUR", "from": "2020-01-01", "to": "2020-12-31"},
timeout=15,
)
rates = res.json()["rates"]
print(f"{len(rates)} observations")One key, one quota, one base URL. Compare plans →
What is a historical exchange rate API?
A historical exchange rate API returns the exchange rate that applied on a specific past date, or a series of rates across a date range, as structured JSON. CurrencyCore covers 160 fiat currencies, with documented parity from 1949 for GBP/USD and USD/INR, daily major-pair data from 1971, and EUR pairs from 1999. Every response includes the fixing date, and weekends and holidays carry the last published trading day forward.
Last updated
- Base URL
- api.currency-core.com/v1
- Auth
- Bearer or x-api-key
- Earliest data
- 1949 (GBP/USD, USD/INR)
- Daily majors
- 1971
- EUR pairs
- 1999
- Intervals
- Daily, weekly, monthly, yearly
- Timezone
- UTC calendar dates
- Free tier
- Last 30 days, 1,000 requests
Look up a rate by year
A live sample of the same annual series the API returns. Pick a year and an amount to see how far the dataset goes.
Annual averages of daily observations. Pre-float years are official fixed parities, not market rates.
History back to 1949
This lookup uses the same annual series the /v1/history endpoint serves.
Ask the API for any date range and get daily closes, or use /v1/history/analysis
for the period summary.
- Coverage
- 1949-2026
- Observations
- 78 years
- 1949 average
- 3.6650
- 2026 average
- 1.3435
Built for production, not a demo
Every capability below is part of the same API, billed against the same quota.
Point-in-time accuracy
Ask for 1992-09-16 and you get the rate for that date, not the nearest month. Weekends and holidays carry forward to the last published trading day, so a closed market resolves to the previous fixing.
Daily series over any range
Request one day or thirty years. Responses are ordered, gap-free and include the source date for each observation.
Pre-float history
For GBP and INR the dataset includes documented Bretton Woods and sterling-area parities before the currency floated, clearly labelled as parities rather than market prices.
Period analysis
The analysis endpoint returns change, annualised volatility, high, low and drawdown for the window, so you do not need to download a series to compute a summary.
Reproducible answers
Every response carries the fixing date, so a dated query can be checked later. If a source revises a fixing, keep both observations. That matters for audit, IFRS/GAAP revaluation and any workflow where a rate is evidence.
Annual averages and reporting
Aggregate daily observations into monthly or yearly averages, the figures finance teams use for consolidation and management reporting.
Every endpoint, documented
Base URL https://api.currency-core.com. Authenticate with a bearer token
or x-api-key. Download the
OpenAPI 3.1 contract for generated clients.
GET /v1/history Daily series for one currency between two dates; Free covers the last 30 days. All plans
currencyrequired- One currency per call, 3-letter ISO 4217 (INR).
from- Start date, YYYY-MM-DD UTC. Defaults to 7 days before to.
to- End date, YYYY-MM-DD UTC. Defaults to today; future dates clamp.
base- Base currency. Defaults to USD.
interval- daily (default), weekly, monthly or yearly.
Example GET /v1/history?currency=INR&from=2024-01-01&interval=monthly
Status codes 400 invalid input · 401 missing or invalid key · 403 date outside Free window · 404 unknown currency · 429 quota or rate limit
Full endpoint reference GET /v1/history/analysis Change %, volatility, period high and low. Growth+
base- Currency the comparison is measured against. Defaults to USD.
currencies- Comma list to compare; omit to rank every currency.
from / to- Window dates, YYYY-MM-DD UTC. Defaults to the last 20 years.
period- Shorthand: 10y, 6m, 30d, ytd or max.
sort- Movers: strengthened (default) or weakened.
assetClass- Movers pool: fiat (default), metals or all.
limit- Movers: top N, default 10, maximum 200.
interval- Compare mode trend series: weekly, monthly or yearly.
stats- Include min, max and average. Defaults to true.
Status codes 400 invalid input · 401 missing or invalid key · 403 Growth plan required · 404 no data at window edge · 429 quota or rate limit
Full endpoint reference GET /v1/convert Point-in-time conversion with a date parameter. All plans
fromrequired- Source currency. Use CUR:COUNTRY (USD:USA) for PPP.
torequired- Up to 25 targets, comma-separated (EUR,INR).
amount- Amount to convert. Defaults to 1.
ppp- true applies IMF PPP factors instead of the market rate.
date- Rate date, YYYY-MM-DD UTC. Defaults to the latest.
Status codes 400 invalid input · 401 missing or invalid key · 403 Free history window · 404 unknown currency or no rate · 429 quota or rate limit
Full endpoint reference GET /v1/rates/{base} Latest rates for one base currency. All plans
baserequired- Base currency, 3-letter ISO 4217 (EUR).
date- Snapshot date, YYYY-MM-DD UTC. Defaults to the latest.
Status codes 400 invalid code · 401 missing or invalid key · 403 Free history window · 404 no snapshot · 429 quota or rate limit
Full endpoint referenceFixing date, observation date and holiday carry-forward
A historical request has two dates: the one you ask for and the one the rate was actually fixed on. The response returns both, which matters for audit and month-end reporting.
All dates are UTC calendar dates, so a request does not move when the caller's timezone changes. When markets are closed, the series carries the last published trading day forward. Ask for a Saturday and the Sunday after it and both entries repeat Friday's rate, while the fixing date identifies the value that was carried.
The same rule makes every date in a range return a number: the rates map is dense, with one entry per calendar day, and today is overlaid with the current reference rate. For reporting, store the returned date alongside the amount. That is the observation date the figure belongs to, even when the requested date fell on a holiday.
Ranges are bounded by plan and endpoint. Free covers the last 30 days. A history call accepts one currency and any span inside the stored series; history analysis caps a custom window at 20 years unless you pass period=max. Set interval to weekly, monthly or yearly for averages.
| Request shape | Limit |
|---|---|
| Free plan history | Last 30 days |
| Starter and above | Full series, back to 1949 for GBP and INR |
| /v1/history range | No fixed maximum span |
| /v1/history/analysis range | 20 years, or period=max |
| Timezone | UTC calendar dates |
Monthly averages for INR against USD
request + JSONcurl -G https://api.currency-core.com/v1/history \
-H 'Authorization: Bearer YOUR_KEY' \
--data-urlencode 'currency=INR' \
--data-urlencode 'from=2024-01-01' \
--data-urlencode 'to=2024-06-16' \
--data-urlencode 'interval=monthly'
{
"currency": "INR",
"base": "USD",
"interval": "monthly",
"from": "2024-01-01",
"to": "2024-06-16",
"rates": { "2024-01": 82.97, "2024-02": 83.04, "2024-06": 83.25 }
} Monthly and yearly buckets average the daily rates that fall inside the requested window. Partial buckets at the edges use only the days in range.
From key to first response in three steps
Create an API key
Sign up and create a key in the dashboard. Free plans use a test key with the same dataset; live keys are available on paid plans. No credit card is required.
Make the request
Send a GET request with the key in the Authorization header. Plain JSON comes back.
Ship it
Parse the response, cache where it makes sense, and read the rate date before you store the figure.
Response
application/json{
"currency": "EUR",
"base": "USD",
"interval": "daily",
"from": "2020-01-01",
"to": "2020-12-31",
"rates": {
"2020-01-02": 1.1194,
"2020-01-03": 1.1161
}
} What teams build with it
Invoicing at a historical rate
Convert an invoice using the rate on its issue date, store the returned fixing date, then re-run the same dated query at audit time. If a source revision appears, keep both figures.
Backtesting and research
Download a decade of daily closes for a strategy or an academic study, with the source and observation count attached.
Revaluation and reporting
Compute month-end and year-average rates for consolidation, using the same aggregation the finance team documents.
How it compares
Against a typical currency API at the same price point.
| Capability | CurrencyCore | Typical currency API |
|---|---|---|
| Earliest date | 1949 (GBP, INR) | 1999 to 2010 typical |
| Holiday handling | Carry-forward included | Often returns an error |
| Period analysis | Built-in endpoint | Compute it yourself |
| Source date per observation | Yes | Sometimes |
| Bulk intervals | Daily, weekly, monthly, yearly | Daily or monthly |
How the history is built
Annual and daily figures are compiled from official sources, never interpolated. Pre-float years use documented parities and are labelled as such in the response and on the site.
- Market data: Federal Reserve H.10 via FRED, daily.
- Recent EUR data: ECB reference rates.
- Pre-float GBP and INR: official Bretton Woods and sterling-area parities.
- Every annual series is validated against ECB reference rates to within 0.1%.
Every figure on this page is reproducible from the documented source. See the API documentation for the response schema. Last updated .
Start free, scale when you ship
Every plan includes the MCP server and commercial-use rights, including Free. Full history starts on Starter; analytics and BYOK start on Growth.
Commercial use is allowed on every plan, including Free.
Questions developers ask
How far back does the historical exchange rate API go?
GBP/USD and USD/INR include documented parities from 1949. Most major pairs have daily market data from 1971 to 1973, EUR pairs from 1999, and the full series is available on Starter and above.
What happens if I request a weekend or holiday?
The API carries the last published trading day forward, so a request for a Sunday returns Friday's rate with the date of that fixing. You never get an empty response for a valid date.
Can I get monthly or yearly averages?
Yes. Request the range and aggregate, or use /v1/history/analysis for period change, volatility, high and low. Annual averages for every supported pair are also published on the history pages.
Are the rates exact or interpolated?
Every value comes from a published official source. Nothing is interpolated or estimated. Blank source dates are resolved by carry-forward and the returned date identifies the fixing.
What is the difference between history and history/analysis?
History returns the daily series. Analysis returns a summary of a window: change percentage, annualised volatility, period high, period low and drawdown. Analysis requires the Growth plan.
Which plans include full history?
The free plan includes the last 30 days. Starter and above include the full history, including parity from 1949 for GBP/USD and USD/INR, with monthly quotas from 50,000 requests.
What timezone are the dates in?
The date, from and to parameters are UTC calendar dates. A request made late in the day in New York or Mumbai resolves to the same UTC date, so results do not shift with the caller's timezone.
Why does a weekend date return Friday's rate?
Markets are closed, so the series carries the last published trading day forward. The rates map still includes the weekend date, and the value is the Friday fixing. The response tells you which date the observation came from.
Can I fetch more than one currency at once?
The history endpoint takes one currency per call, which keeps the dense date map unambiguous. Use history analysis with a currencies list to compare up to 100 currencies over the same window.
Every published pair
Open the full annual history for any pair, or download the same series as CSV or JSON.
| Pair | Coverage | CSV | JSON | History page |
|---|---|---|---|---|
| GBP/USD | 1949–2026 | CSV | JSON | History |
| USD/INR | 1949–2026 | CSV | JSON | History |
| EUR/USD | 1999–2026 | CSV | JSON | History |
| USD/JPY | 1971–2026 | CSV | JSON | History |
| USD/CAD | 1971–2026 | CSV | JSON | History |
| USD/CHF | 1971–2026 | CSV | JSON | History |
| USD/CNY | 1981–2026 | CSV | JSON | History |
| USD/KRW | 1981–2026 | CSV | JSON | History |
| USD/THB | 1981–2026 | CSV | JSON | History |
| USD/HKD | 1981–2026 | CSV | JSON | History |
| USD/MXN | 1993–2026 | CSV | JSON | History |
| USD/BRL | 1995–2026 | CSV | JSON | History |
| USD/ZAR | 1980–2026 | CSV | JSON | History |
| USD/SGD | 1981–2026 | CSV | JSON | History |
| USD/MYR | 1971–2026 | CSV | JSON | History |
| USD/TWD | 1983–2026 | CSV | JSON | History |
| SEK/USD | 1971–2026 | CSV | JSON | History |
| NOK/USD | 1971–2026 | CSV | JSON | History |
| DKK/USD | 1971–2026 | CSV | JSON | History |
| AUD/USD | 1971–2026 | CSV | JSON | History |
| NZD/USD | 1971–2026 | CSV | JSON | History |
| EUR/GBP | 1999–2026 | CSV | JSON | History |
| EUR/JPY | 1999–2026 | CSV | JSON | History |
| EUR/CHF | 1999–2026 | CSV | JSON | History |
| EUR/INR | 1999–2026 | CSV | JSON | History |
| EUR/AUD | 1999–2026 | CSV | JSON | History |
| EUR/CAD | 1999–2026 | CSV | JSON | History |
| EUR/CNY | 1999–2026 | CSV | JSON | History |
| EUR/SEK | 1999–2026 | CSV | JSON | History |
| EUR/NOK | 1999–2026 | CSV | JSON | History |
| GBP/JPY | 1971–2026 | CSV | JSON | History |
| GBP/INR | 1973–2026 | CSV | JSON | History |
| GBP/AUD | 1971–2026 | CSV | JSON | History |
| GBP/CAD | 1971–2026 | CSV | JSON | History |
| GBP/CHF | 1971–2026 | CSV | JSON | History |
| AUD/JPY | 1971–2026 | CSV | JSON | History |
| AUD/NZD | 1971–2026 | CSV | JSON | History |
| CAD/JPY | 1971–2026 | CSV | JSON | History |
| CHF/JPY | 1971–2026 | CSV | JSON | History |
| NZD/JPY | 1971–2026 | CSV | JSON | History |
Query parity history from 1949
No credit card required.
Full history on Starter and above. 1,000 requests/month free. No credit card required.