XE.com Currency Conversion & Exchange Rate Scraper avatar

XE.com Currency Conversion & Exchange Rate Scraper

Pricing

from $0.49 / 1,000 results

Go to Apify Store
XE.com Currency Conversion & Exchange Rate Scraper

XE.com Currency Conversion & Exchange Rate Scraper

Convert an amount between currencies, pull a full exchange-rate table for a base currency on any date since the late 1990s, or look up a currency's issuing country, symbol and central bank, for 180+ fiat and crypto currencies.

Pricing

from $0.49 / 1,000 results

Rating

0.0

(0)

Developer

vexaloom-labs

vexaloom-labs

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 hours ago

Last modified

Features

Limited permissions

Share

Convert currency amounts, pull live or historical exchange-rate tables, and look up currency metadata for 180+ world and crypto currencies — powered by xe.com's public currency data. No login, API key, cookies, or proxy required.

What this actor does

  • Three modes: convert, ratesTable, currencyInfo
  • Live conversion: convert any amount between any two of 180+ currencies
  • Historical conversion: convert on a past date (or a batch of dates) using XE's daily historical rate table
  • Full rate tables: every currency's rate against a base currency, live or on a historical date
  • Historical rates: daily-close exchange rates back to ~1995
  • Currency metadata: full name, plural name, crypto flag, obsolete flag, buy/sell availability
  • Crypto support: BTC, ETH, LTC, XRP, and more, alongside fiat currencies
  • Empty fields are omitted

Output per record

mode=convert (conversion record)

  • fromCurrency, fromCurrencyName, toCurrency, toCurrencyName
  • amount, convertedAmount, exchangeRate, inverseRate
  • timestamp — when the underlying rate was captured
  • date (historical conversions only) — the daily rate date used
  • rate7dHigh, rate7dLow, rate7dAverage, rate7dVolatilityPercent, rate7dStandardDeviation, rate7dDataPoints, rate7dHighTimestamp, rate7dLowTimestamp — 7-day rate history stats for this pair (live conversions only)
  • rate30dHigh, rate30dLow, rate30dAverage, rate30dVolatilityPercent, rate30dStandardDeviation, rate30dDataPoints, rate30dHighTimestamp, rate30dLowTimestamp — 30-day rate history stats
  • rate90dHigh, rate90dLow, rate90dAverage, rate90dVolatilityPercent, rate90dStandardDeviation, rate90dDataPoints, rate90dHighTimestamp, rate90dLowTimestamp — 90-day rate history stats
  • sourceUrl — the xe.com converter page for a live pair, or the historical rate table for a dated conversion
  • recordType: "conversion", scrapedAt

mode=ratesTable (one record per target currency)

  • baseCurrency, baseCurrencyName, targetCurrency, targetCurrencyName
  • rate, inverseRate
  • isCrypto, isObsolete (only present when true)
  • date (historical lookups only), timestamp
  • liveTrend, liveRateChangeValue, liveRateChangePercent — today's live up/down movement, only for live (non-historical) rows and only for the handful of major pairs xe.com tracks on its live ticker (e.g. EUR/USD, USD/JPY, GBP/USD, USD/CHF, USD/CAD, EUR/JPY, AUD/USD, GBP/EUR)
  • centralBankInterestRatePercent — the target currency's current central-bank benchmark interest rate, only for live (non-historical) rows and only for the handful of major currencies xe.com publishes this for (USD, EUR, GBP, JPY, CHF, CAD, AUD, NZD)
  • sourceUrl — xe.com's currency encyclopedia page for the target currency
  • recordType: "rate", scrapedAt

