-
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…
-
Regarding NEWS URLs via Python API
Hi, I am trying to retrieve the news regarding companies (based on RIC inputs) but I have the following concerns, I need help in order to get them sorted. 1) I am getting same news items (headlines) from multiple source codes. How do I ensure I get only unique news headline and not the repeated ones. (IMG1 attached) 2) I…
-
Cannot get news and headlines via Codebook using platform session.
This question is related to Workspace (Codebook) permission to access news data. I tested one of the Codebook examples provided by LSEG. It’s “EX-1.01.05-News.ipynb”. When I ran the command to get news, I got an insufficient permission (scope) error. Isn’t the access to news included in Workspace and Codebook?
-
News Sentiment via API
Hi Team, I have 2 questions on behalf of client. Sentiment analysis (positive/neutral/negative) from top headlines for gasoil for example - is it possible to pull this information via API and if so, what is the call to pull this data? If client is pulling the data via Workspace API via his own feed for news sentiment and…
-
News data for academic research
Hello, I am doing research for a PhD and I am trying to get news headlines data for certain keywords over a 5 year span using Workspace's APIs via Jupyter notebook. Are there restrictions on the amount of historical news data available via the Eikon Data API and the EDP API, even with an academic account? I have seen it…
-
How to retrieve news headlines with NewId or StoryID?
Hello, We have access only to the below URI: /data/news/v1/headlines With this URI, is it possible to retrieve news headlines by providing the NewsId or the storyID as input parameter?