By Parameter

Get news by date, country, and indicator.

By date

Get news by date range

/news?c=guest:guest&d1={date}&d2={date}

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

te.getNews(start_date = '2021-02-02', end_date = '2021-03-03')
const te = require('tradingeconomics');
te.login('your_api_key');

data = te.getNews('2021-02-02', end_date = '2021-03-03').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/news?c=guest:guest&d1=2021-02-02&d2=2021-03-03");
idtitledatedescriptioncountrycategorysymbolurlimportance
140316“NZX Tops 12,400”3/2/2021 11:18:00 PM“New Zealand’s main stock index rose above the 12,400 level on Wednesday, extending…”New ZealandStock MarketNZSE50FG/new-zealand/stock-market1
140315Australia Composite PMI Revised Downwardly3/2/2021 10:46:39 PM“The IHS Markit Australia Composite PMI decreased to 53.7 in February 2021, down from…”AustraliaComposite PMIAUSTRALIACOMPMI/australia/composite-pmi1
140314Australia Markit Services PMI Slows Down3/2/2021 10:42:11 PM“The IHS Markit Australia Services PMI decreased to 53.4 in February 2021, down from…”AustraliaServices SentimentAUSTRALIASERSEN/australia/services-sentiment2

By country

Get news by country

/news/country/{countries}

te.getNews(country = 'mexico')
data = te.getNews(country = 'mexico').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/news/country/mexico?c=guest:guest");
idtitledatedescriptioncountrycategorysymbolurlimportance
374392Mexico Business Morale Steady at Over 1-Year High5/2/2023 12:11:00 PM“Mexico’s business confidence indicator stood at an over one-year high of 52.6 in April…”MexicoBusiness ConfidenceMexicoBC/mexico/business-confidence1
374160Mexico GDP Expands More than Expected4/28/2023 12:23:18 PM“The Mexican economy expanded by 1.1% quarter-on-quarter in the three months ending March…”MexicoGDP Growth RateMXGPQTR/mexico/gdp-growth1
373959Mexico Posts Surprise Large Trade Surplus4/27/2023 12:15:00 PM“Mexico’s trade surplus ballooned to USD 1.169 billion in March 2023 from USD 0.105 in…”MexicoBalance of TradeMXTBBAL/mexico/balance-of-trade1

By country and date

Get news by country and date range

/news/country/{countries}?c=guest:guest&d1={date}&d2={date}

te.getNews(country = 'mexico', start_date = '2021-02-02',
 end_date = '2021-03-03')
data = te.getNews(country = 'mexico', start_date = '2021-02-02',
 end_date = '2021-03-03').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/news/country/mexico?c=guest:guest&d1=2021-02-02&d2=2021-03-03");
idtitledatedescriptioncountrycategorysymbolurlimportance
140310Mexican Stocks Surge 2% on Tuesday3/2/2021 9:41:00 PM“Mexico’s IPC gained 2% to 45,682 on Tuesday to extend the rally, as improving…”MexicoStock MarketMEXBOL/mexico/stock-market1
140301Mexican Peso Almost Steady3/2/2021 5:25:00 PM“The Mexican peso was little changed at 20.7 per USD, as oil prices held steady and as…”MexicoCurrencyUSDMXN/mexico/currency1
140193Mexican Stocks Extend Gains3/1/2021 9:31:00 PM“Mexico’s IPC gained 0.4% or 192 points to 44,785 on Monday to extend gains, as improving…”MexicoStock MarketMEXBOL/mexico/stock-market1

By indicator

Get news by indicators

/news/indicator/{indicators}

te.getNews(indicator = 'inflation rate')
te.getNews(indicator = ['inflation rate','gdp'])
data = te.getNews(indicator = 'inflation rate').then(function(data){
    console.log(data)     
});
data = te.getNews(indicator = ['inflation rate','gdp']).then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/news/indicator/inflation%20rate?c=guest:guest");
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/news/indicator/inflation%20rate,gdp?c=guest:guest");
idtitledatedescriptioncountrycategorysymbolurlimportance
377135Iceland Current Account Deficit Narrows in Q16/1/2023 9:17:38 AM“The current account deficit in Iceland narrowed sharply to ISK 10.1 billion in…”IcelandCurrent AccountICCACURR/iceland/current-account1
377031Ukraine Current Account Shrinks in April5/31/2023 3:38:00 PM“Ukraine’s current account surplus shrank to USD 0.285 billion in April 2023 from USD…”UkraineCurrent AccountUkraineCA/ukraine/current-account0
376967Macedonia Current Account Surplus Largest in 20 Months5/31/2023 9:26:00 AM“Macedonia’s current account recorded a USD 108.9 million surplus in March 2023, the largest figure …”MacedoniaCurrent AccountMacedoniaCA/macedonia/current-account1

