Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 1

How to retrieve historical news data from Refinitiv over a long time (for example 10 years) via API in Python?

How to retrieve historical news data from SMI over a long time (for example 10 years) via API in Python? If I use the proposed Python Code: NEWS = ek.get_news_headlines('R:.SSMI AND Language:LEN', date_to = "2012-12-31", count=100) NEWS.head(100) I can not get news data from 2012 for example. Is there an index error or how can we get this data?

#product#contentpython api
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
Upvote
Accepted
17.7k 82 39 63

Hi @fauscsim

The News service through the API provides news for the last 15 months. Please see this post: Pulling News Headlines Older than 15 Months - Forum | Refinitiv Developer Community

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.

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.