mode=currencyInfo (currency metadata record)

  • currencyCode, name, namePlural
  • isCrypto, isObsolete, isSellable, isBuyable
  • sourceUrl — xe.com's currency encyclopedia page, or its converter page as a fallback (only ever a link that's been checked to actually resolve; omitted entirely for the handful of currencies XE no longer publishes any page for, e.g. sanctioned/discontinued ones)
  • country — the country/region primarily associated with this currency
  • currencySymbol, minorUnitSymbol, minorUnitLabel — e.g. $, ¢, 1/100 = cent
  • centralBankName, centralBankUrl — the issuing central bank
  • centralBankRatePercent, inflationRatePercent — current benchmark interest rate and inflation rate, as published by xe.com
  • nicknames — informal names for the currency (e.g. "buck", "greenback")
  • usedInCountries — countries/territories that use this currency
  • coinDenominations, banknoteDenominations — coins/banknotes in circulation, formatted with the currency's own symbol (e.g. ["1¢", "5¢", ..., "50¢ (rare)"], ["$1", "$5", ..., "$100"]); omitted for currencies with no physical coins/notes (e.g. crypto)
  • shortDescription — a short one-line summary xe.com publishes for a subset of currencies (mostly crypto, e.g. "Ethereum is a decentralized open-source blockchain system..."); omitted when xe.com doesn't publish one
  • description — xe.com's currency-encyclopedia write-up (history, usage, notable facts), plain text
  • isTradable
  • replacedByCurrency, replacedByCurrencyName — for retired currencies, the successor currency xe.com itself names (e.g. DEM -> EUR), when published
  • recordType: "currencyInfo", scrapedAt

The extended fields (country through isTradable) come from xe.com's currency-encyclopedia page and are only included when includeExtendedInfo: true (default) and xe.com actually publishes that page/field for the currency.

Input

FieldTypeDefaultDescription
modestringconvertconvert / ratesTable / currencyInfo
amountnumber1Amount to convert (mode=convert)
fromCurrencystringUSDSource currency (mode=convert) / base currency (mode=ratesTable)
toCurrencystringEURTarget currency (mode=convert)
toCurrenciesarray[]Convert into multiple currencies at once (mode=convert), one record per currency from a single live-rates snapshot. Empty = use only toCurrency. Unknown codes are skipped with a status message
datestring–Historical date YYYY-MM-DD. In convert, converts using that day's historical rate table; in ratesTable, returns that day's full table. Leave empty for live/today. Ignored when dates is set
datesarray[]Batch of historical dates YYYY-MM-DD (up to 20), fetched in one run to build a trend series. convert emits one conversion per date and target; ratesTable emits each date's table. Overrides date when non-empty
targetCurrenciesarray[]Restrict ratesTable / currencyInfo output to these currency codes. Empty = all
sortBystringcurrencyCodeAscRow order for ratesTable: currencyCodeAsc / rateAsc / rateDesc
includeCryptoCurrenciesbooleantrueInclude crypto assets in ratesTable / currencyInfo
includeObsoleteCurrenciesbooleanfalseInclude retired currencies (pre-Euro DEM, FRF, ...)
includeExtendedInfobooleantruecurrencyInfo only: fetch country, symbol, central bank, inflation rate, nicknames, used-in countries and description from xe.com's currency encyclopedia (one extra request per currency; disable for faster runs)
includeRateStatsbooleantrueconvert only (live, not historical): attach XE's rolling 7/30/90-day high/low/average/volatility stats per pair (one small request per target; disable for the fastest multi-currency conversions)
maxItemsint50Hard cap on emitted records (1–10000). Raise it when batching dates or converting into many currencies

Example: convert an amount

{
"mode": "convert",
"amount": 500,
"fromCurrency": "USD",
"toCurrency": "JPY"
}

Example: convert an amount into several currencies at once

{
"mode": "convert",
"amount": 500,
"fromCurrency": "USD",
"toCurrencies": ["EUR", "JPY", "GBP"]
}

Example: convert on a historical date

{
"mode": "convert",
"amount": 500,
"fromCurrency": "USD",
"toCurrencies": ["EUR", "JPY"],
"dates": ["2020-06-15", "2024-01-02"]
}

Example: today's full rate table for EUR

{
"mode": "ratesTable",
"fromCurrency": "EUR",
"sortBy": "rateAsc",
"maxItems": 50
}

Example: historical rates on a specific date, restricted to a few currencies

{
"mode": "ratesTable",
"fromCurrency": "GBP",
"date": "2020-06-15",
"targetCurrencies": ["USD", "EUR", "JPY"]
}

Example: currency metadata lookup

{
"mode": "currencyInfo",
"targetCurrencies": ["USD", "BTC", "INR"]
}

Use cases

  • Finance apps — build a live currency converter or price checker
  • E-commerce — display localized prices across storefronts
  • Accounting / invoicing — convert transaction amounts for reporting
  • Historical analysis — pull daily rate history for a currency pair over time
  • Crypto dashboards — track crypto-to-fiat rates alongside traditional currencies
  • Data enrichment — attach currency names, obsolete/crypto flags to a dataset of currency codes

