# Industry Peer Hierarchy

`GET` `/v1/quote/industries/peers`

Get the hierarchical sub-sector tree for an industry group, including stock count, daily change, and YTD change at each node. Counter IDs come from `industry_rank`.

## Parameters

### Query Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `symbol` | string | Yes | Industry symbol, e.g. `IN20245.HK`. |
| `market` | string | Yes | Market code: `US` / `HK` / `CN` / `SG` |

## Request Example

```bash
curl --request GET \
  --url 'https://openapi.longbridge.com/v1/quote/industries/peers?symbol=<symbol>&market=<market>' \
  --header 'Authorization: Bearer <access_token>'
```

## Response

### Response Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `top` | object | No | Top-level industry info |
| `chain` | object | No | Industry hierarchy root node |
| `market` | string | No | Market code |
| `symbol` | string | No | Sector symbol (present on the root node; empty string on child nodes). |
| `stock_num` | integer | No | Number of stocks in this sector |
| `chg` | string | No | Daily change (decimal; may be empty string) |
| `ytd_chg` | string | No | Year-to-date change (decimal; may be empty string) |
| `next` | object[] | No | Child sector list with the same structure (recursive) |

### Response JSON Example

```json
{
  "code": 0,
  "message": "success",
  "data": {
    "top": {
      "name": "All Industries",
      "market": "US"
    },
    "chain": {
      "name": "Technology",
      "symbol": "IN00258.US",
      "stock_num": 542,
      "chg": "0.0231",
      "ytd_chg": "0.0875",
      "next": [
        {
          "name": "Online Consumer Electronics Retail",
          "symbol": "",
          "stock_num": 4,
          "chg": "0.0268",
          "ytd_chg": "-0.1869",
          "next": []
        }
      ]
    }
  }
}
```
