Frankfurter Currency Scraper - Live, Historical & Timeseries avatar

Frankfurter Currency Scraper - Live, Historical & Timeseries

Pricing

from $0.50 / 1,000 rate scrapeds

Go to Apify Store
Frankfurter Currency Scraper - Live, Historical & Timeseries

Frankfurter Currency Scraper - Live, Historical & Timeseries

Free currency rates from Frankfurter (ECB data), 30+ currencies. Latest, single historical date, or timeseries between two dates. No API key. $0.5/1k items.

Pricing

from $0.50 / 1,000 rate scrapeds

Rating

0.0

(0)

Developer

Gio

Gio

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

21 days ago

Last modified

Features

Limited permissions

Share

Frankfurter Currency Scraper - Live, Historical & Timeseries FX

Free currency exchange rates sourced from Frankfurter (built on European Central Bank reference rates), for 30+ currencies. Pull today's rate, a single historical date, or a full timeseries between two dates. No API key, no subscription on the data source.

Why use this scraper

Most currency-rate APIs either require a paid key, cap you to a handful of free calls per month, or only expose "latest" and make historical lookups a separate paid tier. Frankfurter is a free, open-data wrapper around the ECB's daily reference rates, but it still means writing three different request shapes (latest, single historical day, date-range timeseries) and flattening the response yourself. This Actor wraps all three modes behind one input and returns one flat {date, base, target, rate} row per currency pair per date, ready to load into a spreadsheet, a finance app or an accounting pipeline.

Overview

You choose a mode (latest, historical or timeseries), a base currency and optionally a comma-separated list of target symbols (leave empty to get every available currency against the base). historical needs a single date; timeseries needs a from date and optionally a to date (defaults to today). The Actor returns one dataset item per target currency per date, so a timeseries over several days and several currencies comes back as a clean flat table instead of one nested JSON object per day.

Supported inputs

FieldTypeUsed byDescription
modestringalllatest, historical or timeseries
basestringallBase ISO 4217 currency code (e.g. USD, EUR, BRL)
symbolsstringallComma-separated target currencies (e.g. BRL,EUR,JPY); empty returns all available
datestringhistoricalYYYY-MM-DD, required
fromstringtimeseriesYYYY-MM-DD, required
tostringtimeseriesYYYY-MM-DD, optional, defaults to today

Use cases

  1. E-commerce and marketplace pricing - convert product prices between currencies at checkout using today's rate (latest), without a paid FX API subscription.
  2. Accounting and bookkeeping - pull the exact historical rate for the date of a specific invoice or transaction (historical) to book it at the correct value.
  3. Travel and expense apps - show a traveler the rate history for their trip dates (timeseries) to compare today's rate against when they booked.
  4. Fintech and treasury dashboards - run latest on a schedule to refresh a multi-currency balance dashboard with current conversion rates.
  5. Financial research and reporting - pull a multi-month timeseries for a currency pair to chart volatility or compute an average rate for a reporting period.

How it works

  1. The Actor validates mode and the fields that mode requires (date for historical; from for timeseries).
  2. It calls the matching Frankfurter endpoint (/latest, /{date}, or /{from}..{to}) with base and symbols as query parameters.
  3. Frankfurter's response is one object keyed by date, each holding a map of target currency to rate; the Actor flattens this into one dataset item per {date, target} pair, with base and rate alongside.
  4. Weekends and ECB bank holidays have no published rate; Frankfurter automatically returns the most recent prior business day's rate for those dates rather than a gap, and the Actor passes that through as-is.
  5. For timeseries, the upstream response can hold dozens of dates in one call; the Actor iterates every date in the response and every currency inside it, so a wide date range and a long symbols list both scale into more dataset rows rather than a bigger nested object you would have to unpack yourself.

Input configuration - 3 examples

Mode 1 - latest rates, specific targets:

{
"mode": "latest",
"base": "USD",
"symbols": "BRL,EUR,JPY"
}

Mode 2 - historical, single date:

{
"mode": "historical",
"base": "EUR",
"date": "2025-01-15",
"symbols": "USD,GBP"
}

Mode 3 - timeseries between two dates:

{
"mode": "timeseries",
"base": "USD",
"symbols": "BRL",
"from": "2026-10-01",
"to": "2026-10-05"
}

Output sample

Real output from smoke test runs, unedited.

mode: "latest":

{ "date": "2026-11-03", "base": "USD", "target": "BRL", "rate": 5.4934 }
{ "date": "2026-11-03", "base": "USD", "target": "EUR", "rate": 0.89453 }
{ "date": "2026-11-03", "base": "USD", "target": "JPY", "rate": 158.29 }