Limitations

  • Mid-market rates only. XE's public pages quote the mid-market rate. They are not the buy/sell rate a bank or transfer provider charges, and this actor does not scrape provider quotes.
  • No intraday tick/chart history. XE's public chart endpoint returns inconsistent series (a bogus first point and mixed pair orientation in spot checks), so it is not shipped. Historical output is XE's daily rate table, which goes back to the mid-1990s and thins out for older dates (~44 currencies in early 1998, 140+ from the early 2000s).
  • No upstream pagination. XE returns a full rate table (~190 rows) in one response; there is no page cursor to follow. Use maxItems and targetCurrencies to control volume. Batch dates are capped at 20 per run (20 extra requests).
  • Coverage follows XE's own pages. A handful of sanctioned/discontinued currencies (e.g. RUB, IRR, KPW) still have metadata but no live rate row or encyclopedia page, so their rate/sourceUrl/extended fields are omitted rather than fabricated.
  • Statistics are live-only. The 7/30/90-day blocks reflect XE's current rolling windows and are never attached to historical conversions.
  • English/XE only. No other locale, bank, or ECB feed is mixed in; every number comes from xe.com.

FAQ

Where does the data come from? xe.com, one of the most widely used currency-conversion services online. Rates are sourced from XE's mid-market feed and updated throughout the trading day; the daily rate table is a once-per-day close snapshot.

How far back does historical data go? XE's daily rate table reliably covers 1998 onward, with a growing number of currencies the more recent the date (e.g. ~44 currencies in early 1998, 140+ from the early 2000s on). Some dates between 1995-1997 may return no data at all for a given base currency, in which case the actor returns a clear "no rate table" message rather than partial/fabricated data. Today's date and future dates are always rejected with a clear error.

Why do some currencies show isObsolete: true? These are retired currencies (e.g. the German Deutsche Mark, French Franc — replaced by the Euro). They're excluded from ratesTable / currencyInfo by default; set includeObsoleteCurrencies: true to include them. Note that XE's daily rate table itself often doesn't carry rows for these legacy currencies even on dates before they were retired — in that case currencyInfo (which always has metadata) is the more reliable mode for looking them up. When XE publishes the successor currency for a retired one, currencyInfo also includes replacedByCurrency / replacedByCurrencyName (e.g. DEM -> replacedByCurrency: "EUR").

What currency codes are supported? 180+ active ISO currency codes plus major cryptocurrencies (BTC, ETH, LTC, XRP, ADA, DOGE, and more). Pick from the dropdown in each currency field, or check the currencyInfo mode output for the full list.

Is mode=convert real-time? With no date/dates it reflects XE's live quoted mid-market rate at request time, refreshed frequently throughout the day. Set date or dates to convert with XE's historical daily rate table instead; historical conversions omit the live 7/30/90-day statistics and carry the rate date.

What happens to unknown currency codes in a multi-currency conversion? Valid codes are still converted; unknown ones are skipped and named in the run's status message, so one typo no longer discards the whole batch.

Can I get rates for a currency pair that isn't USD-based? Yes — mode=convert computes the cross-rate between any two supported currencies directly (e.g. GBP → JPY), not just versus USD.

Do I need a proxy or API key? No. This actor reads xe.com's public pages directly; no login, cookies, or paid API key needed.

What do the rate7dHigh/rate30dHigh/rate90dHigh etc. fields mean? For mode=convert, XE also publishes rolling 7/30/90-day statistics for the requested pair: the highest and lowest rate seen (plus the exact UTC timestamp each occurred), the average rate, the standard deviation, the number of daily data points behind the stat, and the volatility (the day-to-day fluctuation, as a percentage) over that window. These are only included when fromCurrency and toCurrency differ, and each sub-field is only present when XE actually returns it for that window.

What's in the extended currencyInfo fields (country, central bank, nicknames, ...)? These come straight from xe.com's public currency-encyclopedia page for that currency — the same page a visitor sees at xe.com/currency/<code>-<name>/. Every link the actor emits is checked live before being returned; for the small number of currencies xe.com no longer publishes any page for (currently a handful of sanctioned/discontinued currencies such as the Russian Ruble or North Korean Won), sourceUrl and the extended fields are simply omitted rather than pointing at a dead link.