I want to get the Refinitiv News through an API into my models

AbdulSamad
AbdulSamad LSEG
edited July 21 in Refinitiv Data Platform

Case -15019929

Query -I want to connect to the API, NEWS SERVICE REFINITIV DATA PLATFORM But I need API Key and Secret,

I want to get the Refinitiv News through an API into my models, what's the best way of doing that ? using Eikon API or one of the Refinitiv data Libraries? Can you also send me instructions on how to, depending on the API, to generate the keys/secrets etc and everything needed to authenticate successfully to the API ?

Tagged:

Answers

  • LD Library can provide news from the data platform. You can see the News example in the provided samples. The Quickstart and tutorial for the library is available on the dev portal.

    To signup for RDP news, please reach out to an LSEG account manager.

  • Please let me add that the library recommended to be used is the LSEG Data Library, which is the latest version of the Data Library. More info can be found in article Essential Guide to the Data Libraries - Generations of Python library (EDAPI, RDP, RD, LD) | Devportal

  • I’m currently retrieving news content data with the following call:

    news.story.Definition('urn:newsml:reuters.com:20250721:nPGEfwCwXa:1').get_data()

     

    However, the response only seems to include a summary, such as:

    "On Friday, the European carbon market showed limited movement throughout the day. Prices rose early but started dipping further on. A slight premium in the German auction helped support the rebound. With the holiday season in full swing, the market lacked strong momentum and continued to hover around key technical support levels. The EU Council extended emergency gas storage rules by two years, introducing more flexible interim targets that could ease short-term demand and potentially lower both gas and carbon prices. Geopolitical uncertainty continues to cloud market sentiment, with potential outcomes that could drive prices in either direction. Our forecast for today is sideways to bearish."

     

    The full article is much longer than what’s returned by the API. Is there a way to retrieve the complete article text through the API? If so, could you please point me to the relevant documentation or provide an example?

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @AbdulSamad

    It is a full story.

    story = ld.news.get_story("urn:newsml:reuters.com:20250721:nPGEfwCwXa:1", format=ld.news.Format.HTML)
    HTML(story)
    
    image.png

    You can compare it to the story from the News Monitor App.

    image.png