# Industry Ranking

`GET` `/v1/quote/industry/rank`

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.

## Parameters

### Query Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `market` | string | Yes | Market code: `US` / `HK` / `CN` / `SG` |
| `indicator` | string | Yes | Ranking indicator: `leading-gainer` / `today-trend` / `popularity` / `market-cap` / `revenue` / `revenue-growth` / `net-profit` / `net-profit-growth` |
| `sort_type` | string | Yes | Sort mode: `single` / `multi` |
| `limit` | integer | Yes | Number of results to return, default 20 |

## Request Example

```bash
curl --request GET \
  --url 'https://openapi.longbridge.com/v1/quote/industry/rank?market=<market>&indicator=<indicator>&sort_type=<sort_type>&limit=<limit>' \
  --header 'Authorization: Bearer <access_token>'
```

## Response

### Response Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | object[] | No | Ranked group list |
| `└ lists` | object[] | No | Industry item list |
| `└ ∟ name` | string | No | Industry name |
| `└ ∟ symbol` | string | No | Industry symbol, usable as `symbol` in `industry_peers` (e.g. `IN20245.HK`). |
| `└ ∟ chg` | string | No | Daily change (decimal) |
| `└ ∟ leading_name` | string | No | Leading stock name |
| `└ ∟ leading_ticker` | string | No | Leading stock ticker |
| `└ ∟ leading_chg` | string | No | Leading stock daily change (decimal) |
| `└ ∟ value_name` | string | No | Indicator label (may be empty depending on indicator type) |
| `└ ∟ value_data` | string | No | Indicator value (may be empty) |

### Response JSON Example

```json
{
  "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": ""
          }
        ]
      }
    ]
  }
}
```
