Skip to content

European Union API: Get Eurostat statistic for a country

Looks up an official Eurostat statistic for an EU or EEA country and the EU27 figure for the same period. Quarterly and half-yearly series return the reporting period that contains a requested month.

ec.europa.eu (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by European Union.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Topic, requiredtopic

Statistic to look up, for example inflation or household electricity price.

household electricity price

Period optionalperiod

Year or month to look up; for example 2025 or 2025-06. Defaults to latest available.

2025-06

Default latest.

Country, requiredcountry

EU or EEA country name, for example Spain.

Spain

Output

From a run on Oct 23, 2026.
{  "unit": "EUR per kWh, including taxes, household band 2,500–4,999 kWh",  "topic": "household electricity price",  "value": 0.2612,  "period": "2025-S1",  "country": "Spain",  "eu_average": 0.2879,  "dataset_code": "nrg_pc_204",  "dataset_name": "Electricity prices for household consumers - bi-annual data",  "data_page_link": "https://ec.europa.eu/eurostat/databrowser/view/nrg_pc_204/default/table?lang=en"}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
ec.europa.eu/get_statistic
Returns
country value, unit, period, EU average, dataset name, data page link, dataset code

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method ec.europa.eu/get_statistic with the inputs above.

Ask your agent

  • What was Germany's inflation rate in June 2025 compared with the EU27 average?
  • Look up the latest Eurostat household electricity price for Poland and the EU27 figure.
  • I need the unemployment rate for Italy in 2024 versus the EU average from europa.eu.
  • Find the Eurostat dataset code and data link for Sweden's quarterly GDP growth in 2025-03.
  • What is the household electricity price in Spain for 2023 according to Eurostat, and how does it compare to the EU27?
  • Gets the official ECB euro reference exchange rates for a day, or the latest published day. Weekends, holidays and dates before publication return the previous published day.

    ecb.europa.eu/get_euro_exchange_rates
  • Returns the ECB's current deposit facility, main refinancing operations and marginal lending facility rates with their effective date. Optionally includes earlier rate changes, newest first.

    ecb.europa.eu/get_key_interest_rates
  • Converts an amount between currencies using ECB euro reference rates, including euro and cross-currency conversions. Uses the latest preceding published rate when the date has none.

    ecb.europa.eu/convert_currency
  • Searches EUR-Lex legal acts by topic, ranked by the site's relevance, filtered by document type, year of adoption and in-force status. Short names and ELI links are included when shown in the results.

    eur-lex.europa.eu/search_eu_law
  • Finds published EU contract award notices on Tenders Electronic Daily by contract topic or winning company, newest publication first, optionally limited to a buyer country and a start date. Values and tender counts are included when published; counts across lots are summed.

    ted.europa.eu/search_contract_awards
  • Gets the official text and key dates of one article of an EU regulation or directive from EUR-Lex, in the latest consolidated version when there is one, in any official EU language.

    eur-lex.europa.eu/get_law_article
  • Finds recently published EU procurement notices matching what is being bought, with buyer, estimated value, submission deadline and TED notice link. Open-only results must have a future submission deadline.

    ted.europa.eu/search_tenders
  • Checks an EU VAT number in the European Commission's VIES service and returns whether it is valid, with the registered name and address when the country makes them available.

    ec.europa.eu/validate_vat_number