By indicator and date

Get news by indicators and date range

/news/indicator/{indicators}?c=guest:guest&d1={date}&d2={date}

te.getNews(indicator = 'inflation rate', start_date = '2021-02-02',
 end_date = '2021-03-03')
te.getNews(indicator = ['inflation rate', 'imports'], start_date = '2021-02-02',
 end_date = '2021-03-03')
data = te.getNews(indicator = 'inflation rate', start_date = '2021-01-01',
 end_date = '2021-02-02').then(function(data){
    console.log(data)     
});
data = te.getNews(indicator = ['inflation rate', 'imports'], start_date = '2021-01-01',
 end_date = '2021-02-02').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/news/indicator/inflation%20rate?c=guest:guest&d1=2021-02-02&d2=2021-03-03");
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/news/indicator/inflation%20rate,imports?c=guest:guest&d1=2021-02-02&d2=2021-03-03");
idtitledatedescriptioncountrycategorysymbolurlimportance
140204Australia Current Account Surplus Widens in Q43/2/2021 12:42:00 AM“Australia’s current account surplus widened to AUD 14.52 billion in the fourth quarter of…”AustraliaCurrent AccountAUCABAL/australia/current-account1
140154Canada Current Account Gap Lower than Expected3/1/2021 1:37:00 PM“Canada’s current account deficit narrowed by CAD 3.2 billion to CAD 7.3 billion in the fourth…”CanadaCurrent AccountCACURENT/canada/current-account1
139959Taiwan Posts 2nd Largest Current Account Surplus on Record2/26/2021 10:46:00 AM“The current account surplus in Taiwan rose by $10.37 billion to $27.33 billion in the Q4 of 2020…”TaiwanCurrent AccountTaiwanCA/taiwan/current-account1

By country and indicator

Get news by country and indicators

/news/country/{countries}/{indicators}

te.getNews(country = 'mexico', indicator = 'inflation rate')  
data = te.getNews(country = 'mexico', indicator = 'inflation rate').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/news/country/mexico/inflation%20rate?c=guest:guest");
idtitledatedescriptioncountrycategorysymbolurlimportance
353429Mexico Inflation Rate Hits Highest Level Since 20009/8/2022 11:15:00 AM“Mexico’s annual inflation rate rose to 8.70 percent in August of 2022 from 8.15 percent…”MexicoInflation RateMXCPYOY/mexico/inflation-cpi2
350967Mexico Inflation Rate at 21-Year High8/9/2022 11:13:00 AM“Mexico’s annual inflation rate rose to 8.15 percent in July of 2022 from 7.99 percent in the…”MexicoInflation RateMXCPYOY/mexico/inflation-cpi2
347712Mexico Inflation Rate at 21-Year High7/7/2022 11:14:58 AM“Mexico’s annual inflation rate rose to 7.99 percent in June of 2022 from 7.65 percent in the…”MexicoInflation RateMXCPYOY/mexico/inflation-cpi1

By country, indicator and date

Get news by country, indicators and date range

/news/country/{countries}/{indicators}?c=guest:guest&d1={date}&d2={date}

te.getNews(country = 'mexico', indicator = 'inflation rate', start_date = '2021-02-02',
 end_date = '2021-03-03')  
data = te.getNews(country = 'mexico', indicator = 'inflation rate',
 start_date = '2021-02-02', end_date = '2021-03-03').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/news/country/mexico/inflation%20rate?c=guest:guest&d1=2021-02-02&d2=2021-03-03");
idtitledatedescriptioncountrycategorysymbolurlimportance
138307Mexico Inflation Rate Picks Up to 3.54% in January2/9/2021 12:11:24 PM“The annual inflation rate in Mexico increased to 3.54 percent in January of 2021 from a…”MexicoInflation RateMXCPYOY/mexico/inflation-cpi2

Response fields

FieldTypeDescriptionExample
IDstringUnique ID“372644”
TitlestringTitle of the event“Eurozone Industrial Output Rises for 2nd Month”
DatestringRelease time and date in UTC“2023-04-13T09:25:34.693”
DescriptionstringDescription of the event“Industrial production in the Euro Area rose by 1.5 percent from…”
CountrystringCountry name“Euro Area”
CategorystringCategory name“Industrial Production Mom”
SymbolstringUnique symbol used by Trading Economics“EUROAREAINDPROMOM”
UrlstringHyperlink at Trading Economics“/euro-area/industrial-production-mom”
ImportancenumberLowest 0 to 3 highest2