CurrencyFreaks logoCurrencyFreaksPowered by APIFreaks
GET /v2.0/average

Average exchange rates for any month, quarter or year

Send a date range and a period. Get the average, lowest and highest rate of each currency for every period, already worked out.

Monthly averages against USD

1 September to 28 November 2026

1 request, period=month
2026-092026-102026-11
  • EUR0.8689280.8922260.904562
  • GBP0.7457090.7519660.755563
  • INR95.459295.484493.6442
  • JPY156.277157.869158.955
averageRateminRate to maxRate

Included from the

Growth plan

from $49.99 a month

  1. Starter, not included
  2. Growth, included
  3. Professional, included
  4. Enterprise, included
Compare plans

Three numbers for every period

The API averages every daily rate in a period and keeps the lowest and highest. Here is the euro against the US dollar over three months.

USD to EUR, September to November 2026

Each month collapses into an average and a range.

averagedaily rate
0.860.880.900.920.868928Sep 20260.892226Oct 20260.904562Nov 2026
Sep days
30
Oct days
31
Nov days
28

averageRate

sum of daily rates ÷ days

October: 31 daily rates ÷ 310.892226

minRate, maxRate

lowest and highest daily rate

October range0.888494 to 0.898715

days tells you what went into the average

Each currency carries its own day count. Gold is averaged from daily closing prices, so in November 2026 it had 24 days against 28 for the euro. A period's own days follows its best-covered currency.

GET/v2.0/average?startDate=2026-09-01&endDate=2026-11-28&symbols=EUR&period=month200 OK
periodstartDateendDatedaysaverageRateminRatemaxRate
"2026-09"2026-09-012026-09-3030"0.8689279666666666""0.85955""0.882846"
"2026-10"2026-10-012026-10-3131"0.892225806451613""0.888494""0.898715"
"2026-11"2026-11-012026-11-2828"0.9045621071428568""0.890036""0.916758"
  • apikeyRequired

    The key from your dashboard.

  • startDateRequired

    First day of the range, YYYY-MM-DD.

  • endDateOptional

    Last day of the range. Defaults to the day before today.

  • baseOptional

    Base currency. Defaults to USD.

  • symbolsOptional

    Comma separated codes. Defaults to all currencies.

  • periodOptional

    month, quarter, year or total. Defaults to month.

One range, four ways to group it

Change period and the same request returns months, quarters, years or one figure for the whole range. Try it on the sample data below.

?startDate=2026-09-01&endDate=2026-11-28&symbols=EUR,INR,JPY&period=month
periodstartDateendDatedaysEUR avgINR avgJPY avg
"2026-09"2026-09-012026-09-30300.86892895.4592156.277
"2026-10"2026-10-012026-10-31310.89222695.4844157.869
"2026-11"2026-11-012026-11-28280.90456293.6442158.955

3 entries in averageRatesList. The first and last can be partial periods.

Monthly revenue at the month's average rate

Ask for a month by month average, then divide each month's revenue by its rate. No daily rows to download, sum or clean.

const url = new URL("https://api.currencyfreaks.com/v2.0/average");
url.search = new URLSearchParams({
  apikey: process.env.CURRENCYFREAKS_KEY,
  startDate: "2026-09-01",
  endDate: "2026-11-28",
  symbols: "EUR",
  period: "month",
});

const { averageRatesList } = await (await fetch(url)).json();

// Revenue booked in euros, reported in dollars at each month's average
const revenueEur = { "2026-09": 120000, "2026-10": 135500, "2026-11": 128200 };
const report = averageRatesList.map((p) => ({
  month: p.period,
  usd: revenueEur[p.period] / Number(p.rates.EUR.averageRate),
}));
reportEUR revenue in USD
  • 2026-09$138,101
    €120,000÷ 0.868928
  • 2026-10$151,867
    €135,500÷ 0.892226
  • 2026-11$141,726
    €128,200÷ 0.904562
3 months, in USD$431,695

Built for numbers that cover a period, not a day

One average per month, quarter or year replaces a pile of daily rates in reports, budgets and payouts.

Financial reporting

Translate income and expenses booked in other currencies at the month's or quarter's average rate, a common approach under IAS 21 and ASC 830 when rates do not swing wildly.

Budget rates

Set next year's budget rate from an average, not from the rate on the day you planned.

Contractor payouts

Pay cross-border staff at the month's average, so one bad day does not decide the amount.

Tax and audit packs

Pull yearly averages with period=year and keep the min and max next to them as evidence.

Pricing reviews

Compare each quarter's average with the rate your price list was built on.

Questions, answered

The things developers ask before they write the first line.

Still have a question?

Send us your question and a developer from the team will get back to you.

Contact the team
What does the Average Exchange Rates API return?

For each period in your date range and each currency you ask for: the average of the daily rates, the lowest daily rate, the highest daily rate and the number of days with a rate, all against the base you choose.

Which plans include it?

Growth, Professional and Enterprise. A key on the Starter plan gets a 402 response that says the feature starts on the Growth plan.

Which periods can I group by?

month, quarter, year or total. Months are labelled like 2026-01, quarters like 2026-Q1, years like 2026, and total returns one entry for the whole range. The default is month.

How long can the date range be?

Up to five years per request. 2021-01-01 to 2025-12-31 is accepted, while 2021-01-01 to 2026-01-01 returns a 400 error. Split longer ranges into several calls.

Why is days lower for gold and silver?

Precious metals (XAU, XAG, XPT, XPD) are averaged from daily closing prices, and there is no closing price on days the market is shut. In November 2026, gold had a rate on 24 of the 28 days.

How is it different from the Time Series API?

Time series returns every daily rate in the range, and you do the maths. The average endpoint does the maths on the server and returns three numbers per currency per period, so a five year monthly report is 60 small entries instead of more than 1,800 days of rates.

What does a 206 status mean?

One or more of the requested symbols had no rate in at least one returned period. The response has the same shape as a 200, so check each period's rates for the codes you need.

Can I get the response in XML?

Yes. Add format=xml. A currency code that starts with a digit gets an underscore in front of it in XML, so 1INCH becomes _1INCH.

Month-end averages in one request

Get the average, lowest and highest rate for every month, quarter or year, in any base currency, up to five years per call. Included from the Growth plan, which you can try free.