-
ld.news.get_headlines
Hi DevPortal, good afternoon. May I ask for your help. I use python library to fetch news by ld.news.get_headlines('Elon musk', count=10), while it return error: LDError: Error code 400 | Query cannot return any result. Is there any format for query in this function? Kindly pls provide me a sample script on how to do this…
-
Content Types for NEWS API
Hi, i'm trying to pull news headlines via the workspace API. rd.news.get_headlines("LSEG, MSFT.O AND Language:LEN", count=50) this code works for pulling headlines, but how do i add another filter for "content type" like in the APP NEWS 2.0? i.e. web news, research, transcripts, filings etc. I'd like to filter my query. I…
-
I'm using the lseg-data Python library to fetch news data with get_headlines(). However, I get the f
-
Codebook Workspace API - News help!
Hi, i'm trying to pull news headlines via the workspace API. rd.news.get_headlines("LSEG, MSFT.O AND Language:LEN", count=50) this code works for pulling headlines, but how do i add another filter for "content type" like in the APP NEWS 2.0? i.e. web news, research, transcripts, filings etc. I'd like to filter my query. I…
-
How to get READCOUNTS of NEWS
Hi folks, is there anyway that I can see the readcounts of a specific news anywhere in LSEG?
-
Issue with Retrieving Latest News
I’m encountering an issue while using the get_headlines() function. Specifically, I’m not receiving the latest news as expected, even when I specify the endpoint as "now." There seems to be a lag of a few hours between when the news is available on the Workspace application and when it appears in the API results.
-
Unable to query multiple sources when obtaining news headlines
The following query caused an HTTP 500 error, but if I select only one source as per the second query, the result works correctly. DisplayHeadlines(Headlines.Definition().Query("Topic:COM AND daterange:2025-06-13T10:11:54.000Z,2025-06-17T23:59:59.999Z AND ( Source:RTRS OR Source:FT )") .Count(0) .GetData());…
-
News story summary
Hi, I am trying to download country specific news data using codebook and have gotten to the stage of storing the news story in either dictionary or dataframe format. My question is, is there a function that allows for summaries of news to be downloaded? Or do I have to perform manual filtering for each news story and…
-
News headlines US government
What would be a good query for news headlines related to the US government and its announcements/decisions? I would like to apply such a query within lseg.data.get_news_headlines()
-
Extract only breaking news via get_news_headline
I am looking for a way to use the get_news_headlines function within a python script via the Eikon/LSEG-Data API, in a way that the query will only return results which are classified as breaking news, such as the example in the attached screenshot. Currently my function call looks like this:…
-
Download News Article Headlines over a longer period
Hi all, I couldn't find a post with a similar question. I am trying to download news article headlines from Refinitv Workspace from the module called 'NEWS2.0', where I filter for 'Government / Politics [POL]' and English. Moreover, for content type I only select 'News Feeds'. I know I can copy the headlines that are shown…
-
Sentiment analysis on historical news for a portfolio
Dear all, I am an early-stage user of the API environment, please excuse me for apparently redundant questions. My aim is to gather management pay-related news from the last 365 days for every company in my portfolio (fewer than 550 RICs) at each fiscal year-end over the past 20 years, and perform sentiment analysis on…
-
TEXTUAL ANALYSIS PYTHON
Hello everyone! I would like to understand how to obtain the headlines of all companies, for example, U.S. companies, on Python by inserting keywords, from 2020 to today. The code I used only works with 100 rows. Thank you!
-
Wildcards in news search
Hello, I'm trying to build a news query and was wondering if there was a way to pass through freetext phrases that could use wildcards. For example, I have this below ( ( Topic:FUND AND Language:LEN ) NOT ( Source:DJN OR Source:FT ) NOT ( \"Net Asset\" ) ) But the text search ignores the filter if the news phrase is "Net…
-
News API filters exclusions
I'm trying to filter out news through the EIKON api and have built the following query. I would expect this to exclude news items sourced from LSE but I find news items from this in my resultset. ( ( Topic:FUND AND Language:LEN ) NOT ( Source:DJN OR Source:NBSX OR Source:HIIS OR Source:HOSE OR Source:PHSE OR Source:BSE OR…