ECB reference rates and 90-day cross rates
Pricing
from $1.00 / 1,000 results
ECB reference rates and 90-day cross rates
Export ECB daily reference exchange rates as dated rows. Convert supported base currencies and filter the last 90 days. No API key or personal data.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
Kevin Rajan
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 days ago
Last modified
Categories
Features
Share
Export dated exchange-rate rows for reporting, spreadsheets, and scheduled workflows. Select a base currency and target currencies. Use the latest publication or the ECB's rolling 90-day feed.
The underlying information is available free of charge from the European Central Bank. This service formats the data and calculates cross rates. It is not affiliated with or endorsed by the ECB. Rates are for reference, not executable trading quotes.
Input
{"base": "EUR","currencies": ["USD", "GBP"],"mode": "latest","fromDate": "","toDate": "","maxResults": 2}
basedefaults toEUR. Use a supported three-letter currency code.currenciesdefaults toUSDandGBPwhen absent. Supply 1 to 32 codes. Codes are case-insensitive. Duplicates produce one row per date.modeislatestorlast90days. The default islatest.fromDateandtoDateare inclusiveYYYY-MM-DDbounds. Empty strings mean no bound. Dates outside the rolling feed do not trigger a full-history download.maxResultsdefaults to 1000. The allowed range is 1 to 3000. Results use newest dates first, then your currency order.
Supported codes are EUR USD JPY BGN CZK DKK GBP HUF PLN RON SEK CHF ISK NOK TRY AUD BRL CAD CNY HKD IDR ILS INR KRW MXN MYR NZD PHP SGD THB ZAR. Availability depends on the publication date. A currency absent from that publication causes an error, not a fabricated rate. BGN is a legacy code and may be absent from current publications.
Output
Each dataset row contains:
| Field | Value |
|---|---|
date | ECB observation date in YYYY-MM-DD form |
base | Base currency code |
currency | Target currency code |
rate | Target units per one base unit, rounded to 12 decimal places |
source | European Central Bank |
sourceUrl | ECB XML feed used for the row |
sourceNotice | Notice that the underlying ECB data is available free |
calculation | Explicit description of the cross-rate calculation and rounding |
The calculation is ECB target/EUR ÷ ECB base/EUR. A target equal to the base has a rate of one. The service derives and rounds the result rather than presenting it as an unmodified ECB quote. See example-output.json for a captured public-source example.
The default key-value store contains SUMMARY with resultCount, errorCount, and aborted. An abort also stores these counters in STATE before exit. STATE is diagnostic, not a resume guarantee.
Empty output, errors, and pricing
No dataset row is written for an error or an empty date range. Invalid input or malformed upstream data fails the run. Network failures, HTTP 429, and server errors receive at most three attempts. A Retry-After delay above 30 seconds stops the request instead of continuing to consume compute.
When pay-per-event pricing is enabled, only successful dataset rows use the apify-default-dataset-item event. There is no startup event and no manual charge that duplicates the dataset charge. Platform usage can still apply under the active Store pricing model. Consult the Actor's Pricing tab before running it. No paid pricing is active in this unpublished development package.
The ECB normally updates reference rates on business days. Weekends and holidays return the most recent publication, not a new quote. This Actor does not guarantee publication times, coverage of discontinued currencies, or uninterrupted source availability.
Local verification
After approving and installing the official template dependency in requirements.txt, use:
apify validate-schemaapify run --no-purge --input-file example-input.json
From the repository root, python3 -m unittest discover -s lanes/AP-apify -v runs offline fixture tests without the SDK. The lane's verify_live.py checks real public-source data and dataset schemas, but does not replace an SDK or platform run.
Maintainers can set HTTP_TIMEOUT_SECONDS, default 20. The Dockerfile is unchanged from the official python-empty template.
Source use follows the ECB copyright conditions. No personal data, login, proxy, paid API, or browser is used.