Fundamental

Industry Ranking

GEThttps://openapi.longbridge.com/v1/quote/industry/rank

Authorization

Signed mode: every request is signed with your App Key/Secret. Header set:

NameTypeRequiredDescription
Authorizationstring · headerRequiredThe account Access Token from the OpenAPI dashboard — passed as the raw token (no Bearer prefix) and included in the signature calculation.
X-Api-Keystring · headerRequiredYour App Key.
X-Timestampstring · headerRequiredRequest timestamp in seconds (Unix epoch).
X-Api-Signaturestring · headerRequiredHMAC-SHA256 signature. Format: HMAC-SHA256 SignedHeaders=authorization;x-api-key;x-timestamp, Signature=.

Get the industry ranking list by market and indicator. The returned Counter ID can be passed directly to industry_peers to explore the sub-sector hierarchy.

>_ CLI
longbridge industry-rank --market US
longbridge industry-rank --market HK --indicator market-cap

Request

Query parameters

NameTypeRequiredDescription
marketstringRequiredMarket code: `US` / `HK` / `CN` / `SG`
indicatorstringRequiredRanking indicator: `leading-gainer` / `today-trend` / `popularity` / `market-cap` / `revenue` / `revenue-growth` / `net-profit` / `net-profit-growth`
sort_typestringRequiredSort mode: `single` / `multi`
limitintegerRequiredNumber of results to return, default 20

Response

Response properties

NameTypeRequiredDescription
itemsobject[]OptionalRanked group list
└ listsobject[]OptionalIndustry item list
└ ∟ namestringOptionalIndustry name
└ ∟ symbolstringOptionalIndustry symbol, usable as `symbol` in `industry_peers` (e.g. `IN20245.HK`).
└ ∟ chgstringOptionalDaily change (decimal)
└ ∟ leading_namestringOptionalLeading stock name
└ ∟ leading_tickerstringOptionalLeading stock ticker
└ ∟ leading_chgstringOptionalLeading stock daily change (decimal)
└ ∟ value_namestringOptionalIndicator label (may be empty depending on indicator type)
└ ∟ value_datastringOptionalIndicator value (may be empty)

Response JSON example

{
  "code": 0,
  "message": "success",
  "data": {
    "items": [
      {
        "lists": [
          {
            "name": "Technology",
            "symbol": "IN00258.US",
            "chg": "0.0231",
            "leading_name": "NVIDIA",
            "leading_ticker": "NVDA.US",
            "leading_chg": "0.0512",
            "value_name": "",
            "value_data": ""
          }
        ]
      }
    ]
  }
}

Error code

See the Error Codes page for the full list of error codes.