Latest Updates
Get the latest economic updates.
Latest
Get latest 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
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");
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
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
Field | Type | Description | Example |
---|---|---|---|
Country | string | Country name | “Australia” |
Category | string | Category name | “Inflation Expectations” |
HistoricalDataSymbol | string | Unique symbol used by Trading Economics | “AUSTRALIAINFEXP” |
LastUpdate | string | Time when new data was inserted or changed | “2023-04-13T17:23:32.933” |