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");
Country | Category | HistoricalDataSymbol | LastUpdate |
---|
United Kingdom | Electricity Price | GBRELEPRI | 7/11/2023 6:01:28 PM |
Spain | Electricity Price | ESPELEPRI | 7/11/2023 6:01:23 PM |
Italy | Electricity Price | ITAELEPRI | 7/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");
Country | Category | HistoricalDataSymbol | LastUpdate |
---|
United Kingdom | Electricity Price | GBRELEPRI | 7/11/2023 6:01:28 PM |
Spain | Electricity Price | ESPELEPRI | 7/11/2023 6:01:23 PM |
Italy | Electricity Price | ITAELEPRI | 7/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");
Country | Category | HistoricalDataSymbol | LastUpdate |
---|
United Kingdom | Electricity Price | GBRELEPRI | 7/11/2023 6:01:28 PM |
Spain | Electricity Price | ESPELEPRI | 7/11/2023 6:01:23 PM |
Italy | Electricity Price | ITAELEPRI | 7/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");
Country | Category | HistoricalDataSymbol | LastUpdate |
---|
Portugal | Money Supply M3 | PORTUGALMONSUPM3 | 7/11/2023 2:54:29 AM |
Portugal | Loan Growth | PORTUGALLOAGRO | 7/11/2023 2:53:33 AM |
Portugal | Banks Balance Sheet | PORTUGALBANBALSHE | 7/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");
Country | Category | HistoricalDataSymbol | LastUpdate |
---|
Portugal | Money Supply M3 | PORTUGALMONSUPM3 | 7/11/2023 2:54:29 AM |
Portugal | Loan Growth | PORTUGALLOAGRO | 7/11/2023 2:53:33 AM |
Portugal | Banks Balance Sheet | PORTUGALBANBALSHE | 7/11/2023 2:43:18 AM |
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” |