# ECB Exchange Rates Scraper – $1.8/1K (`fluyeporlaweb/ecb-exchange-rates-scraper`) Actor

Get official ECB euro reference exchange rates for 30 currencies (USD, GBP, JPY, CHF…): today, last 90 days or full history since 1999. Free reuse.

- **URL**: https://apify.com/fluyeporlaweb/ecb-exchange-rates-scraper.md
- **Developed by:** [Pablo Navarro](https://apify.com/fluyeporlaweb) (community)
- **Categories:** Automation, AI, Lead generation
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.80 / 1,000 rates

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## ECB Exchange Rates Scraper – Official Euro FX Rates

**ECB exchange rates scraper** that returns the **official euro foreign exchange reference rates** published daily by the European Central Bank for about 30 currencies (USD, GBP, JPY, CHF, CNY, …). Get the latest rates, the last 90 days or the full history since 1999, as clean rows ready for spreadsheets, invoices and automations. Source: ECB statistics.

### What does it do?

- Date, base (EUR), currency and pair.
- Rate as a number and exactly as published.
- Source and link to the ECB page.

### Use cases

- **Invoicing and accounting**: convert prices and invoices with the official daily rate.
- **E-commerce and solopreneurs**: update multi-currency price lists automatically.
- **AI agents and automation**: give an agent or a Make/Zapier/n8n flow a trusted FX rate.
- **Content and SEO**: daily EUR/USD posts and historical charts.

### Input

| Field | Description |
|---|---|
| `currencies` | ISO codes. Empty = all ~30. Example: USD, GBP, CHF |
| `daysBack` | 1 = latest rates. Up to full history since 1999. |
| `maxItems` | Newest first. |

Example input:

```json
{
  "currencies": [
    "USD",
    "GBP",
    "JPY",
    "CHF",
    "CNY"
  ],
  "daysBack": 7,
  "maxItems": 25
}
```

### Output

Real output (first items of a run on 26 Oct 2026):

```json
[]
```

Export the results as JSON, CSV or Excel, read them through the API, or send them to Google Sheets, Make, Zapier, n8n or webhooks. You can also run this Actor from AI agents through the Apify MCP server.

### Pricing

Pay per event: **$1.80 per 1,000 rates** plus $0.00005 per run start. There is no extra platform usage charge.

### FAQ

**When are rates updated?** The ECB publishes around 16:00 CET on TARGET working days.

**Can I get USD/GBP cross rates?** The Actor outputs official EUR-based rates unmodified; any cross rate you compute is your own derived figure.

**Can I use it commercially?** Yes. ESCB statistics may be reused free of charge, including commercially, if you quote "Source: ECB statistics" and do not modify them. These rates are also available free of charge on the ECB website.

**Do I need a login or API key?** No. It uses the source's public API; you only need an Apify account.

**Can AI agents use it?** Yes. Call it through the Apify API, or from Claude, Cursor or any MCP client via the Apify MCP server.

### Data source and license

Source: [ECB euro foreign exchange reference rates](https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html). [Policy regarding the reuse of ESCB statistics](https://www.ecb.europa.eu/stats/ecb_statistics/governance_and_quality_framework/html/usage_policy.en.html): "The ESCB is committed to providing its statistics free of charge as a public good of high quality irrespective of any subsequent commercial or non-commercial use." "All publicly available ESCB statistics may be reused free of charge on the condition that the source is quoted (e.g. "Source: ECB statistics.") and that the statistics (including metadata) are not modified." Source: ECB statistics. This information may be obtained free of charge through the ECB website. Not affiliated with or endorsed by the ECB.

This Actor is not affiliated with or endorsed by the data source. You are responsible for using the data in line with the source's license and terms.

# Actor input Schema

## `currencies` (type: `array`):

ISO codes. Empty = all ~30. Example: USD, GBP, CHF

## `daysBack` (type: `integer`):

1 = latest rates. Up to full history since 1999.

## `maxItems` (type: `integer`):

Newest first.

## Actor input object example

```json
{
  "daysBack": 1,
  "maxItems": 1000
}
```

# Actor output Schema

## `items` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("fluyeporlaweb/ecb-exchange-rates-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("fluyeporlaweb/ecb-exchange-rates-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call fluyeporlaweb/ecb-exchange-rates-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fluyeporlaweb/ecb-exchange-rates-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/8NsdQ2MoXeq96F66v/builds/JZXcWCgaoWmEvJVwU/openapi.json
