Skip to content
Industry Comparison

Get industry indicator ranking details

Return the ranking details of each indicator within the industry (value and ranking of the current underlying, industry average, median, and interval distribution), with the same structure as "Get a stock's indicator rankings within its industry". Pass counter_id to query by stock and get its ranking within its industry; pass fcounter_id to query by industry on the industry sector detail page.

Used by the industry ranking comparison on the stock Financials page and by the industry ranking detail page.

GEThttps://api.lbkrs.com/v1/stock-info/ranking-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

industrystringquery

Industry ID; not passed by the Broker App

marketstringquery

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

Responses

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

Indicator rankings within the industry

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

indicatorsarray<object>

Industry ranking of each 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

Whale Docs