Latest Updates

Get the latest economic updates.

Latest

Get latest updates

/updates

te.getLatestUpdates(output_type='df')
data = te.getLatestUpdates().then(function(data){
  console.log(data)       
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/updates?client=guest:guest");

By date

Get latest updates by specific date

/updates/{date}

te.getLatestUpdates(init_date='2018-01-01', output_type='df')
data = te.getLatestUpdates(start_date = '2018-01-01').then(function(data){
  console.log(data)       
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/updates/2018-01-01?client=guest:guest");

/updates/{date}?time={hh:mm}

te.getLatestUpdates(init_date='2021-10-18', time='15:20', output_type='df')
data = te.getLatestUpdates(start_date = '2021-10-18', time = '15:20').then(function(data){
  console.log(data)       
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/updates/2021-10-18?client=guest:guest&time=15:20");

By country

Get latest updates by specific country

/updates/country/{country}

te.getLatestUpdates(country='portugal', output_type='df')
data = te.getLatestUpdates(country = 'portugal').then(function(data){
  console.log(data)       
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/updates/country/portugal?client=guest:guest");

/updates/country/{country}/{date}

te.getLatestUpdates(country='portugal', init_date='2018-01-01', output_type='df')
data = te.getLatestUpdates(start_date = '2018-01-01', country = 'portugal').then(function(data){
  console.log(data)       
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/updates/country/portugal/2018-01-01?client=guest:guest");

Response fields

FieldTypeDescriptionExample
CountrystringCountry name“Australia”
CategorystringCategory name“Inflation Expectations”
HistoricalDataSymbolstringUnique symbol used by Trading Economics“AUSTRALIAINFEXP”
LastUpdatestringTime when new data was inserted or changed“2023-04-13T17:23:32.933”