For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvote
Accepted

How can I filter News using story text in EIKON API?

Hi

I am working on a project that requires me to filter out news story using story text. For example, I want the same results as the query R:8031.T NOT "mitsui" NOT "company limited" AND Language:LEN returns on EIKON new Monitor. How can i reproduce it in EIKON API for Python? Also, note that i am using "filter by headline and story text" in the EIKON app. Is there a way to do the same in API?

Regards

Kairav

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonnewsnews-filter
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
39.2k 75 11 27

Filter by story text is not currently available through Eikon Data APIs. To apply a filter with the keywords to headlines only use double backslash to escape the quotes character.

ek.get_news_headlines('R:8031.T NOT \\"mitsui\\" NOT \\"company limited\\" AND Language:LEN')
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

This is unfortunate and inconvenient. Are there plans to change this in a future release? Thanks.

Click below to post an Idea Post Idea