News by Type

This endpoint allows for the retrieval of news filtered by type. Types available: “markets” and “economy”.

Using Requests:

import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/news?type=markets&c={your_api_key}' 
data = requests.get(url).json()
print(data)

Or using our package:

te.getNews(type = 'markets')

Using Requests:

const axios = require('axios');
(async () => {
    const your_api_key = 'your_api_key'
    const response = await axios.get(`https://api.tradingeconomics.com/news?type=markets&c=${your_api_key}`)
    console.log(response.data)
})()

Or using our package:

data = te.getNews(type = 'markets').then(function(data){
    console.log(data)     
});

Using Requests:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/news?type=markets&c=your_api_key");
https://api.tradingeconomics.com/news?c={your_api_key}&type={type}&f=json
[
  {
    "id": "460664",
    "title": "Euro Steadies Near $1.13 as Traders Digest Fresh Data",
    "date": "2025-05-30T12:16:35.687",
    "description": "The euro trimmed some losses and was poised to end May largely unchanged around the $1.13 mark, as investors digested a wave of economic data from Europe’s largest economies and reacted to news that a US appeals court had temporarily paused a block on former President Trump’s trade tariffs. In Germany, retail sales declined by 1.1% in April, marking the first drop in four months and falling well short of market expectations for a 0.2% gain. Meanwhile, inflation data showed the German CPI held steady at 2.1% in May, defying expectations of a slight decline. Elsewhere in the eurozone, inflationary pressures continued to ease in Italy, Spain, and France, reinforcing market expectations that the European Central Bank will cut interest rates by 25 basis points at its policy meeting next week.",
    "country": "Euro Area",
    "category": "Currency",
    "symbol": "EURUSD",
    "url": "/euro-area/currency",
    "importance": 1
  },
  {
    "id": "460657",
    "title": "Sensex Ends Lower, Still Books Monthly Gain",
    "date": "2025-05-30T11:18:19.923",
    "description": "India’s BSE Sensex closed about 0.2% lower at 81,451 on Friday, snapping the previous day’s gains, amid a risk-averse mood fueled by ongoing market volatility and global trade uncertainties. On Thursday, a federal appeals court temporarily allowed US President Donald Trump to reinstate tariffs, reversing a recent trade court ruling that had blocked them. Several sectors struggled, particularly tech, autos, and pharma, which were some of the worst hit. Meanwhile, market participants turned their focus to India’s GDP figures and the US PCE price index data. Among individual stocks, HCL Tech, Tech Mahindra, Infosys, Asian Paints, NTPC, Sun Pharma, Mahindra & Mahindra, and Tata Consultancy Services were the biggest laggards, with losses ranging between 1% and 2%. Conversely, shares of Eternal, soared over 4%, mainly due to bargain hunting after recent sharp declines. The Sensex extended its losses into a second consecutive week, declining 0.3%, but recorded a third monthly gain of 1.5%.",
    "country": "India",
    "category": "Stock Market",
    "symbol": "SENSEX",
    "url": "/india/stock-market",
    "importance": 1
  },
  {
    "id": "460630",
    "title": "Arabica Coffee Futures at Over 7-Week Low",
    "date": "2025-05-30T08:50:04.44",
    "description": "Arabica coffee futures traded slightly below $3.5 per pound, their lowest level since April 10, extending a decline for the past four weeks amid improving supply prospects. With Arabica coffee stocks still low, the expectation is that the product will be more available from mid-June onwards. Dealers reported that the 2025 Brazilian Arabica coffee harvest began with lower volumes, but with good prospects for the quality of the beans. A recent Hedgepoint report noted that ongoing harvest progress in Brazil and Indonesia, combined with demand uncertainties, is likely to keep prices under pressure in the near term. Adding to the pressure, ICE-monitored Arabica coffee inventories rose to a 3-3/4 month high of 892,468 bags as of May 27.",
    "country": "Commodity",
    "category": "Commodity",
    "symbol": "KC1",
    "url": "/commodity/coffee",
    "importance": 0
  }
]
https://api.tradingeconomics.com/news?c={your_api_key}&type={type}&f=csv
id,title,date,description,country,category,symbol,url,importance
460664,Euro Steadies Near $1.13 as Traders Digest Fresh Data,5/30/2025 12:16:35 PM,The euro trimmed some losses and was poised to end May largely unchanged around the $1.13 mark, as investors digested a wave of economic data from Europe’s largest economies and reacted to news that a US appeals court had temporarily paused a block on former President Trump’s trade tariffs. In Germany, retail sales declined by 1.1% in April, marking the first drop in four months and falling well short of market expectations for a 0.2% gain. Meanwhile, inflation data showed the German CPI held steady at 2.1% in May, defying expectations of a slight decline. Elsewhere in the eurozone, inflationary pressures continued to ease in Italy, Spain, and France, reinforcing market expectations that the European Central Bank will cut interest rates by 25 basis points at its policy meeting next week.,Euro Area,Currency,EURUSD,/euro-area/currency,1
460657,Sensex Ends Lower, Still Books Monthly Gain,5/30/2025 11:18:19 AM,India’s BSE Sensex closed about 0.2% lower at 81,451 on Friday, snapping the previous day’s gains, amid a risk-averse mood fueled by ongoing market volatility and global trade uncertainties. On Thursday, a federal appeals court temporarily allowed US President Donald Trump to reinstate tariffs, reversing a recent trade court ruling that had blocked them. Several sectors struggled, particularly tech, autos, and pharma, which were some of the worst hit. Meanwhile, market participants turned their focus to India’s GDP figures and the US PCE price index data. Among individual stocks, HCL Tech, Tech Mahindra, Infosys, Asian Paints, NTPC, Sun Pharma, Mahindra & Mahindra, and Tata Consultancy Services were the biggest laggards, with losses ranging between 1% and 2%. Conversely, shares of Eternal, soared over 4%, mainly due to bargain hunting after recent sharp declines. The Sensex extended its losses into a second consecutive week, declining 0.3%, but recorded a third monthly gain of 1.5%.,India,Stock Market,SENSEX,/india/stock-market,1
460630,Arabica Coffee Futures at Over 7-Week Low,5/30/2025 8:50:04 AM,Arabica coffee futures traded slightly below $3.5 per pound, their lowest level since April 10, extending a decline for the past four weeks amid improving supply prospects. With Arabica coffee stocks still low, the expectation is that the product will be more available from mid-June onwards. Dealers reported that the 2025 Brazilian Arabica coffee harvest began with lower volumes, but with good prospects for the quality of the beans. A recent Hedgepoint report noted that ongoing harvest progress in Brazil and Indonesia, combined with demand uncertainties, is likely to keep prices under pressure in the near term. Adding to the pressure, ICE-monitored Arabica coffee inventories rose to a 3-3/4 month high of 892,468 bags as of May 27.,Commodity,Commodity,KC1,/commodity/coffee,0
https://api.tradingeconomics.com/news?c={your_api_key}&type={type}&f=xml
<ArrayOfArticlePreview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<ArticlePreview>
<category>Currency</category>
<country>Euro Area</country>
<date>2025-05-30T12:16:35.687</date>
<description>The euro trimmed some losses and was poised to end May largely unchanged around the $1.13 mark, as investors digested a wave of economic data from Europe’s largest economies and reacted to news that a US appeals court had temporarily paused a block on former President Trump’s trade tariffs. In Germany, retail sales declined by 1.1% in April, marking the first drop in four months and falling well short of market expectations for a 0.2% gain. Meanwhile, inflation data showed the German CPI held steady at 2.1% in May, defying expectations of a slight decline. Elsewhere in the eurozone, inflationary pressures continued to ease in Italy, Spain, and France, reinforcing market expectations that the European Central Bank will cut interest rates by 25 basis points at its policy meeting next week.</description>
<id>460664</id>
<importance>1</importance>
<symbol>EURUSD</symbol>
<title>Euro Steadies Near $1.13 as Traders Digest Fresh Data</title>
<url>/euro-area/currency</url>
</ArticlePreview>
<ArticlePreview>
<category>Stock Market</category>
<country>India</country>
<date>2025-05-30T11:18:19.923</date>
<description>India’s BSE Sensex closed about 0.2% lower at 81,451 on Friday, snapping the previous day’s gains, amid a risk-averse mood fueled by ongoing market volatility and global trade uncertainties. On Thursday, a federal appeals court temporarily allowed US President Donald Trump to reinstate tariffs, reversing a recent trade court ruling that had blocked them. Several sectors struggled, particularly tech, autos, and pharma, which were some of the worst hit. Meanwhile, market participants turned their focus to India’s GDP figures and the US PCE price index data. Among individual stocks, HCL Tech, Tech Mahindra, Infosys, Asian Paints, NTPC, Sun Pharma, Mahindra & Mahindra, and Tata Consultancy Services were the biggest laggards, with losses ranging between 1% and 2%. Conversely, shares of Eternal, soared over 4%, mainly due to bargain hunting after recent sharp declines. The Sensex extended its losses into a second consecutive week, declining 0.3%, but recorded a third monthly gain of 1.5%.</description>
<id>460657</id>
<importance>1</importance>
<symbol>SENSEX</symbol>
<title>Sensex Ends Lower, Still Books Monthly Gain</title>
<url>/india/stock-market</url>
</ArticlePreview>
<ArticlePreview>
<category>Commodity</category>
<country>Commodity</country>
<date>2025-05-30T08:50:04.44</date>
<description>Arabica coffee futures traded slightly below $3.5 per pound, their lowest level since April 10, extending a decline for the past four weeks amid improving supply prospects. With Arabica coffee stocks still low, the expectation is that the product will be more available from mid-June onwards. Dealers reported that the 2025 Brazilian Arabica coffee harvest began with lower volumes, but with good prospects for the quality of the beans. A recent Hedgepoint report noted that ongoing harvest progress in Brazil and Indonesia, combined with demand uncertainties, is likely to keep prices under pressure in the near term. Adding to the pressure, ICE-monitored Arabica coffee inventories rose to a 3-3/4 month high of 892,468 bags as of May 27.</description>
<id>460630</id>
<importance>0</importance>
<symbol>KC1</symbol>
<title>Arabica Coffee Futures at Over 7-Week Low</title>
<url>/commodity/coffee</url>
</ArticlePreview>
</ArrayOfArticlePreview>
https://api.tradingeconomics.com/news?c={your_api_key}&type={type}
idtitledatedescriptioncountrycategorysymbolurlimportance
460664Euro Steadies Near $1.13 as Traders Digest Fresh Data5/30/2025 12:16:35 PM““The euro trimmed some losses and was poised to end May largely unchanged around the $1.13…”Euro AreaCurrencyEURUSD/euro-area/currency1
460657“Sensex Ends Lower, Still Books Monthly Gain”5/30/2025 11:18:19 AMIndia’s BSE Sensex closed about 0.2% lower at 81,451 on Friday, snapping the previous…”IndiaStock MarketSENSEX/india/stock-market1
460630Arabica Coffee Futures at Over 7-Week Low5/30/2025 8:50:04 AM“Arabica coffee futures traded slightly below $3.5 per pound, their lowest level since…”CommodityCommodityKC1/commodity/coffee0