Skip to content
News

List Channel News

Returns paged news content for a channel. The News list under News on the security detail page uses the stock_news channel and sends the current security in counter_ids. IPO News in the IPO center uses the ipo_news channel and sends only limit and the previous page's next_params.

To load the next page, send back next_params from the previous response unchanged. When articles is empty, there is no more content.

POSThttps://api.lbkrs.com/content/{slug}/posts

Parameters

slugstringpathRequired

Channel ID:

  • stock_news - Security news
  • ipo_news - IPO news

stock_newsipo_news

Request body application/json

limitintegerrequired

Items per page. The Broker App sends 20

counter_idsarray<string>

Filter by security, such as ST/HK/700. Required for the stock_news channel

next_paramsobject

Pagination parameters. Send an empty object for the first page, then the previous response's next_params unchanged

has_derivativesboolean

Whether to return related securities and their quotes

important_onlyboolean

Whether to return only important news

marketstring

Filter by market. Send an empty string for security news

Responses

HTTP 200The request succeeded. The response body contains the result of the “List Channel News” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
articlesarray<object>

News items

Child attributes
idstring

Content ID

typeinteger

Content type:

  • 1 - News
  • 2 - Discussion
  • 3 - Event
kindinteger

Content subtype. For news, 1 is an article and 2 is a flash update

titlestring

Title

description_htmlstring

Summary, as HTML

published_atinteger

Publication time as a Unix timestamp, in seconds

counter_idsarray<string>

IDs of related securities

imagesarray<object>

Images

Child attributes
urlstring

Image URL

comments_countinteger

Number of comments

content_viastring

Name of the content source

source_urlstring

Original article URL

detail_urlstring

Detail page URL

derivativesobject

Related securities and their quotes. Returned when has_derivatives is true in the request

Child attributes
stocksarray<object>

Related stocks

Child attributes
counter_idstring

Security ID

namestring

Security name

changestring

Change, as a decimal

fundsarray<object>

Related funds

Child attributes
counter_idstring

Security ID

namestring

Security name

changestring

Change, as a decimal

next_paramsobject

Pagination parameters for the next page

Whale Docs