https://api.lbkrs.com/quote/market/rank/widgetParameters
marketstringqueryRequiredMarket code:
US- US stocksHK- Hong Kong stocksCN- China A-sharesSG- Singapore stocks
USHKCNSG
keystringqueryRequiredRanking type:
widget-top_gainers- Top gainerswidget-top_losers- Top loserswidget-ib_trade_heat- Popular tradeswidget-ib_hot_all- Trending now
widget-top_gainerswidget-top_loserswidget-ib_trade_heatwidget-ib_hot_all
offsetintegerqueryRequiredOffset; the widget shows only the top entries, so pass 0
limitintegerqueryRequiredNumber of items to return
Responses
HTTP 200The request succeeded. The response body contains the result of the “Get Ranking Widget Securities” operation.codemessagedatadataobjectdata structureRanked securities in ranking order; show an empty state when empty
Child attributes
Security ID
Security name
Ticker symbol, for example AAPL
Last price; for US stocks in the pre-market, post-market, or overnight session, the price in that session
Price change rate as a decimal, for example 0.0523 for +5.23%
Trading session of the price; show a session label only for US stocks:
0- Regular session1- Pre-market2- Post-market3- Overnight
0123