Snapshot

The Eurostat database contains more than 46,000 time series divided into 2500 categories for the Euro Area, the European Union, and its 27 member states. Eurostat is a Directorate-General of the European Commission located in Luxembourg. Its main responsibilities are to provide statistical information to the institutions of the European Union (EU) and to promote the harmonisation of statistical methods across its member states and candidates for accession, as well as EFTA countries.

List countries

List of all countries available

/eurostat/countries

te.getEurostatData(lists = 'countries', output_type = 'df')
data = te.getEurostatData(lists = 'countries').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/eurostat/countries?c=guest:guest");

List categories

List of all categories and category groups available

/eurostat/categories

te.getEurostatData(lists = 'categories', output_type = 'df')
data = te.getEurostatData(lists = 'categories').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/eurostat/categories?c=guest:guest");

By category group

Get Eurostat data by category group

/eurostat?category_goup={category_group}

te.getEurostatData(category_group = 'Poverty', output_type = 'df')
data = te.getEurostatData(category_group = 'Poverty').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/eurostat?category_group=Poverty&c=guest:guest");

By category

Get Eurostat data by category

/eurostat?category={category}

te.getEurostatData(category = 'People at risk of income poverty after social transfers',
 output_type = 'df')     
data = te.getEurostatData(category = 'People at risk of income poverty after social transfers').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/eurostat?category=People%20at%20risk%20of%20income%20poverty%20after%20social%20transfers&c=guest:guest");

By country

Get Eurostat data by country

/eurostat/country/{country}

te.getEurostatData(country = 'Denmark', output_type = 'df')
data = te.getEurostatData(country = 'Denmark').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/eurostat/country/Denmark?c=guest:guest");

By country and category group

Get Eurostat data by country and category group

/eurostat/country/{country}?category_group={category_group}

te.getEurostatData(country = 'Denmark', category_group = 'Interest rates',
 output_type = 'df')  
data = te.getEurostatData(country = 'Denmark',
 category_group = 'Interest rates').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/eurostat/country/Denmark?category_group=Interest%20rates&c=guest:guest");

By country and category

Get Eurostat data by country and category

/eurostat/country/{country}?category={category}

te.getEurostatData(country = 'Denmark',
 category = 'Harmonised unemployment rate: Females', output_type = 'df')
data = te.getEurostatData(country = 'Denmark',
 category = 'Harmonised unemployment rate: Females').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/eurostat/country/European%20Union?category=Harmonised%20unemployment%20rate:%20Females&c=guest:guest");

Response fields

FieldTypeDescriptionExample
IDnumberTrading Economics unique identifier15371
CountrystringCountry name“Bulgaria”
CategorystringCategory name“People at risk of income poverty after social transfers”
Category GroupstringCategory Group name“Poverty”
URLstringHyperlink at Trading Economics“/bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html”
UnitstringUnit of the value“%”
FrequencystringFrequency of the indicator“Yearly”
LatestValuenumberLatest value22.10
LatestValueDatestringLatest value date“2021-12-31T00:00:00”
PreviousValuenumberPrevious value23.80
PreviousValueDatestringPrevious value date“2020-12-31T00:00:00”
FirstValuenumberFirst historical value14.00
FirstValueDatestringFirst historical value date2000-12-31T00:00:00"
HighestValuenumberHighest value23.80
HighestValueDatestringHighest value date2020-12-31T00:00:00"
LowestValuenumberLowest value14.00
LowestValueDatestringLowest value date“2002-12-31T00:00:00”
LastUpdatestringTime when new data was inserted or changed“2022-09-09T17:56:00”

Field in ‘List countries’

FieldTypeDescriptionExample
CountrystringCountry name“Austria”

Fields in ‘List categories’

FieldTypeDescriptionExample
CategorystringCategory name“Wheat and spelt: Area (cultivation/harvested/production)”
Category GroupstringCategory Group name“Agriculture”