Latest Updates

Get the latest economic updates.

Latest

Get latest updates

/updates

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

te.getLatestUpdates()
const te = require('tradingeconomics');
te.login('your_api_key');

data = te.getLatestUpdates().then(function(data){
  console.log(data)       
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/updates?client=guest:guest");
CountryCategoryHistoricalDataSymbolLastUpdate
United KingdomElectricity PriceGBRELEPRI7/11/2023 6:01:28 PM
SpainElectricity PriceESPELEPRI7/11/2023 6:01:23 PM
ItalyElectricity PriceITAELEPRI7/11/2023 6:01:00 PM

By date

Get latest updates by specific date

/updates/{date}

te.getLatestUpdates(init_date='2018-01-01')
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");
CountryCategoryHistoricalDataSymbolLastUpdate
United KingdomElectricity PriceGBRELEPRI7/11/2023 6:01:28 PM
SpainElectricity PriceESPELEPRI7/11/2023 6:01:23 PM
ItalyElectricity PriceITAELEPRI7/11/2023 6:01:00 PM

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

te.getLatestUpdates(init_date='2021-10-18', time='15:20')
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");
CountryCategoryHistoricalDataSymbolLastUpdate
United KingdomElectricity PriceGBRELEPRI7/11/2023 6:01:28 PM
SpainElectricity PriceESPELEPRI7/11/2023 6:01:23 PM
ItalyElectricity PriceITAELEPRI7/11/2023 6:01:00 PM

By country

Get latest updates by specific country

/updates/country/{country}

te.getLatestUpdates(country='portugal')
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");
CountryCategoryHistoricalDataSymbolLastUpdate
PortugalMoney Supply M3PORTUGALMONSUPM37/11/2023 2:54:29 AM
PortugalLoan GrowthPORTUGALLOAGRO7/11/2023 2:53:33 AM
PortugalBanks Balance SheetPORTUGALBANBALSHE7/11/2023 2:43:18 AM

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

te.getLatestUpdates(country='portugal', init_date='2018-01-01')
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");
CountryCategoryHistoricalDataSymbolLastUpdate
PortugalMoney Supply M3PORTUGALMONSUPM37/11/2023 2:54:29 AM
PortugalLoan GrowthPORTUGALLOAGRO7/11/2023 2:53:33 AM
PortugalBanks Balance SheetPORTUGALBANBALSHE7/11/2023 2:43:18 AM

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”