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 0 2

I would like to know the type of APi in Eikon

I am currently working on an application that uses chatGPT and Eikon's API to retrieve and summarize news.

However, when I try to retrieve news from Eikon, I get an error and cannot retrieve the news.

I have also heard that an API to retrieve news could solve the problem, as there are limitations to retrieving news, forcing me to use Python to retrieve the news.

(DeskTop's API has a limit of 100 items per call, so it was originally designed to retrieve news by dividing the time in some way, rather than retrieving a large amount of news.

Is there an API for retrieving news?

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonapi
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.

Hello @sizuka.okimura

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so, can you please click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks, AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
AHS

Upvotes
Accepted
17.4k 82 39 63

Hi @sizuka.okimura

When using native News endpoint to retrieve news headlines, the maximum the service can retrieve in a single call is 100, however, the service is cursor-based meaning you can use the cursor to retrieve additional news elements when there are more available. Alternatively, you can use the Data Library for Python, as it will automatically utilize the cursor capability and perform this action on behalf of the user. For example:
1710687402875.png


1710687402875.png (76.3 KiB)
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.

ありがとうございます。

一度に100個のニュース項目しか取得できないことを知ってとてもうれしいです。

参考のために保管しておきます。ありがとうございました。

Upvotes
5.8k 21 2 6

Hi @sizuka.okimura, The Python API might work well in your use case; you can find details about it here. If you would like news data going back further than 3 months, you might be interested in this article. Please note that you will need LSEG Workspace licenses allowing for access for this data; for more information on this, please reach out to my.refinitiv.com.

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.