EU Statistics API: Eurostat + ECB Series, Flat JSON avatar

EU Statistics API: Eurostat + ECB Series, Flat JSON

Pricing

from $2.00 / 1,000 statistical observations

Go to Apify Store
EU Statistics API: Eurostat + ECB Series, Flat JSON

EU Statistics API: Eurostat + ECB Series, Flat JSON

Eurostat datasets and ECB exchange rates / SDMX series as flat rows, one per observation: dimension labels, period, value, status flags, unit, update date. Search the catalogue, filter by country and period. Official open APIs, unofficial tool, no personal data.

Pricing

from $2.00 / 1,000 statistical observations

Rating

0.0

(0)

Developer

Shadow Tools

Shadow Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Categories

Features

Limited permissions

Share

What it does. Reads statistical series from two official open APIs, the Eurostat dissemination API and the ECB Data Portal (SDMX) API, and returns them as flat rows (one row per observation) that you can use directly as JSON, CSV or Excel: dataset, one column per dimension (code + label), period, value, status flag, unit, last update, source credit. Missing values are never filled in or interpolated; status flags (provisional, estimated, break in series...) are kept.

When an AI agent or a script should call it: you need a European statistic (unemployment, inflation, GDP, population...) or an ECB euro exchange rate as structured rows, with the official dataset code and update date, instead of a number remembered by a model.

Unofficial, independent tool. Not affiliated with or endorsed by Eurostat, the European Commission or the European Central Bank. The icon uses a ring of stars only as a visual hint for "EU statistics".

Three modes

modeuse it tominimal input
searchDatasetsfind a dataset code by keyword (Eurostat catalogue + ECB dataflows){"mode":"searchDatasets","query":"unemployment rate"}
getSeriesread observations of a Eurostat dataset (filters by country, unit, any dimension, period) or of an ECB series{"dataset":"une_rt_m","geo":["FR"],"unit":["PC_ACT"],"filters":{"s_adj":"SA","age":"TOTAL","sex":"T"},"lastPeriods":12}
ecbRatesECB euro foreign exchange reference rates by currency and period{"mode":"ecbRates","currency":["USD","GBP"],"lastPeriods":5}

An empty input returns the default example: Eurostat monthly unemployment rate, France, last 12 months (11 rows: the latest month is not yet published, and the run note says so).

ECB series (any dataflow)

{"mode":"getSeries","source":"ecb","dataset":"ICP","seriesKey":"M.U2.N.000000.4.ANR","lastPeriods":3}. The key is the SDMX key of the dataflow (dimensions separated by dots, + for several values, empty = all). Note that the ECB itself discontinued the ICP flow after December 2025 (the sample shows its last values); pick a current flow with searchDatasets ("source":"ecb").

Input fields (see the form for details)

mode, source (eurostat / ecb / all), query, dataset, geo, unit, filters (any other dimension: {"sex":"T"}), seriesKey, currency, startPeriod, endPeriod, lastPeriods, sortOrder (newest-first by default, so a row limit keeps the latest values), maxResults (default 20, max 100000). Validation errors read like Field lastPeriods invalid: expected an integer between 1 and 1000, got 0, example 12.

Output (flat rows)

Real row (Eurostat, 8 Nov 2026):

{
"source": "eurostat", "dataset": "une_rt_m",
"freq": "M", "freqLabel": "Monthly",
"s_adj": "SA", "s_adjLabel": "Seasonally adjusted data, not calendar adjusted data",
"age": "TOTAL", "ageLabel": "Total", "sex": "T", "sexLabel": "Total",
"geo": "FR", "geoLabel": "France",
"period": "2026-09", "value": 8.5, "flag": null, "flagLabel": null,
"unit": "PC_ACT", "unitLabel": "Percentage of population in the labour force",
"lastUpdate": "2026-11-05T23:00:00+0100",
"attribution": "Source: Eurostat, dataset UNE_RT_M (https://doi.org/10.2908/UNE_RT_M), accessed 2026-11-08. Reuse authorised under Commission Decision 2011/833/EU. Data reformatted into flat rows (modified) by an independent service; ...",
"extractedAt": "2026-11-08T12:32:09.088Z"
}

Real row (ECB exchange rate):

{ "source": "ecb", "dataset": "EXR", "freq": "D", "currency": "GBP", "currencyLabel": "UK pound sterling",
"currency_denom": "EUR", "exr_type": "SP00", "exr_suffix": "A", "period": "2026-11-06", "value": 0.83415,
"flag": "A", "flagLabel": "Normal value", "unit": "GBP", "confidentiality": "F",
"seriesKey": "D.GBP.EUR.SP00.A", "seriesTitle": "Pound sterling/Euro ECB reference exchange rate",
"lastUpdate": "2026-11-08T13:25:38.267+01:00", "attribution": "Source: European Central Bank (ECB), ECB Data Portal, dataflow EXR, ..." }

Column rules: dimensions become columns named after their code (geo, sex, currency...), each with a <code>Label column; a dimension that clashes with a fixed column name is prefixed dim_. flag/flagLabel carry the source status (Eurostat p provisional, b break in series, e estimated, u low reliability, d definition differs...; ECB OBS_STATUS). A position with a flag but no value is delivered as value: null with its flag. Positions with neither are not delivered; the run SUMMARY reports how many (missingCells). The run SUMMARY (key-value store) also has totalMatching, capped, a plain-language note, datasetUpdatedAt, and the disclaimer.

