# Eurostat Economic Data Explorer (`wakey7dev/eurostat-economic-data-normalizer`) Actor

Extract Eurostat economic statistics — GDP, employment, inflation, trade for EU countries. Free API, no key. Economic research, policy analysis.

- **URL**: https://apify.com/wakey7dev/eurostat-economic-data-normalizer.md
- **Developed by:** [Chris Wakefield](https://apify.com/wakey7dev) (community)
- **Categories:** Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

![Chris The Dev](https://raw.githubusercontent.com/chriswakefield87/appstore-screenshot-translator/main/assets/actor-banner.png)

## Eurostat Economic Data Normalizer

Search and normalize EU economic data from **Eurostat** — the statistical office of the European Union. Fetch GDP, population, employment, inflation and hundreds more indicators across all EU countries. Data is cleaned, codes are mapped to human-readable labels, and results are formatted for immediate use.

**No API key required** — Eurostat data is free and open.

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `datasetCode` | string | `nama_10_gdp` | Eurostat dataset code. Find codes on the [Eurostat Data Browser](https://ec.europa.eu/eurostat/databrowser/) |
| `geo` | string | `DE,FR,IT,ES,EU27_2020` | Comma-separated country/geo codes. Use `ALL` for all available |
| `timePeriods` | string | last 5 years | Comma-separated years, e.g. `2020,2021,2022,2023,2024` |
| `filterParams` | string | `unit=CP_MEUR;na_item=B1GQ;s_adj=SCA` | Dimension filters as `key=value` pairs separated by semicolons |
| `maxResults` | integer | 500 | Max data points to return (0 for all) |
| `includeLabels` | boolean | true | Add normalized human-readable labels alongside codes |

#### Common Dataset Codes

| Code | Description |
|---|---|
| `nama_10_gdp` | GDP and main components (national accounts) |
| `demo_pjan` | Population on 1 January |
| `prc_hicp_manr` | HICP - monthly data (inflation) |
| `lfsi_emp_a` | Employment - annual data |
| `une_rt_a` | Unemployment - annual data |
| `tps00001` | Total population |

#### Common Dimension Filters

- **unit**: `CP_MEUR` (current prices MEUR), `CLV15_MEUR` (chain linked volumes), `PCH_PRE` (% change), `THS_HAB` (per 1000 inhabitants)
- **na\_item**: `B1GQ` (GDP), `P3` (consumption), `P5G` (capital formation), `P51G` (fixed capital formation)
- **s\_adj**: `SCA` (seasonally/calendar adjusted), `NSA` (unadjusted), `CA` (calendar adjusted)
- **freq**: `A` (annual), `Q` (quarterly), `M` (monthly)

#### Country Codes

Common codes: `DE` (Germany), `FR` (France), `IT` (Italy), `ES` (Spain), `NL` (Netherlands), `BE` (Belgium), `EU27_2020` (EU 27), `EA20` (Euro Area 20), `UK` (United Kingdom), `US` (United States), `CH` (Switzerland), `NO` (Norway), `JP` (Japan), `CN` (China).

Full list: ISO 3166-1 alpha-2 codes with Eurostat-specific aggregate codes.

### Example Input (JSON)

```json
{
  "datasetCode": "nama_10_gdp",
  "geo": "DE,FR,IT,ES,UK",
  "timePeriods": "2020,2021,2022,2023",
  "filterParams": "unit=CLV15_MEUR;na_item=B1GQ;s_adj=SCA",
  "maxResults": 100,
  "includeLabels": true
}
```

### Example Output

The actor produces three output artifacts:

**1. Summary Table** (KVS: `OUTPUT`) — human-readable ASCII table:

```
================================================================================
  EUROSTAT ECONOMIC DATA
================================================================================
  Dataset:    nama_10_gdp
  Countries:  DE,FR,IT,ES,UK
  Periods:    2020,2021,2022,2023
  Data Points: 20
================================================================================
```

**2. Full Results** (Dataset) — each data point is a structured object:

```json
{
  "value": 3673300.0,
  "geo": "DE",
  "country": "Germany",
  "countryNormalized": "Germany",
  "year": "2022",
  "indicatorCode": "B1GQ",
  "indicator": "Gross domestic product at market prices",
  "indicatorNormalized": "Gross domestic product at market prices",
  "unitCode": "CLV15_MEUR",
  "unit": "Chain linked volumes (2015), million euro",
  "unitNormalized": "Chain linked volumes (2015), million euro",
  "frequency": "Annual",
  "seasonalAdjustment": "Seasonally and calendar adjusted",
  "datasetCode": "nama_10_gdp"
}
```

**3. Run Statistics** (KVS: `STATS`) — machine-readable stats:

```json
{
  "datasetCode": "nama_10_gdp",
  "countries": "DE,FR,IT,ES,UK",
  "timePeriods": "2020,2021,2022,2023",
  "totalDataPoints": 20,
  "status": "success",
  "timestamp": "2026-07-09T19:00:00"
}
```

### Use Cases

- **Economic Research**: Compare GDP growth across EU countries
- **Investment Analysis**: Track inflation, employment, and economic indicators
- **Market Entry**: Evaluate country-level economic data for expansion decisions
- **Academic Research**: Clean, normalized data for econometric analysis
- **Policy Analysis**: Monitor EU economic trends and regional disparities
- **Data Pipelines**: Feed normalized economic indicators into dashboards and ML models

### Data Source

**Eurostat** (European Statistical Office) provides free, open access to EU economic and social data under the [Eurostat Open Data license](https://ec.europa.eu/eurostat/web/main/about/policies/copyright).

API: `https://ec.europa.eu/eurostat/api/dissemination/statistics/1.0/data/{datasetCode}`

No registration or API key required.

# Actor input Schema

## `datasetCode` (type: `string`):

Eurostat dataset code (e.g. nama\_10\_gdp for GDP, demo\_pjan for population, prc\_hicp\_manr for inflation). See https://ec.europa.eu/eurostat/databrowser/

## `geo` (type: `string`):

Comma-separated country codes (e.g. DE,FR,IT,ES,EU27\_2020). Use 'ALL' for all available geos in the dataset.

## `timePeriods` (type: `string`):

Comma-separated years (e.g. 2020,2021,2022,2023,2024). Leave empty for latest 5 years.

## `filterParams` (type: `string`):

Additional dimension filters as key=value pairs separated by semicolons. E.g. unit=CP\_MEUR;na\_item=B1GQ;s\_adj=SCA (CP\_MEUR=Current Prices MEUR, B1GQ=GDP, SCA=Seasonally adjusted)

## `maxResults` (type: `integer`):

Maximum number of data points to return (0 for all)

## `includeLabels` (type: `boolean`):

If true, adds normalized labels alongside codes in output

## Actor input object example

```json
{
  "datasetCode": "nama_10_gdp",
  "geo": "DE,FR,IT,ES,EU27_2020",
  "timePeriods": "",
  "filterParams": "unit=CP_MEUR;na_item=B1GQ",
  "maxResults": 500,
  "includeLabels": true
}
```

# Actor output Schema

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

Complete dataset items with normalized labels.

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

Human-readable summary table of query results.

## `stats` (type: `string`):

Machine-readable run statistics.

# 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("wakey7dev/eurostat-economic-data-normalizer").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("wakey7dev/eurostat-economic-data-normalizer").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 wakey7dev/eurostat-economic-data-normalizer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wakey7dev/eurostat-economic-data-normalizer"
        }
    }
}

```

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/P2aDmj8B7fI7CtGSQ/builds/Zz6JUdn2D2ye3iclB/openapi.json
