New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

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-apipythonworkspacerefinitiv-dataplatform-eikonworkspace-data-apinewsnews-filter
icon clock
10 |1500

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

1 Answer

· Write an Answer
Upvotes
Accepted
39.4k 78 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 512.0 KiB each and 1.0 MiB total.

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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