question

Upvotes
Accepted
27 1 1 0

How to retrieve all the headlines in past 3 days with RDP news API

Hi Team

I see there is a limit of 100 to retrieve headlines with https://api.refinitiv.com/data/news/v1/headlines. What is the suggested way to get all the headlines in past 3 days ? Thanks

rdp-apirefinitiv-data-platform
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.

Upvotes
Accepted
9.7k 49 38 60

HI @gang.chen1,

The RDP News headline supports the ability to retrieve all headlines in the last 3 days. Using the "cursor-based pagination", you can request subsequent pages. Refer to the Playground Reference documentation for more details.


ahs.png (103.4 KiB)
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.

Upvotes
11.5k 16 7 10

Hello @gang.chen1

I have checked the News Headline service on the API Doc page, /data/news/v1/headlines endpoint supports "dateFrom" and "dateTo" query parameters.

Additionally, the service also supports "last" news query string.

Hope these help.


date.png (58.2 KiB)
news-2.png (83.7 KiB)
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.

Hi Wasin,

Thanks but the result can't exceed 100 with both of the solutions you mentioned. You could try it.

Upvotes
11.5k 16 7 10

Hi @gang.chen1

It is the current limitation of the RDP news service.

The other REST (and also XML SOAP) API that can provide more numbers of news headlines is Refinitiv Knowledge Direct API (RKD API) (official website here). The number of headlines returned by a response is limited to 1000 in Refinitiv Knowledge Direct API. Headlines and corresponding stories can only be retrieved for the last 90 days.

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.

Click below to post an Idea Post Idea