https://api.lbkrs.com/v1/stock-info/industry-mapParameters
typestringqueryRequiredQuery type:
0- Industry map1- Peer comparison of a stock
01
marketstringqueryMarket code from markets[].code of Get Industry Map Filters; used when type is 0
industry_idstringqueryIndustry ID from industries[].id; used when type is 0
counter_idstringquerySecurity ID of the stock; used when type is 1
Responses
HTTP 200The request succeeded. The response body contains the result of the “Get Industry Map Tree” operation.codemessagedatadataobjectdata structureNode of the industry hierarchy
Child attributes
Industry ID
Name
Industry classification code
Parent industry classification code
Node level
Security ID of the node: the industry index for an industry node, a stock for a leaf node
Market code, for example US or HK
Number of stocks under the node
Price change ratio as a decimal; 0.0123 means 1.23%
Year-to-date change, as a decimal
ID of the linked stock list
Child nodes with the same structure
Industry of the stock; returned only when type is 1
Child attributes
Industry ID
Industry name
Market code, for example US or HK