Skip to content
Sectors and Concepts

Get Sector Constituents

Pages through the constituent quotes and related news of a sector under a given tab, sortable by change, last price, turnover, capital flow, turnover rate, or market capitalization, for the stock, ETF, and REIT tabs of the sector detail page. It also serves the related securities list on the security detail page. Pass either concept_id or concept_index; take tab_key from addition_tabs[].key of Get Sector Details. When pageable of the current filter tag is true, page with offset and limit and use total_count to tell whether more items remain; when false, all items return at once. Prices are snapshots; subscribe to quotes by counter_id when you need real-time prices.

GEThttps://api.lbkrs.com/v1/market/concept_stocks

Parameters

concept_idstringquery

Sector ID; pass this or concept_index

concept_indexstringquery

Security ID of the sector index; pass this or concept_id

tab_keyintegerqueryRequired

Tab key from addition_tabs[].key of Get Sector Details

filter_tag_keyintegerquery

Filter tag key from filter_tags[].key of a previous response; the default tag applies when omitted

indicatorintegerquery

Sort indicator:

  • 1 - Change
  • 2 - Last price
  • 3 - Turnover
  • 4 - Capital flow
  • 5 - Turnover rate
  • 6 - Market capitalization

123456

orderintegerquery

Sort order:

  • 0 - Descending
  • 1 - Ascending

01

offsetintegerquery

Offset, starting from 0

limitintegerquery

Page size

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get Sector Constituents” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
concept_idstring

Sector ID

total_countinteger

Total constituents under the current tab and filter tag

itemsarray<object>

Constituents

Child attributes
stockobject

Quote of a sector constituent

Child attributes
counter_idstring

Security ID (counter_id), for example ST/US/AAPL or ST/HK/700

namestring

Name

marketstring

Market code, for example US or HK

introstring

Introduction of the security within the sector

tagsarray<string>

Labels

trade_statusstring

Trading status

last_donestring

Last price

prev_closestring

Previous close

chgstring

Price change ratio as a decimal; 0.0123 means 1.23%

inflowstring

Net capital inflow

balancestring

Turnover

amountstring

Volume

turnover_ratestring

Turnover rate, as a decimal

market_capstring

Market capitalization

total_sharesstring

Total shares

circulating_sharesstring

Shares in free float

extend_stateinteger

Extended-hours state:

  • 0 - Regular session
  • 1 - Pre-market
  • 2 - After-hours
  • 3 - Overnight
Values
0
1
2
3
extend_pricestring

Last price in pre-market, after-hours, or overnight trading

extend_chgstring

Change in pre-market, after-hours, or overnight trading, as a decimal

articleobject

Related article

Child attributes
idstring

Article ID

titlestring

Title

descriptionstring

Summary

published_atstring

Publish time

newsobject

News related to a constituent

Child attributes
idstring

News ID

titlestring

Title

kindstring

News type

descriptionstring

Summary

imagestring

Image URL

publish_atstring

Publish time

importantboolean

Whether the news is marked important

urlstring

Detail URL

source_urlstring

Original article URL

marketsarray<string>

Related markets

counter_idsarray<string>

Related security IDs

filter_tagsarray<object>

Available filter tags

Child attributes
keyinteger

Tag key; pass it as a filter or tab parameter

textstring

Display text

activatedboolean

Whether the tag is currently selected

fixed_sizeinteger

Fixed item count; greater than 0 means no paging, 0 means cursor paging

pageableboolean

Whether the constituent list is paged under this tag

Whale Docs