Skip to content
Search

Search All Content

Returns several groups of combined search results for a keyword in one call. Use it for the All tab on the search results page: security candidates (product_list), recommended search terms (recommend_list), and related news (news_list). Security results use the same fields as Search securities. Do not call it with an empty keyword. When the input changes, use the response for the latest keyword and discard stale responses.

The response can also contain groups such as community and help center results. These groups are platform-owned content, are not documented here, and Brokers should ignore them.

GEThttps://api.lbkrs.com/v1/search/container/main

Parameters

kstringqueryRequired

Search keyword. Enter a security code, name, or news keyword

search_srcstringqueryRequired

Source scenario of the search. Pass main_search for combined search

account_channelstringqueryRequired

Broker channel of the current account. Pass an empty string when the user has no account

Responses

HTTP 200The request succeeded. The response body contains the result of the “Search All Content” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
product_listarray<object>

Matching security candidates. It is an empty array when nothing matches

Child attributes
counter_idstring

Security ID in the format <product>/<market>/<code>, such as ST/US/AAPL. Use it to identify the security in follow-up actions such as opening the security detail page or adding it to a watchlist

codestring

Security code, such as AAPL or 700. Pass it as the code parameter when you load the next page

namestring

Security name in the request language

marketstring

Market of the security, such as HK or US. Broker App uses it to display the market badge

currencystring

Trading currency, such as USD or HKD. For fund results, Broker App displays the currency instead of the market badge

productstring

Security product code, such as ST, ETF, or UT

scorenumber

Ranking score of the result. To load the next page, pass the value from the last result of the previous page as the score parameter

isinstring

International Securities Identification Number (ISIN). Fund results often show it instead of the code. It can be empty for other products

recommend_listarray<string>

Recommended search terms

news_listarray<object>

News related to the keyword

Child attributes
idstring

News ID. Use it to open the news detail

titlestring

News title in the request language

title_enstring

English news title

descriptionstring

News summary

description_enstring

English news summary

source_namestring

News source name

source_urlstring

URL of the original article

publish_atstring

Publish time

publish_at_timestampstring

Publish time as a Unix timestamp in seconds

Whale Docs