https://api.lbkrs.com/v1/newmarket/revision/rank/listParameters
marketstringqueryRequiredMarket code:
US- US stocksHK- Hong Kong stocksCN- China A-sharesSG- Singapore stocks
USHKCNSG
first_categorystringqueryRequiredFirst-level category key, from first_categories[].key in Get Ranking Configuration
sec_categorystringqueryRequiredSecond-level ranking key, from sec_categories[].key
indicatorstringqueryRequiredSort indicator key; use master_indicator of the second-level ranking by default
orderstringqueryRequiredSort direction:
desc- Descendingasc- Ascending
descasc
offsetintegerqueryRequiredPage offset starting at 0; when loading more, pass the number of items already loaded
limitintegerqueryRequiredNumber of items per page
filter_penny_stockbooleanqueryRequiredWhether to filter out penny stocks; takes effect only when filter_penny_stock of the second-level ranking is true
scenestringqueryRequiredUsage scene, matching scene in Get Ranking Configuration:
index- Ranking module on the market home pageextra- Ranking detail page
indexextra
Responses
HTTP 200The request succeeded. The response body contains the result of the “Get Ranking Securities” operation.codemessagedatadataobjectdata structureTotal number of securities in the ranking
Market code
Whether the quotes are delayed; when true, tell the user that prices are delayed
Ranked securities, ordered by the sort indicator
Child attributes
Security ID
Security name
Ticker symbol, for example AAPL
Market, for example US
Values of the indicator columns, in the same order as indicators in the ranking configuration; format each value by the format of its indicator
Last price
Previous close, used as the baseline of the mini intraday chart
Price change rate as a decimal, for example 0.0523 for +5.23%
Current trading session, used to show a session label during US pre-market, post-market, and overnight sessions:
0- Regular session1- Pre-market2- Post-market3- Overnight
0123
Last price in the pre-market, post-market, or overnight session; ignore it when extend_state is 0
Price change rate in the pre-market, post-market, or overnight session, as a decimal
Mini intraday chart points in ascending time order
Child attributes
Price at this point
Unix timestamp of this point
Total number of points in a full trading day, used to size the x-axis of the mini chart; when 0, derive it from the market's trading hours