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
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
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
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
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
Field | Type | Description | Example |
---|---|---|---|
ID | number | Trading Economics unique identifier | 15371 |
Country | string | Country name | “Bulgaria” |
Category | string | Category name | “People at risk of income poverty after social transfers” |
Category Group | string | Category Group name | “Poverty” |
URL | string | Hyperlink at Trading Economics | “/bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html” |
Unit | string | Unit of the value | “%” |
Frequency | string | Frequency of the indicator | “Yearly” |
LatestValue | number | Latest value | 22.10 |
LatestValueDate | string | Latest value date | “2021-12-31T00:00:00” |
PreviousValue | number | Previous value | 23.80 |
PreviousValueDate | string | Previous value date | “2020-12-31T00:00:00” |
FirstValue | number | First historical value | 14.00 |
FirstValueDate | string | First historical value date | 2000-12-31T00:00:00" |
HighestValue | number | Highest value | 23.80 |
HighestValueDate | string | Highest value date | 2020-12-31T00:00:00" |
LowestValue | number | Lowest value | 14.00 |
LowestValueDate | string | Lowest value date | “2002-12-31T00:00:00” |
LastUpdate | string | Time when new data was inserted or changed | “2022-09-09T17:56:00” |
Field in ‘List countries’
Field | Type | Description | Example |
---|---|---|---|
Country | string | Country name | “Austria” |
Fields in ‘List categories’
Field | Type | Description | Example |
---|---|---|---|
Category | string | Category name | “Wheat and spelt: Area (cultivation/harvested/production)” |
Category Group | string | Category Group name | “Agriculture” |