Latest
News are short summaries, usually three to five sentences, covering a specific release/event related to the data and providing an explanation of what was behind the growth/contraction and increase/decrease in the specific dataseries
Latest
Get latest news
te.getNews(output_type = 'df')
data = te.getNews().then(function(data){
console.log(data)
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/news?c=guest:guest");
Pagination
Paginate a news list, specifying the start index and list limit size.
/news?c=guest:guest&limit={list_size}&start={start_index}
te.getNews(start=150, limit=5, output_type = 'df')
data = te.getNews(start = '150', limit = '5').then(function(data){
console.log(data)
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/news?c=guest:guest&limit=5&start=150");
Response fields
Field | Type | Description | Example |
---|---|---|---|
ID | string | Unique ID | “372644” |
Title | string | Title of the event | “Eurozone Industrial Output Rises for 2nd Month” |
Date | string | Release time and date in UTC | “2023-04-13T09:25:34.693” |
Description | string | Description of the event | “Industrial production in the Euro Area rose by 1.5 percent from…” |
Country | string | Country name | “Euro Area” |
Category | string | Category name | “Industrial Production Mom” |
Symbol | string | Unique symbol used by Trading Economics | “EUROAREAINDPROMOM” |
Url | string | Hyperlink at Trading Economics | “/euro-area/industrial-production-mom” |
Importance | number | Lowest 0 to 3 highest | 2 |