API reference
The RDPLINE News API provides news data from various outlets within your contract scope, ordered by publication datetime. Integrate article bodies and source URLs, inserted, updated, and deleted statuses, 142 detailed categories, and image and video metadata into your service.
Use the same endpoint and change only paginationMethod to query data in the way you need.
Query news articles within your contract scope by publication datetime. Results are sorted by publishedAt in ascending order, then by articleId in ascending order when publication datetimes match.
POST https://api.rdpline.com/newsEvery request passes your issued API key in the X-API-KEY header.
Set paginationMethod to PAGE to query by page number. Best for UI pagination and reports that require total record and page counts.
A successful page query returns a response object containing meta and items.
Set paginationMethod to CURSOR to continue sequential queries with nextCursor. Omit cursor on the initial request, then pass the previous response's meta.nextCursor until meta.isEnd becomes true.
A successful cursor query returns a response object containing meta and items.
Article object included in the items array.