Index Component Valuation
GET/api/v1.0/quote/valuation/index-stocksGet valuation list of index constituents, with pagination, sorting and optional plate filter.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
symbol | string | query | yes | Index symbol (query parameter), e.g. HK.800000 (Hang Seng Index) Max length 32; Pattern ^[A-Z0-9_]+\.[A-Za-z0-9_.\-]+$ |
valuation_type | int | query | no | Valuation type, default 1. 1=PE / 2=PB / 3=PS / 4=ROE / 5=PEG (aligned with ValuationType) Default 1; Values 1, 2, 3, 4, 5 |
next_key | string | query | no | Pagination cursor; leave empty for the first page, then use pagination.next_key returned previously. Stop when pagination.has_more=false Max length 1000; Pattern ^$|^(-?[0-9]+)?$ |
limit | int | query | no | Number of records for this request, default 10, max 50 ≤ 50; Default 10 |
sort_type | int | query | no | Sort direction, default 2. 1=Desc / 2=Asc Default 2; Values 1, 2 |
sort_id | int | query | no | Sort field, default 51. 51=MarketCap / 52=Valuation / 53=ForwardValuation / 54=HistoricalPercentile Default 51; Values 51, 52, 53, 54 |
filter_security | string | query | no | Filter index constituents by plate; pass the plate symbol (candidates can be obtained from quote.valuation_index_stock_plate_list); leave empty when not filtering. e.g. HK.LIST1001 Max length 32; Pattern ^$|^[A-Z0-9_]+\.[A-Za-z0-9_.\-]+$ |
Request Example
bash
curl "https://webapi.moomoo.com/api/v1.0/quote/valuation/index-stocks?symbol=HK.800000&limit=2&valuation_type=1" | jqResponse Fields
| Name | Type | Description |
|---|---|---|
data | object | |
data.stock_list | object[] | |
data.stock_list[].symbol | string | Stock symbol (with market prefix), e.g. HK.00881 / HK.00968 |
data.stock_list[].name | string | English name |
data.stock_list[].sc_name | string | Simplified Chinese name |
data.stock_list[].tc_name | string | Traditional Chinese name |
data.stock_list[].valuation_val | number | Valuation value, e.g. -10.376 / 29.509 |
data.stock_list[].forward_value | number | Forward valuation, e.g. 8.767 / 12.876 |
data.stock_list[].valuation_percentile | number | Historical valuation percentile (0-100), e.g. 0.8045052 / 94.4622792 |
data.stock_list[].market_cap | number | Total market cap, e.g. 19231825136.875 / 27532601281.15 |
pagination | object | |
pagination.total | int | |
pagination.has_more | bool | |
pagination.next_key | string |
Limits
- Instrument: index only.
- Page size: max 50 per request; use next_key for more.
Error Codes
| ret_code | error.code | When | Action |
|---|---|---|---|
| 0 | — | Success | — |
| -3 | invalid_parameter | Invalid params | Fix per ret_msg |
| -7 | invalid_symbol | Index not found | Check symbol |
| -10 | no_data | No valuation data | Confirm index symbol |
Response Example
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"stock_list": [
{
"forward_value": 8.767,
"market_cap": 19231825136.875,
"name": "Zhongsheng Group",
"sc_name": "中升控股",
"tc_name": "中升控股",
"symbol": "HK.00881",
"valuation_percentile": 0.8045052,
"valuation_val": -10.376
}
]
},
"pagination": {
"has_more": true,
"next_key": "2",
"total": 87
}
}