question

Upvotes
Accepted
66 2 6 11

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 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
17k 80 39 63

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 512.0 KiB each and 1.0 MiB total.

Upvotes
24.4k 53 17 14

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 512.0 KiB each and 1.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
24.4k 53 17 14

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 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.