Snapshot

By category group

Get Eurostat data by category group

/eurostat?category_goup={category_group}

import tradingeconomics as te
te.login('your_api_key')
te.getEurostatData(category_group = 'Poverty')
const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getEurostatData(category_group = 'Poverty').then(function(data){
    console.log(data)     
});
new HttpRequestMessage(new HttpMethod("GET"), "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')     
data = te.getEurostatData(category = 'People at risk of income poverty after social transfers').then(function(data){
    console.log(data)     
});
new HttpRequestMessage(new HttpMethod("GET"), "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')
data = te.getEurostatData(country = 'Denmark').then(function(data){
    console.log(data)     
});
new HttpRequestMessage(new HttpMethod("GET"), "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')  
data = te.getEurostatData(country = 'Denmark',
 category_group = 'Interest rates').then(function(data){
    console.log(data)     
});
new HttpRequestMessage(new HttpMethod("GET"), "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')
data = te.getEurostatData(country = 'Denmark',
 category = 'Harmonised unemployment rate: Females').then(function(data){
    console.log(data)     
});
new HttpRequestMessage(new HttpMethod("GET"), "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”