List Countries and Categories

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

import tradingeconomics as te
te.login('your_api_key')

te.getEurostatData(lists = 'countries')
const te = require('tradingeconomics');
te.login('your_api_key');

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')
data = te.getEurostatData(lists = 'categories').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/eurostat/categories?c=guest:guest");

Response fields

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”