Limits and honest caveats

  • ecbRates without a period returns the latest observation of each currency; a few currencies are discontinued and come back with an old date (see period on each row; the run note counts them).
  • Row limit: maxResults (default 20). When more rows match, the note says how many. Very large selections are refused with a message asking for filters (the Eurostat API answers asynchronously above its own size limit, and this Actor refuses responses above 12 MB): add geo, unit, other filters and lastPeriods.
  • Countries (licence): Eurostat's copyright notice excludes data for countries other than EU Member States, EFTA Member States and official EU acceding/candidate countries from commercial reuse. This paid Actor therefore keeps only rows whose geo/reporter code is clearly one of those (or an EU/euro-area/EFTA aggregate, or a NUTS region of such a country) and drops the rest, fail-closed: unknown codes are dropped. That includes the United Kingdom, Japan, the United States, China... (the run note lists the dropped codes). Datasets attributed to other organisations than Eurostat, or not stating their source, are refused for the same reason. Eurostat's explicit trade-data exceptions are applied too: in datasets with a reporter dimension, rows declared by Switzerland or Liechtenstein are dropped, and Austrian-declared rows at the 8-digit product level (a product code of 8 digits) as well; partner countries are not filtered, because the notice allows reuse of third-country data declared by an EU Member State.
  • Latest period: official statistics are published with a lag; the newest month may be empty for a country.
  • ECB data portal certificate: the ECB endpoint works from Node.js (tested); some other environments (e.g. Python on Windows) fail to verify its certificate chain. The Actor never disables certificate verification; if the ECB host cannot be verified, ECB modes fail with a clear message and searchDatasets with source: all still returns the Eurostat part.
  • Eurostat figures are revised; use lastUpdate and the flags. Exchange rates are for information only; using the ECB rates for transactions is strongly discouraged by the ECB.

Licence and attribution (read from the official pages on 8 Nov 2026)

Eurostat (https://ec.europa.eu/eurostat/web/main/help/copyright-notice): "Reuse of statistical data, metadata, publications, and other dissemination tools published on this website for commercial or non-commercial purposes is authorised provided the source is acknowledged. The reuse policy of the European Commission is implemented by the Decision of 12 December 2011" (Commission Decision 2011/833/EU, https://eur-lex.europa.eu/eli/dec/2011/833/oj). Conditions applied here: source acknowledged on every row (dataset code, DOI link, access date); "When reuse involves ... modifications to the data ... this must be stated clearly to the end user" and "A disclaimer regarding the non-responsibility of Eurostat shall be included" (both in every row's attribution and in the SUMMARY disclaimer); the country and third-party-data exceptions above. ECB (https://www.ecb.europa.eu/services/using-our-site/disclaimer/html/index.en.html, the "Disclaimer & Copyright" page that the ECB Data Portal footer links to): "users of this website may make free use of the information obtained directly from it subject to the following conditions: 1. When such information is distributed or reproduced, it must appear accurately and the ECB must be cited as the source. 2. Where the information is incorporated in documents that are sold (regardless of the medium), the natural or legal person publishing the information must inform buyers, both before they pay any subscription or fee and each time they access the information taken from this website, that the information may be obtained free of charge through this website. 3. If the information is modified by the user (e.g. by seasonal adjustment of statistical data or calculation of growth rates) this must be stated explicitly. 4. When linking to this website from business sites or for promotional purposes, this website must load into the browser's entire window". Applied here: the ECB is cited as source on every ECB row; every row and this page say the same information is free at https://data.ecb.europa.eu (condition 2); the data is only reformatted (no calculation); the rows say "modified" (condition 3); no framing. The ECB disclaimer also states that the ECB "accepts no responsibility or liability" for the reference rates and that they are published for information purposes only. The page speaks of "this website"; the Data Portal footer links to this same page and the API is the Portal's programmatic access, which is the basis of this reading (it is not an explicit API licence).

Price

Pay per event: stat-observation: 0.002 USD per delivered row (one observation or one catalogue entry), plus Apify's default start event (0.00005 USD). The run cost cap is respected: the Actor delivers only what the cap lets it bill, then stops cleanly. Platform usage is small (about 0.0003 USD for a 20-row run).

Privacy / GDPR by design

  • The sources are aggregate official statistics and exchange rates; this Actor does not query any microdata and has no field for a person's name, address, e-mail or phone number.
  • What the code really does: the output vocabulary is closed: fixed columns (source, dataset, period, value, flag, unit, update date, attribution...) plus the dimension codes and labels of the dataset (classification names such as "Total", "Males", "Germany"). Free-text fields of the sources are not delivered (the ECB observation comment OBS_COM is dropped on purpose). A unit test scans the output for contact-like patterns.
  • A fail-closed filter keeps only rows of countries/aggregates clearly allowed by Eurostat's reuse conditions (see above): this is a licence filter, not a personal-data filter; unknown = dropped.
  • Nothing about requesters is stored by the Actor: no input is written anywhere except the run's own dataset and key-value store in your Apify account, no cookies, no tracking, and the requests to Eurostat/ECB carry only a generic Actor User-Agent (apify-actor/0.1 (open-data reuse; contact via Apify Store issues)), not your identity.

For AI agents

Call searchDatasets first with English keywords, read the dataset code of the best hit, then call getSeries with that code, geo, lastPeriods and, if the answer has several series, the dimension filters visible in the columns of a first small call (lastPeriods: 1). Always quote period, unit and flag; do not infer a value for a missing period.

Support

Use the Issues tab of the Actor; replies within 14 days.