Skip to content

XE API: Get historical exchange rate

Gets XE's daily mid-market exchange rate for a past UTC date and converts an amount with it.

xe.com (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by XE.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Date, requireddate

Past date of the XE daily UTC table, for example 2024-01-15.

2023-06-12

Amount optionalamount

Amount of the starting currency to convert, for example 100.

25

Number. Default 1.

To Currency, requiredto_currency

Currency to convert to, by name or three-letter code, for example US Dollar or USD.

Japanese Yen

From Currency, requiredfrom_currency

Currency to convert from, by name or three-letter code, for example euro or EUR.

euro

Output

From a run on Oct 23, 2026.
{  "date": "2023-06-12",  "rate": 150.1492105901754,  "to_currency": "JPY",  "inverse_rate": 0.006660041675007197,  "from_currency": "EUR",  "table_page_link": "https://www.xe.com/currencytables/?from=EUR&date=2023-06-12",  "converted_amount": 3753.73,  "to_currency_name": "Japanese Yen",  "from_currency_name": "Euro"}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
xe.com/get_historical_rate
Returns
date, currency codes and names, rate, inverse rate, converted amount, table link

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method xe.com/get_historical_rate with the inputs above.

Ask your agent

  • What was the mid-market rate for converting 250 euros to US dollars on 2024-03-08?
  • How much were 1000 Japanese yen worth in British pounds on 2023-11-22?
  • Look up the XE daily rate from Canadian dollar to Swiss franc for 2022-06-30, amount 500.
  • Convert 75 Australian dollars into Indian rupees using the historical rate from 2024-01-15 on xe.com.
  • I need the inverse rate and table link for pounds sterling to euro on 2021-09-14 for a 320 GBP conversion.
  • Converts an amount between two currencies using XE's displayed mid-market rate. It also returns the rate time and an XE converter link. Rates are informational, not transfer quotes.

    xe.com/convert_currency
  • Gets Wise's current mid-market exchange rate and converted amount for two currencies, with optional daily rate history.

    wise.com/get_exchange_rate
  • Converts an amount between currencies using ECB euro reference rates, including euro and cross-currency conversions. Uses the latest preceding published rate when the date has none.

    ecb.europa.eu/convert_currency
  • Gets the official ECB euro reference exchange rates for a day, or the latest published day. Weekends, holidays and dates before publication return the previous published day.

    ecb.europa.eu/get_euro_exchange_rates
  • Converts an amount between two currencies using the current Google Finance quote. Rates may be delayed.

    google.com/convert_currency
  • Gets the U.S. Treasury quarterly reporting exchange rate for a country or currency on a given date. If that quarter has no published record, it uses the latest preceding quarter.

    treasury.gov/get_reporting_exchange_rates
  • Gets a coin's price, market cap and 24-hour volume at 00:00 UTC on a past date. Non-USD currencies are available only for the last 365 days.

    coingecko.com/get_coin_price_on_date
  • Finds the closest Wayback Machine capture of a web page to a past date and returns its title and readable text.

    web.archive.org/get_archived_page