Skip to content
Industry Comparison

Get the industry ranking list of one indicator

Return, for one indicator code, the value and ranking of each company in the industry, mark the current underlying, and return the industry summary of the indicator (average, median, interval distribution). Pass counter_id to query by stock, or fcounter_id to query by industry.

Used when switching indicators on the industry ranking detail page, by the industry ranking curve in the stock Overview, and by the Industry data block on the industry sector detail page when switching between market value, total assets, operating revenue, and net profit.

GEThttps://api.lbkrs.com/v1/stock-info/ranking-indicator-details-in-industry

Parameters

counter_idstringquery

Stock counter_id, such as ST/US/AAPL. Pass it to query by stock; use either this or fcounter_id

fcounter_idstringquery

Industry sector counter_id, such as BK/US/IN00276. Pass it to query by industry; use either this or counter_id

currencystringqueryRequired

Currency for amount statistics. The Broker App passes the currency of the market where the underlying is listed, such as USD or HKD

codestringqueryRequired

Indicator code. Known values:

  • market_value - Market value
  • total_assets - Total assets
  • operating_revenue - Operating revenue
  • net_profit - Net profit
industrystringquery

Industry ID; not passed by the Broker App

marketstringquery

Market, such as US; not passed by the Broker App

pagestringquery

Page number

sizestringquery

Page size; the Broker App passes 20

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get the industry ranking list of one indicator” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
totalinteger

Total number of companies in the industry

currencystring

Currency of amount indicators

industryobject

Industry sector

Child attributes
namestring

Name

counter_idstring

counter_id

currentobject

Current underlying

Child attributes
namestring

Name

counter_idstring

counter_id

indicatorobject

Industry summary of the indicator

Child attributes
codestring

Indicator code, such as market_value

namestring

Indicator name

unitstring

Indicator unit

valuestring

Indicator value of the current underlying

rankinginteger

Ranking of the current underlying within the industry, starting from 1

totalstring

Number of companies in the ranking

averagestring

Industry average

medianstring

Industry median

intervalsarray<object>

Interval distribution list

Child attributes
namestring

Interval name

valuestring

Interval value

is_currentboolean

Whether the current underlying falls in this interval

listarray<object>

Company rankings in ascending order

Child attributes
counter_idstring

Company stock counter_id

namestring

Company name

valuestring

Indicator value of the company

rankinginteger

Ranking, starting from 1

is_currentboolean

Whether this is the queried underlying

Whale Docs