# Eurostat & ECB Statistics: Inflation, Jobs, GDP, EUR FX (`datacrate/eurostat-ecb-statistics-feed`) Actor

Eurostat and ECB open statistics as clean flat rows: inflation, unemployment, GDP, debt, population and euro exchange rates. Presets, country and period filters, latest-value mode and delta mode for revisions.

- **URL**: https://apify.com/datacrate/eurostat-ecb-statistics-feed.md
- **Developed by:** [Data Crate](https://apify.com/datacrate) (community)
- **Categories:** Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 1,000 statistic row returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Eurostat & ECB Statistics: Inflation, Jobs, GDP, EUR FX

**Get official European statistics as clean, flat rows: inflation, unemployment, GDP growth, government debt, population and ECB euro exchange rates.** Pick a ready-made preset (or any Eurostat dataset code), choose countries and a time window, and get one row per observation with country, period, value, unit, status flag, source and attribution. Latest-value mode returns just the newest number per country or currency. Delta mode returns only new or revised values.

**First run cost:** the default run returns 25 rows (HICP inflation for the euro area, Germany, France, Italy and Spain, last 5 months) for about **$0.013** at **$0.0005 per row**, and the first few seconds of compute are covered by Apify. 1,000 rows cost about **$0.50**, less on higher Apify plans.

### Who it is for

- **Analysts, journalists and researchers** who want Eurostat and ECB numbers in a spreadsheet or database without learning JSON-stat or SDMX.
- **Fintech, treasury and pricing teams** who need daily ECB euro reference rates for EUR/USD, GBP, JPY, CHF and more in a schedulable feed.
- **Dashboards, bots and AI agents** that need a stable, flat schema for inflation, unemployment and GDP across EU countries.
- **Economic-alert workflows** that react when a new monthly figure appears or an earlier figure is revised.

### Presets

| Preset | Source | What you get |
|---|---|---|
| `hicp-inflation` (default) | Eurostat `prc_hicp_minr` | Annual HICP inflation, all items, % |
| `unemployment-rate` | Eurostat `une_rt_m` | Seasonally adjusted unemployment rate, % of active population |
| `youth-unemployment` | Eurostat `une_rt_m` | Same, under 25 |
| `gdp-growth` | Eurostat `namq_10_gdp` | Quarterly GDP volume growth vs previous quarter, % |
| `industrial-production` | Eurostat `sts_inpr_m` | Month-on-month change in industrial production, % |
| `government-debt` | Eurostat `gov_10q_ggdebt` | General government gross debt, % of GDP |
| `population` | Eurostat `demo_pjan` | Population on 1 January |
| `ecb-eur-usd-daily`, `ecb-eur-gbp-daily`, `ecb-eur-jpy-daily`, `ecb-eur-chf-daily` | ECB `EXR` | Daily euro reference rate, units of currency per 1 EUR |
| `ecb-fx-major-daily`, `ecb-fx-major-monthly` | ECB `EXR` | USD, GBP, JPY, CHF, CNY, CAD, AUD daily or monthly average |

Need something else? Set **Custom Eurostat dataset code** (for example `nrg_pc_204`) and narrow it with **Dimension filters**. Eurostat has thousands of datasets.

### What you get per row

`source`, `indicator`, `indicatorTitle`, `dataset`, `datasetLabel`, `geo`, `geoName`, `timePeriod`, `periodStart`, `frequency`, `value`, `unit`, `unitLabel`, `changeVsPrevious` (difference to the previous period in the same run), `flag` and `flagMeaning` (for example `p` = provisional), `dimensions` and `dimensionLabels` (all other dataset dimensions), `seriesKey`, `datasetUpdated`, `previousValue`, `isNew`, `isRevised`, `url`, `attribution`, `checkedAt`. ECB rows also carry `currencyName`.

### Input

| Field | Meaning |
|---|---|
| `preset` | indicator preset (default `hicp-inflation`) |
| `countries` | Eurostat geo codes such as `DE`, `FR`, `PL`, `EU27_2020`, `EA21`. Empty = the preset's default set |
| `currencies`, `fxFrequency` | override currencies (for example `SEK`, `PLN`) and frequency (`D`, `M`, `A`) for ECB presets |
| `dataset`, `filters` | any Eurostat dataset code plus dimension filters, for example `{"unit": "PC_ACT", "sex": ["M","F"]}` |
| `lastNPeriods` | latest N periods per series (default 5) |
| `sinceTimePeriod`, `untilTimePeriod` | explicit window: `2024`, `2024-06`, `2024-Q2`, or `2024-06-15` for daily ECB data |
| `latestOnly` | newest available value per country or currency |
| `maxItems` | cap on rows and cost (default 25) |
| `onlyNewSinceLastRun`, `stateKey` | delta mode, one watchlist per state name |

Default input (also what you get with empty input):

```json
{ "preset": "hicp-inflation", "lastNPeriods": 5, "maxItems": 25 }
```

Latest unemployment rate for Poland, Spain and the EU:

```json
{ "preset": "unemployment-rate", "countries": ["PL", "ES", "EU27_2020"], "latestOnly": true }
```

Daily EUR/USD and EUR/GBP since the start of the year:

```json
{ "preset": "ecb-fx-major-daily", "currencies": ["USD", "GBP"], "sinceTimePeriod": "2026-01-01", "maxItems": 1000 }
```

### Sample output (trimmed)

```json
{
  "source": "Eurostat",
  "indicator": "hicp-inflation",
  "dataset": "prc_hicp_minr",
  "geo": "DE",
  "geoName": "Germany",
  "timePeriod": "2026-10",
  "periodStart": "2026-10-01",
  "frequency": "monthly",
  "value": 2.3,
  "unit": "RCH_A",
  "unitLabel": "Annual rate of change",
  "changeVsPrevious": -0.1,
  "flag": null,
  "dimensions": { "coicop18": "TOTAL" },
  "isRevised": null,
  "attribution": "Source: Eurostat (https://ec.europa.eu/eurostat), reuse under Commission Decision 2011/833/EU (CC BY 4.0)..."
}
```

(Values above illustrate the shape; each run returns the live figures.)

### FAQ

**Where does the data come from?** Directly from the public Eurostat dissemination API and the ECB Data Portal API. No API key is needed.

**Is reuse allowed?** Eurostat data may be reused for commercial and non-commercial purposes with the source acknowledged (Commission Decision 2011/833/EU). The ECB allows reuse with the ECB cited as source. Every row carries an `attribution` string. Please keep it when you republish.

**Why does a country return no rows?** Eurostat only publishes values that exist. A country might not report a dataset, the code may differ (the euro area is `EA21` in most datasets and `EA` in the HICP one), or the latest period is not out yet. The run log says when nothing matched.

**What are the flags?** Eurostat status flags such as `p` provisional, `e` estimated, `b` break in series, `f` forecast. Meanings are in `flagMeaning`.

**What is the ECB rate?** The euro foreign exchange reference rate is published around 16:00 CET on working days. `USD per EUR` means how many dollars one euro buys. Reference rates are for information and not for transactions.

**What does delta mode do?** With `onlyNewSinceLastRun` a value is returned again only if it is new or its value changed since the previous run with the same `stateKey`. Revised rows have `isRevised: true` and the old figure in `previousValue`. Schedule it daily or weekly as a change feed.

**Does it handle big datasets?** Yes with filters. Without them, a large Eurostat dataset can exceed the API's size limit and the run stops with the API's error message. Narrow by country, dimension or period.

**How fast is it?** One request per run for a preset, so most runs finish in a few seconds. The actor sends one request per second at most and backs off on 429 or 5xx responses.

### Terms and robots evidence (checked 2026-11-22)

- Eurostat API `https://ec.europa.eu/eurostat/api/dissemination/statistics/1.0/data/<dataset>`. `https://ec.europa.eu/robots.txt` disallows `/eurostat/tgm/` and `/eurostat/SDMX/diss-web/rest/` but not `/eurostat/api/dissemination/`. Reuse policy: https://ec.europa.eu/eurostat/web/main/help/copyright-notice ("Reuse ... for commercial or non-commercial purposes is authorised provided the source is acknowledged", Decision of 12 December 2011).
- ECB Data Portal API `https://data-api.ecb.europa.eu/service/data/EXR/...`. `https://data-api.ecb.europa.eu/robots.txt` has no rule blocking the API for other agents. Copyright notice https://www.ecb.europa.eu/services/disclaimer/html/index.en.html ("the ECB must be cited as the source").
- The actor identifies itself as `DataCrateApifyActor/1.0` and does not bypass any protection.
- Processing note: values are flattened into rows by this actor. Eurostat and the ECB are not responsible for that processing.

### Integrations

Schedule it daily, push new rows to Slack, email, Google Sheets or a database through a webhook, or call it from an AI agent through the Apify MCP server. Export JSON, CSV or Excel.

### Pricing

Pay per result: **$0.0005 per statistics row** (volume tiers on higher Apify plans), plus Apify's usual start event. Only rows returned are billed, and `maxItems` caps the bill. Rows skipped by delta mode are not billed.

### Related actors

- US Treasury Data Feed for US yields and debt.
- GLEIF LEI Registry Feed for legal entity identifiers.
- EU TED Tenders Feed for European public procurement.

### Changelog

- 1.0: first release (7 Eurostat presets, 6 ECB exchange-rate presets, custom dataset and filters, latest-value mode, delta mode with revision detection).

# Actor input Schema

## `preset` (type: `string`):

Ready-made indicators. Ignored when 'Custom Eurostat dataset code' is set. ECB presets return euro reference exchange rates.

## `countries` (type: `array`):

Eurostat geo codes, e.g. DE, FR, IT, ES, PL, EU27_2020, EA21 (euro area; the HICP dataset uses EA). Leave empty for the preset's default set (euro area, Germany, France, Italy, Spain).

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

Optional override for ECB presets: ISO currency codes quoted per 1 euro, e.g. USD, GBP, JPY, SEK, PLN.

## `fxFrequency` (type: `string`):

Optional override: D = daily reference rate, M = monthly average, A = annual average.

## `dataset` (type: `string`):

Optional. Any Eurostat dataset code, e.g. nrg_pc_204 or ei_bsco_m. Pair it with 'Dimension filters' so the response stays small. Overrides the preset.

## `filters` (type: `object`):

Eurostat dimension codes to keep, e.g. {"unit": "PC_ACT", "sex": \["M", "F"]}. Values can be a string or a list.

## `lastNPeriods` (type: `integer`):

How many most recent periods to fetch per series (ignored when 'From period' is set).

## `sinceTimePeriod` (type: `string`):

Optional start: 2024, 2024-06, 2024-Q2 or (ECB daily) 2024-06-15.

## `untilTimePeriod` (type: `string`):

Optional end, same formats.

## `latestOnly` (type: `boolean`):

Return only the newest available value for each country or currency.

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

Upper bound on rows (and on cost).

## `onlyNewSinceLastRun` (type: `boolean`):

Skip observations already returned with the same value by an earlier run with the same state name. Revised values are returned again with the previous value. The first run sets the baseline.

## `stateKey` (type: `string`):

Use different names to keep separate watchlists.

## Actor input object example

```json
{
  "preset": "hicp-inflation",
  "countries": [
    "DE",
    "FR"
  ],
  "fxFrequency": "",
  "lastNPeriods": 5,
  "latestOnly": false,
  "maxItems": 10,
  "onlyNewSinceLastRun": false,
  "stateKey": "default"
}
```

# Actor output Schema

## `results` (type: `string`):

One row per observation: indicator, country, period, value, unit, status flag, source and attribution.

# 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 = {
    "preset": "hicp-inflation",
    "countries": [
        "DE",
        "FR"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("datacrate/eurostat-ecb-statistics-feed").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 = {
    "preset": "hicp-inflation",
    "countries": [
        "DE",
        "FR",
    ],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("datacrate/eurostat-ecb-statistics-feed").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 '{
  "preset": "hicp-inflation",
  "countries": [
    "DE",
    "FR"
  ],
  "maxItems": 10
}' |
apify call datacrate/eurostat-ecb-statistics-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datacrate/eurostat-ecb-statistics-feed"
        }
    }
}
```

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/UHpdWKyRG2hHPJ8Qm/builds/puBrARR7B8sLdhE5R/openapi.json