mode: "timeseries" (USD to BRL, Oct 1-5 2026):

{ "date": "2026-10-01", "base": "USD", "target": "BRL", "rate": 5.1885 }
{ "date": "2026-10-02", "base": "USD", "target": "BRL", "rate": 5.2214 }
{ "date": "2026-10-05", "base": "USD", "target": "BRL", "rate": 4.9847 }

Key output fields

FieldTypeDescription
datestringYYYY-MM-DD, the rate's reference date
basestringThe base currency, as given in input
targetstringThe target currency for this row
ratenumberExchange rate: 1 unit of base equals rate units of target

Pricing

Pay per event, no subscription.

EventPrice
Actor start$0.00005 (once per run)
Rate scraped$0.0005 per item (errors and empty pages not charged)

Example: a latest call for 10 target currencies costs about $0.00505. A 30-day timeseries for 5 currencies (150 rows) costs about $0.0751.

What makes this richer than the competition

Compared with the two closest ECB/Frankfurter-based listings on the Apify Store:

  • vs. eins332570/frankfurter-fx-scraper (Currency Exchange Rates Scraper, ECB / Frankfurter): both are built on the same free Frankfurter/ECB data source; this Actor exposes latest, historical and timeseries as one explicit mode input with per-mode required fields, instead of inferring which call to make from whatever date fields happen to be filled in.
  • vs. chrisp1211/currency-exchange-scraper-max (Currency Exchange Rates Scraper (ECB)): both read ECB reference rates; this Actor's output is pre-flattened to one {date, base, target, rate} row per currency pair, so a multi-currency timeseries loads directly into a spreadsheet or a GROUP BY query without a reshaping step.

Notes & limitations

  • Frankfurter (and the ECB rates behind it) does not cover every world currency - only the roughly 30 currencies the ECB publishes daily reference rates for (major and most EU-adjacent currencies). A currency outside that set in symbols is simply omitted from the response, not an error.
  • ECB rates are published once per business day (around 16:00 CET); this Actor does not provide intraday or real-time rates.
  • For non-business days (weekends, ECB holidays), both latest and any date inside a historical/timeseries range return the most recent prior business day's rate, exactly as Frankfurter itself does; there is no separate "no data" response for a weekend date.
  • base is case-sensitive to the extent Frankfurter's own API is; always pass standard uppercase ISO 4217 codes (USD, not usd).
  • This Actor does not convert amounts for you; it returns the raw rate per currency pair. Multiplying an amount by rate to get a converted value is left to the caller, since the right rounding and precision rules vary by use case (accounting vs. display).

FAQ

Do I need an API key? No. Frankfurter is free and open, and this Actor needs no credentials.

How far back does historical data go? Frankfurter's ECB-sourced data goes back to 1999, when the euro reference rate series began; dates before that are not available.

Can I get every currency at once instead of listing them in symbols? Yes, leave symbols empty and the Actor returns every currency Frankfurter has for that base and date.

Is this real-time forex trading data? No. These are the ECB's daily reference rates, intended for accounting, reporting and informational use, not as a live trading feed.

What happens if I request a date range longer than a year? Frankfurter supports multi-year ranges; a longer range simply returns more rows (one per currency per business day) and takes slightly longer to process.

Can I invert the pair, like BRL to USD instead of USD to BRL? Yes, just set base to BRL and symbols to USD; Frankfurter computes the rate from the base you specify, it is not limited to a fixed direction per pair.

Why is my rate for a Friday also showing on Saturday and Sunday? That is expected: the ECB does not publish rates on non-business days, so Frankfurter (and this Actor) returns Friday's rate for the weekend dates inside a timeseries range, the same behavior you would see calling Frankfurter directly.

For AI Agents & LLM Apps

This Actor is Apify MCP-compatible and can be called directly from an LLM agent:

  • Via Apify MCP (mcp.apify.com): add gio21/frankfurter-currency-scraper as a tool and pass {"mode": "latest", "base": "USD", "symbols": "BRL,EUR"} as the call arguments.
  • Via API (no MCP needed):
curl -X POST "https://api.apify.com/v2/acts/gio21~frankfurter-currency-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"mode": "latest", "base": "USD", "symbols": "BRL,EUR"}'

SEO Keywords

currency exchange rate scraper, frankfurter api, ecb exchange rates, free forex api, historical exchange rate api, currency timeseries api, fx rate scraper, exchange rate api no key, usd to brl historical rate