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
import tradingeconomics as te
te.login('your_api_key')
te.getNews()
const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getNews().then(function(data){
console.log(data)
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/news?c=guest:guest");
id | title | date | description | country | category | symbol | url | importance |
---|---|---|---|---|---|---|---|---|
380626 | Serbian Dinar Hits 15-month High | 7/12/2023 1:30:15 PM | USDRSD decreased to a 15-month low of 105.61 | Serbia | currency | USDSRB | /serbia/currency | 0 |
380625 | Paris Stocks Rise for 4th Day | 7/12/2023 1:30:00 PM | “The CAC 40 index continued to climb for the fourth session in a row to close about…” | France | Stock Market | CAC | /france/stock-market | 1 |
380624 | French 10-Year Bond Yield Falls | 7/12/2023 1:26:35 PM | “The yield on the French 10-year OAT retreated below the 3.2% threshold after…” | France | Government Bond 10Y | GFRN10 | /france/government-bond-yield | 1 |
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)
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");
id | title | date | description | country | category | symbol | url | importance |
---|---|---|---|---|---|---|---|---|
380626 | Serbian Dinar Hits 15-month High | 7/12/2023 1:30:15 PM | USDRSD decreased to a 15-month low of 105.61 | Serbia | currency | USDSRB | /serbia/currency | 0 |
380625 | Paris Stocks Rise for 4th Day | 7/12/2023 1:30:00 PM | “The CAC 40 index continued to climb for the fourth session in a row to close about…” | France | Stock Market | CAC | /france/stock-market | 1 |
380624 | French 10-Year Bond Yield Falls | 7/12/2023 1:26:35 PM | “The yield on the French 10-year OAT retreated below the 3.2% threshold after…” | France | Government Bond 10Y | GFRN10 | /france/government-bond-yield | 1 |
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 |